ITU X.680 was clearly written by a very large committee: it defines approximately 35 different string types, base 2 and base 10 floating point numbers, an unbounded integer type. But no natural number type 🤷‍♂️

#ASN1 #ITU #X.680

@jpmens

I think the content of the article is true almost verbatim for ASN1.

#asn1 #xml #json

[Перевод] Хороший, Плохой, Расширенный: SS7 атака с использованием расширенных тэгов

Есть два типа операций в SS7, друг мой: безобидные... и те, что держат револьвер... ... Это, конечно, утрирование. Однако, как и герои спагетти-вестернов, операции в SS7 предстают перед нами в полном своем разнообразии и глубине, и иногда их сложно распарсить, а главное - обработать безопасно для абонента. Неверная обработка операций (команд) в SS7 (они же PDUs), несет за собой серьезные риски и потенциально может привести к угрозам уровня уязвимостей нулевого дня, открывая широкий спектр возможных атак.

https://habr.com/ru/articles/982196/

#ss7 #asn1 #сетевые_атаки #tcap #сигнальные_протоколы

Хороший, Плохой, Расширенный: SS7 атака с использованием расширенных тэгов

Есть два типа операций в SS7, друг мой: безобидные... и те, что держат револьвер... ... Это, конечно, утрирование. Однако, как и герои спагетти-вестернов, операции в SS7 предстают перед нами в полном...

Хабр

I have a working prototype of an #ASN1 to #Haskell compiler. It can't do a lot yet; but it does translate enum types.

(Built on top of a lot of great existing work.)

```
ghci> Prelude.putStr =<< Prelude.readFile "./asn1-modules/bar.asn1"
BarFramework { 1 }

DEFINITIONS ::=
BEGIN

Bar ::= ENUMERATED {red, blue, yellow}

END -- BarFramework
ghci> _ = () ; $(spliceFromModuleOrDie "./asn1-modules/bar.asn1")
ghci> :i Bar
type Bar :: *
data Bar = Red | Blue | Yellow
-- Defined at <interactive>:137:11
ghci>
```

La semaine dernière, j'ai eu la chance d'aller à @UYBHYS , où j'ai rencontré quelques fans - et quelques détracteurs qui ne voyaient pas le crocodile en moi, mais une mouette (ils ont trop mangé de palourdes !).
Ca méritait bien un petit dessin avec des tas de clins d'oeil que je vais laisser à chacun le plaisir de découvrir ;)
PS. Rien qu'avec les crêpes du jeudi soir, j'étais déjà content d'être venu à la conférence - et elle n'avait pas encore débuté. C'est dire.

#UYBHYS25 #blagues #conférence #sécurité #rump #ASN1 #latrodectus #frigo #CIRCL #qemu

Woaw! La rump de William Robinet @UYBHYS était top!

Injection de caractères ANSI, notamment dans le common name de certificats pour OpenSSL.
Il paraît que tout est dispo via la conférence @hack_lu :)

Très joli écureuil 🐿️ !

#openssl #asn1

In new #ASN1js version 2.1.0 I changed the logic of the shown #ASN1 field names due to research started with GitHub issue #102:
Previously it would have shown simply as issuer, but fixing another issue I had a (kinda) regression and it shown only the CHOICE identifier (in this case rdnSequence).
In the end, I think that probably the best choice is to show both names, the base one as it usually is more useful to identify the field, but the CHOICE name to know which sub-case this is. This leads to a bit of uninteresting info such as the notBefore utcTime UTCTime, but that's the (small) price to be paid.
This was a delicate change, so first thing I extended the test harness in order to check that a few important examples decode to what is expected.

KEKS кодек и криптографические сообщения

Данная статья напоминает о проблемах X.509 PKI и реализаций ASN.1. Предлагает компактный, быстрый, детерминированный, потоковый и простой формат кодирования данных KEKS, а также криптографические сообщения для подписи и шифрования данных с поддержкой пост-квантовых алгоритмов.

https://habr.com/ru/articles/923810/

#c #go #python #keks #asn1 #x509 #openssl #криптография #pqc #hpke #pgp #cms

KEKS кодек и криптографические сообщения

Данная статья напоминает о проблемах X.509 PKI и реализаций ASN.1. Предлагает компактный, быстрый, детерминированный, потоковый и простой формат кодирования данных KEKS, а также криптографические...

Хабр

@pmevzek I think that ASN.1 JavaScript decoder will be the most helpful as I try to step up to DER from simpler ASN.1.

It definitely makes it more obvious what different things are used for.

#ASN1 #DER

@pmevzek I did poke at asn1parse before going down the manual decode path.

I think that it wasn't showing me what I wanted to know.

I believe that learning how to manually decode ASN.1 was a good exercise for me. It's another tool to put in the toolbelt.

#ASN1