# Examining information by dynamic analysis on macOS-based personal computers Andrey Shavlovsky · Forensic Expert Centre of the Investigative Committee of Russia, SEC SK Slides · https://2025.moscow-forensics-day.workers.dev/en/slides/08-shavlovskii-analiz-macos An English version of the Russian deck shown in the recording: the text set by the authors is translated and redrawn in place, everything captured from a screen is left as it was. --- ## Page 1 — 03:31:27 MOSCOW FORENSICS DAY '25 IM! ANDREY SHAVLOVSKY “EXAMINING INFORMATION BY DYNAMIC ANALYSIS ON MACOS-BASED PERSONAL COMPUTERS” MFD MED ## Page 2 — 03:31:58 THE INVESTIGATIVE COMMITTEE OF THE RUSSIAN FEDERATION Examining information by dynamic analysis on macOS-based personal computers Andrey Shavlovsky Moscow Forensics Day '25 ashavlovsky@mail.ru ## Page 3 — 03:32:36 General approaches in digital forensics Inspection and photographic recording of the object’s appearance Preserving the integrity and immutability of the object’s information content Diagnostics of the object’s condition Creating an exact copy of the object’s information content Data analysis (file system, file structure, OS service files, etc.) Searching for cryptographically protected files, recovering deleted information Establishing details of information objects Data interpretation Saving the results obtained BD ## Page 4 — 03:33:20 Static / dynamic analysis Static Analysis – examination of the information of a “non-running” computer system / electronic storage medium. The properties of the object (a file, code, the whole computer system) are examined without running it. Dynamic Analysis – examination of a running object (a file, code, the whole computer system); its properties are examined while it is being run. ## Page 5 — 03:34:12 Static / dynamic analysis Static analysis Dynamic analysis 1. Data integrity and immutability are preserved 2. Results are reproducible and repeatable 1. Access to data in protected areas of the information content is possible (in some cases) 2. Analysis of running processes and network connections 1. Data from protected areas of the information content may be missed 1. Problem of data integrity and immutability 2. Problem of reproducibility and repeatability 2. No access to processes ## Page 6 — 03:35:01 Data storage organization in macOS 5 macOS uses the APFS (Apple File System) file system to store data, introduced in macOS High Sierra (10.13) and current as of 2025. AES-256 is used to encrypt the content. Keychain – a store of credentials and passwords. Access is only possible after authentication with the account password, Touch ID or Face ID. ## Page 7 — 03:35:43 Data storage organization in macOS /Users// – the user’s “home” directory holding user data. Includes the subdirectories “Documents”, “Downloads”, “Desktop” and others. Created when an account is registered. /Users//Library/ – user data: application history, plist files, SQLite databases. Directory Purpose /System/Library/ /Library/ /Users/ /private/var/ /etc/ /private/etc/ /Volumes/ /Applications/ Operating system files Application settings, keychains User directories Temporary files, logs, cache Configuration files Mounted media (volumes) Installed software ## Page 8 — 03:36:31 About PLIST files Property List (plist) — a data representation format in macOS, iPadOS and iOS. Used to store application settings, system configurations, user accounts, application activity logs and more. Main plist file formats. Plist files support several data representation formats: XML – a text format based on XML. Used for editing and debugging. Binary – a machine-oriented format. Unreadable without conversion. Most system plists (for example, in /Library/Preferences/ or /var/db/dslocal/) are stored exactly this way. ## Page 9 — 03:37:23 About PLIST files 8 <keysgt; full name</keysgt; 60 ISTD TBD4DEME(ANUSESCES! US 8#"+) (10.310:63A>; C?FDCFDC=: 97312-,'! GSESSURDO DOISE 590589858 slt;stringsgt;nikman198903@icloud.comslt;/stringsgt; 61 BELENO <keysgt;name</keysgt; DIEISO slt;stringsgt;com.apple.1dns.appleid.prd.000401~08-611b2d2c-4e38-45c9-a498-ebda7de04e49s1t;/ <keysgt principal<:/key> sit;string>com.apple.1dms.appleid.prd. 000401-08-611b2d2c-4e38-45c9-a498-ebda7de04e49&1t;/ sit;keysgt;subject dnalt;/keysgt; DOIS slt;string>CN=com.apple.idms.appleid.prd.000401-08-611b2d2c-4e38-45c9-a498-ebda7de04c49sJ DEBEB BELACK NUE EE NUNUL NU! NU! NU! NUA NU! NUL NU! NUE NUB ACK NU! NU! EOR NUBNUL NUL NUL NAK DIE FEC sit; keysgt;timestampsIt;/keysgt; slt;datesgt;2021-12-06T06:22:23zslt;/datesgt; NUT NUM NUDO DC2 DC2KI JWWVCAA CAN SYN DC? DIR FE BEL BE NUL NOT BAX NUL NU NUM NUL NUM BS NUT NUA </dict> NUM NUA ENO NU! NÚ! NÚ! NUD NÚT NUI SIX NUA EE <:/arzaysgt; 66 sit;/dict> sIt:/dictsgt; NO NOE sIt;/plistsgt; ВЕЛ ЗВИВИ:" 1.-+655766433100, ++ USUSESESCESNAK DO DODLE 73 74 shadowHashData 75 BS ETX NULBS STX NUL BEL NUL NUL SOUT 0Ss$#-+(0.-643643643c:9;:9<;:<;:== carray> DC3SO TnBsaXNOMDDSAQIDC18QHINSUC1SRkM1MDU0L/TQWOTYtUOhBNTEyLVBCSORG SO MUTADA M18QFENBTFRERC1TSEE1MTItUEJLREYyOwQFBgcICVh2ZXJpZml1c1RzYHx0 BACASORAM SUB DOIDOS USES SUBSESGON 6553' *"3/ . 643; 98=; 9; 9820/ (63 BOSMASD2DID Wm10ZXJhdG1vbnNPEQIAuNCn0qCScFg191kVmeLx0t7/aZKCWs2LQxztDYDE NU NUANU:*$QQQSSS533 G1V8dUOP9LvKqyTg6P+137WnbtCEvq910Fh3RppFw6cEtPYAKK/20xKZ9cHL BS NUI SEX NU! NU! NUI NU! NU! NUI NU! NU! NU NU! NU! NU! NU! NU! STY NU! NU! NU! NU! NU! NU! NU! ERX VN NUM EEN DE LkVy 7RWXa 4WDDR0hk2RXbaukj63gy08u180P1JDXPUNbmPwR3wWV9eUFFJVT LdeI1Cd1OmBTDYsmCQc1G0NJ9Ut1xWhsVaGE1cWGn5UMU+ng1DRA+HRp2xBN NUNETX xRypCzs04g1GS/23Uv40w3k89H0t5Y+c4KAiLip6ku6ShqST+3NM+UJYIjYx ACKBSBSEN NU NU! NU! NUT DOR DO DONACK ENXENO BOX NUM NUT NUT NUM NUM SOB NUM NUT NUM NUM NUMNUM E NUMERA DyCIWFO/aHVV+nBp3hGB5jX+WFE1mPj+gZOMazQKE34x8D7afN6V955e4fc/ 08(/-5319649767674395473420/0+0)+) *" SONUANUANUNUTNU NUASOHNUTSTXDC3 DC2DC RSGSESG! 18uUHEJg08KXxCXHoga38m5C3ks0=3d0EKSCfsF3koy1k5iaojaXnY7ysY1a BORNUA BETOR NUTNUINUANUTURNU NUT NO STXNUINUT VTNUTNUA 0SQ4wnv+LmCJDWF3cyDB/2hPnkP7Eb8nzokQKvtzLBFSo1WOf)GxuS04/NUt NULISOHSIBSEOTDLE ST: VOOZUKCVOXCaSSEOCEEXSaLZACSCUEISIZEWOGSTELSZNAZaYXKSGRN EXuxTHGH4U1Wx 9EuPHS+hyQ4##F1nbV3nxEq1h270/sjGYcCDx3gfBvm1sry dwxNS8c3xmCegNBJGkBDB0vxi5ttEfb3926JLU9:vXpPECDLXZNPkja4JEtO ACK DOL SO EE DCA DO! SE ES BIE DC2 ESE DOL SE NAR SC SE NAR CPW6N9uPdcXQSam7jntPM6PYF1MAyhH0JNMLBQYMDQ5XZW50cm9weU8QgN4N DC-DIE SO DCADLE {3)0ywRDZBzK1v+1WEvwVKdY:00xK/01V53xm2JgySt1T+8+CDQfF0cXq7wg ESESC (S"-**SNMkhi EM NAR DOEUS CAN SYN OUJNVThS196{pxIbUQguQTb1YwnUYP4EDzEYE9x1Phw41uWJ1CpIfm/YM0Cf UDdfyTImFb6eRnGiB0fjVG9QJwn3DoxDe0HNzEWjItSDSM9DTxAgGanSXdN3 NUA NUMACKNUE SAX NU NUNO NUM NOB NUA kxjGCh9+1UiYARFxLPf/Tu1737xhvNLeK1wR8p8ACAANAC4ARQBMAFUAWgB1 EIXENO STXNUENUMNUANUANUA BEABSSOFE Акзакеуспилол@AAAAAAAAAAAAAAAAAAAAAAAAAAAD Rw== EIXENOW ENOACKEE CIMATAS VESESCESC:88544877423**) RSFSCSNARDC4002 Fragment of the contents of a binary-format plist file Fragment of the contents of an xml-format plist file ## Page 10 — 03:38:21 User accounts in macOS 9 Information about registered user accounts (local users) is held in plist files: /var/db/dslocal/nodes/Default/users/.plist. These files contain various details of the account, including a section with “ShadowHashData” data. 60 8S8P8RERRE89888888088828835 DORS BESEEN:" 1.-+655766433100,++ 0303ESESGESNAK DEADOR DIE 09:$#-+ (0.-643643643:9:: 9<;:<;:= HORROR convert 003 3/643; 98=; 9; 9820/ (s8 05030002030830 0/: #5000588533 NONBER BANKON NUT SONSERS BORDER ACRDC SEED DISTESETBDETBDCIST NARISOS?NAR NUTNUEBE RENONUT BRESCR MESSES 544877423x)RSES 002 69 70 71 ShadowHashData 72 LH carray> 73 74 YnBsaXNOMDDSAQIDC18QH1NSUC1SRkM1MDUOLTQwOTYtU0hBNTEyLVBCS0RG 75 M18QFENBTFRERC1TSEE1MTItUEJLREYy0wQFBgcICVh22XJpZm11c1RzYWx0 76 Wm10ZXJhdG1vbnNPEQIAUNCn0@CScFgI91kVmeLr0t7/aZKCWs2LQxztDYDE 77 G1V8dU0P9LvKgyTg6P+137WnbtCEvq910Fh3RppFw6cEtPYAKK/20xKZ9cHL 78 IkVy7RWXa4wDDR0hk2RXbaukj63gy0Buis0PTJDXPUNbmPwR3wWV9eUFFJVT 79 IdeI1CdjOmBTDYsmCQc1G0NJ9Ut1rWhsvaGE1cWGn5UMU+ng1DRA+HRp2rEW 80 iQLQWwpiyy2xzUko7wUEtM2Us0q1mvVm0irSS7KdAMhEvTtThspnIjP04MLH 81 xRypCzs04g1GS/23Uv40w3k89H0t5Y+c4KAiLip6ku6ShqST+3NM+UJYIjYx 82 DyC1WFO/aHVV+nBp3hGB5jY+wFE1mPj+gZ0MazQKE34r8D7afN6V9S5e4fc/ 83 18uUHEJg08KXxCXHoga38m5C3ksOs3d0fKSCfsF3koy1k5iaojaXmY7ysY1a 84 oSQ4wnv+LmCJDWF3cyDB/ZhFnkP7Eb8nzokQKvtzLBFSo1W0fkGxu504/NUf sTQjVgozuKCvQYCds3EQgPPXsaIXacscUE7sYZPw0q731Yis2NhrdyxR4GhN 85 86 EXuxTHGH4U1Wr9EuPHS+hyQ4WWF1nbV3nxEq1h270/sjGYcCDx3gfBvm1sry dwxNS8c3rmCegNBJGkBDB0vx15ttEfb3926JLU9ivXpPECDLXYNPkja4JEtO 88 CpW6N9uPdcXQSamYjntPM6PYFIMAyhH0JNMLBQYMDQ5XZW50cm9weU80gN4N 89 fsj0ywRDZBzKiv+iWEvwVKdYr00xK/O1V53xmZJgySt1T+8+CDQfF0qXq7wg 90 OUJNVThS196fpxIbUQguQTbiYwnUYP4EDzEYE9x1Fhw4iuWjiCpIfm/YMOCf 91 UDdfyTImFb6eRnG1B0fjVG9QJwn3DoxDe0HNzEWjItSDSM9DTxAgGqnSYdN3 92 kxjGCh9+1UiYAREXLPf/Tu1T37xhvNLeK1wR8p8ACAANAC4ARQBMAFUAWgB1 93 AmkCjAKPApYCngMhAOQAAAAAAAACAOAAAAAAAAAPAAAAAAAAAAAAAAAAAAAD 94 Rw== 95 96 ## Page 11 — 03:39:06 Extracting the password hash 10 1. Gaining access to the file: Location: /var/db/dslocal/nodes/Default/users/.plist 2. Decoding its contents from binary into xml format: [bash] > plutil -convert xml1 .plist -o user.xml or the use of specialized software products / scripts 0///200@0+) (10.310:63A>;C82EDCFDC#:97312-, : 63696830980915 70 DEESO 71 shadowHashData DCE SC EE DIE SO EE DC2 DIE S0 ENB ĐC DCB SYN DC& DCY WAN DC3 DC2 EP3 DC DCI SHI BC DEI DEU DEN DEY ERB NAK DEE SU 72 WDC ISO FE (N3 0:2 D EĐC2 DC2 73 DOSTE BA NOSARAAIARARUANARWANNAGRARURONNIUARIUA RETARDAS MRE DASES 74 YnBsaXNOMDDSAQIDC18QH1NSUC1SRkM1MDU0LTQWOTYtUOhBNTEyLVBCSORG 75 M18QFENBTFRERC1TSEE1MTItUEJLREYy0wQFBgCICVh2ZXJpZm11c1RzYWx0 RIDEROANARO DOR DSRKI JWWVCAA GANSYNDSRDIGEBSN BEBNUANURG3 NIUERUAROARORU GSRWACD 76 Wm10ZXJhdG1vbnNPEQIAuNCn0gCScEgI91kVmeLr0t7/aZKCWs2LQrztDYDE 77 G1V8dU0P9LvKgyTg6P+137WnbtCEvq910Fh3RppFw6cEtPYAKK/Z0xKZ9cHL EN SI COUR OR KUANU NORFO NUB NUB NOB KUSS NUS NUS NUT NUM DEX SOH NUT NUE NU NUMNU! 78 LkVy7RWXa4wDDR0hk2RXbaukj63gy0Buis0PTJDXPUNbmPwR3wWV9eUFFJVT APRESRPM:"1.-+655766433100,++ OSUN ESESOS VAR DORADA LdeI1CdjOmBTDYsmCQc1G0NJ9Ut1rWhsvaGE1cWGn5UMU+ng1DRA+HRp2rEW в0 iQLQWwpiyy2xzUko7wUEtM2Us0q1mvVm01rSS7KdAMhFvTtThspnIjPo4MLH BSEXNU BS SIXNU BERNU NU SOWN BEBD93DE9 ESBVON: ESES$ 05:$#-+(0.-643643643<: 9; : 9<; :<; := xRypCzsQ4g1GS/23Uv40w3k89H0t5Y+c4KAilip6ku6ShqST+3NM+UJYIjYx DeISC DyC1wFo/aHVV+nBp3hGB5jY+WEE1mPj+gZOMazQKE34r8D7afN6V9s5e4fc/ SORDINON convert ESAC SO ES SUBD ADOB USOSSUB0S SAGAN + 69S +" 3/ . 643; 98=; 9; 9820/ (&8 83 18uUHEJg08KXxCXHoga38m5C3ksOs3d0fKSCfsF3koy1k5iaojaXmY7ysY1a IS0SSSASV IDISDE 84 oSQ4wnv+LmCJDWF3cyDB/ZhFnkP7Eb8nzokQKvtzLBFSo1W0fkGxu504/NUf NOSNO NUTE-SOCCSSS5331 BSRUASVAREJAREDAREUAREU AREUAREUAREUAREU AREUAREUAREDACEUARUSARSASVARDARSARSARUASAOARABASES STQjVgOZUKCvQYCds3E0gPPXsaIXacscUE7sYZPwoq731Yis2NhrdyxR4GhN 86 EXuxTHGH4U1Wr9EuPHS+hyQ4WWF1nbV3nxEq1h270/sjGYcCDx3gfBvm1sry RUN (S R93BSBSEX NUB NUB SURSU DEY DEH DON AO3 BNO BOR NUB NOR SUT NU NOM SOR SUNNU SUE RUM RUARUME NULETX 87 dwxNS8c3rmCegNBJGkBDB0vx15ttEfb39z6JU9ivXpPECDLXYNPkja4JEto SO T N N S S SO 3(3/.-531964976:7674395473420/0.+0,J+)•$2" cpW6N9uPdcXQSamYjntPM6PYFIMAyhH0JNMLBQYMDQ5XZW50cm9weU8QgN4N BARON RONNIUA fsj0ywRDZBzKiv+iWEvwVKdYx00xK/O1V53xmZJgySt1T+8+CDQfF0qXq7wg NURSCHSIES HONORR 90 OUJNVThS196fpxIbUQguQTbiYwnUYP4EDzEYE9x1Fhw4iuWjiCpIfm/YM0Cf ACKBOISCFE-IBOISRES EDC2ETEDOISINAKSC,SENAR 91 UDdfyTImFb6eRnG1B0fjVG9QJwn3DoxDe0HNzEWjItSDSM9DTxAgGqnSYdN3 DONIESCID kxjGCh9+1U1YARFxLPf/Tu1T37xhvNLeK1wR8p8ACAANAC4ARQBMAFUAWgB1 EM MARDOR US CANSWN GIS (S"_**SNMihi " 93 AmkCjAKPApYCngMhA0QAAAAAAAACAQAAAAAAAAAPAAAAAAAAAAAAAAAAAAAD N NURACH NUSI NM NARANOR NOUA NORMURB MENO NIUA 94 Rwe: BIXENOS XINUENUNUENUINU 95 EWXENGNENGACRIES 96 MES0SGESg::544877423xx)RSE3GSMRD81D02 ## Page 12 — 03:39:38 Extracting the password hash 11 1. Gaining access to the file: Location: /var/db/dslocal/nodes/Default/users/.plist 2. Decoding its contents from binary into xml format: [bash] > plutil -convert xml1 .plist -o user.xml or the use of specialized software products / scripts 3. Decoding (base64) “ShadowHashData” [bash] > echo "ShadowHashData" | base64 --decode ShadowHashData carray> COnAS YNBSaXNOMDDSAQIDC18QH1NSUC1SRkM1MDU0LTgw0TYtU0hBNTEyLVBCS0RG MESODENBTERERCLTS::IMUTCUBUEREYVOWO: Bacrcvn22xupZa CIRZYWX0 Wm102XJhdG1vbnNPEQIAuNCn0qCScFgI91kVmeLr0t7/aZKCHs21OrztDYDE G1V8dU0P9LVKqyTg6P+137WnbtCEvq910Fh3RppFw6cEtPYAKK/20xK29cHL DK VY TRWX&9WDDKUnKZRXDaUX: 030V0BU180F10D&PUNDMEWR3NNVSeUEE0V# LdeI1CdjOmBTDXs=CQc1G0NJ9Ut1xWhavaGE1chGn5UMU+ng1DRA+HRp2xEW 1Q12wwpiyy2xzUko7wUEtM2Us0q1mvVm01xSS7KdAMhFvTtThspnIjPo4MLH xRypCzs04g1GS/23Uv40w3k89H0t5Y+c4kAiLip6ku6ShgST+3NM+UJXIx DyC1wFo/aHVV+nBp3hGB5gY+WFE1mP1+g2OMazQKE34r8D7afN6V9S5e4fc/ 0SQ4wnv+LmCJDWF3cyDB/ZhFnkP7Eb8nzokQKvtzLBFSo1W0fkGxu504/NUf 37Qjvg0zukcvQxcd:3EQgPPXsaIXacscUE73Y2Pw0q73IYis2NhrdyxR4GhN EXUX-RGH ULWI SEUPHS+AVQ4WABLnDVSnXEGLhZ70/51GYCC0x3g_BVMISIY dwxNS8c3xmCegNBJGkBDB0vx15ttEfb3926JLU9jvXpPECDLXYNPkja4JEtO срионуирасхоа і псумортвимнупноом вох osxzwsocmyweuBooNSN 1s50ywRD2BzKjv+iWEvwVKdYx00xK/O1V53xmZJgySt1T+8+CDQfF0cXg7wa /1p/://(zEXE9xlEhw4iuwjicpIfm/YM0Cf VDaTyDIMEbbORnCLBOL1VG9QJWnSDOXDeORNZENLCSDSM9DTXAgGanSYONS kxjGCh9+1U1YARFxLPf/Tu1T37xhvNLeK1wR8p8ACAANAC4AROBMAFUAWgB1 AMkC-AKPADYCNOORAAAAAAACAOAAAAAAAAA PAAAAAAAAAAAAAAAAAAAD RUmn e/data› base64 decode "SALTED-SHA512-PBKDF2" => { "entropy" => "iterations" => 62111 "salt" => <1aa9d261 d3779318 c60a1f7e 95489801 11712cf7 ff4eed53 dfbc61bc d2 de2a5c> ## Page 13 — 03:40:19 Account password hash 12 "SALTED-SHA512-PBKDF2" => { "entropy" => "iterations" => 62111 "salt" => <1aa9d261 d3779318 c6la1f7e 95489801 11712cf7 ff4eed53 dfbc61bc d2 de2a5c> PBKDF2-SHA512 — a cryptographic algorithm for computing hashes from a password value that uses the PBKDF2 function (Password-Based Key Derivation Function 2) combined with the SHA-512 hash function (described in RFC 2898 and updated in RFC 8018). Some of its features: “entropy” – the final result of the hash function. Stored in hexadecimal form. “iterations” – the set number of PBKDF2 iterations (62111 in this case). “salt” – a unique sequence of bytes added to the password before hashing. ## Page 14 — 03:41:43 Microsoft Windows & Apple macOS 13 mac OS NT hash, no salt or iterations PBKDF2-SHA512 hash (salt + iterations) ## Page 15 — 03:42:37 Preparing for the password brute force 14 $ml$$$ 1. $ml – denotes the Mac OS X Lion (10.8) operating system version and above. From this OS version on, passwords are hashed with the PBKDF2-SHA512 algorithm. By this marker hashcat identifies the PBKDF2-SHA512 algorithm in macOS. 2. $ – the number of iterations. 3. $ – the “salt” in hex form. 4. $ – the final hash after computation. $ml$62111$1aa9d261d3779318c60a1f7e9548980111712cf7ff4eed53dfbс61bcd2de2а5c$dе0d7еc8 f4cb0443641cca8affa2584bf054a758af4d2b2bf3a5579df1999260c92b654fef3e08341f174a97abbc2 039424d553852d7de9fa7121b51082e4136e26309d460fe040f311813dc65161c388ae5a3882a487e 6fd833409f50375fc9322615be9e4671a20747e3546f502709f70e8c437b41cdcc45a322d48348cf43 The resulting hash for password guessing ## Page 16 — 03:43:23 Extracting the password hash: scripts 15 \#!/usr/bin/env python3 import plistlib Ja U D WN import io import sys from pathlib import Path extract_shadowhash (plist_path: Path) : def $ml$62111$1aa9d261d3779318c60a1f7e954898011171 with open (plist_path, "rb") as f: plist_data = plistlib.load (f) 2cf7ff4eed53dfbc61bcd2de2a5c$de0d7ec8f4cb0443641c shadow = plist_data.get ("ShadowHashData") if not shadow: 10 ca8affa2584bf054a758af4d2b2bf3a5579df1999260c92b6 raise ValueError ("B файле нет ключа 'ShadowHashData'") 11 blob = shadow[0] 12 54fef3e08341f174a97abbc2039424d553852d7de9fa712 inner = plistlib.load(io.BytesI0(blob)) 1 SN Ln) pbkdf2 = inner.get ("SALTED-SHA512-PBKDF2") 1b51082e4136e26309d460fe040f311813dc65161c388ae 1 if not pbkdf2: 5a3882a487e6fd833409f50375fc9322615be9e4671a207 6 raise ValueError ("Нет секции| 'SALTED-SHA512-PBKDF2'") iterations = pokdf2["iterations"] 47e3546f502709f70e8c437b41cdcc45a322d48348cf43 salt_hex = pbkdf2[ "salt"] . hex () entropy_hex = pbkdf2 ["entropy"] . hex () hashcat_line = f"Şml$ (iterations)$(salt_hex)$(entropy_hex)" Hash for password guessing return hashcat_line 34 22 Edef main (): 23 if len (sys.argv) < 2: print (f"Использование: (sys. argv[0]) user. plist [output.txt]") 24 en e Pach eye rov e» 25 sys.exit (1) 26 plist path = Path (sys.argv[l]) if not plist_path.exists(): print (f"файл не найден: (plist_path) ") 2 sys.exit (1) hash_line = 30 extract_shadowhash (plist_path) 31 Windows PowerShell if len (sys.argv) out path = Path (sys.argv[2]) PS D: \scripts> py . (script.py . \administrator.plist with open (out_path, "w") as f: $m1$62111$1aa9d261d3779318c60a1f7e9548980111712cf7ff4еed53dfbс61bcd2de2a5c$deØd7ec8 f. write (hash line + "\n") f4cb0443641cca8affa2584bf054a758af4d2b2bf3a5579df1999260c92b654fef3e08341f174a97abb print (f" [+] Хэш сохранён в (out_path) ") c2039424d553852d7de9fa7121b51082e4136e26309d460fe040f311813dc65161c388ae5a3882a487e else: 6 fd833409f50375fc9322615be9e4671a20747e3546f502709f70e8c437b41cdcc45a322d48348cf43 print (hash_line) if main name The script’s output main () ## Page 17 — 03:44:21 Extracting the password hash: software 16 ДАННЫЕ АРТЕФАКТА Имя пользователя administrator Пароль или токен $m|$62111 $1aa9d261d3779318c60a1f7e9548980111712cf7ff4eed53dfbc61bcd 2de2a5c $de0d7ec8f4cb0443641cca8affa2584bf054a758af4d2b2bf3a5579df1 999260c92b654fef3e08341f174a97abbc2039424d553852d7de9fa712 1b51082e4136 Тип Я Пароли и токены ИД элемента 2602254 Исходный артефакт User Accounts - macOS $ml$б2111$1aa9d261d3779318c60a1f7е9548980111712cf7ff4еed53dfbc61bcd2dе2a5c$de0d7еc8f 4cb0443641cca8affa2584bf054a758af4d2b2bf3a5579df1999260c92b654fef3e08341f174a97abbc20 39424d553852d7de9fa7121b51082e4136e26309d460fe040f311813dc65161c388ae5a3882a487e6f d833409f50375fc9322615be9e4671a20747e3546f502709f70e8c437b41cdcc45a322d48348cf43 The missing part of the hash ## Page 18 — 03:45:05 Password guessing: hashcat 17 O hashcat -m 7100 -a 0 hash.txt wordlist.txt Windows PowerShell :C: \Portable \Portable • .\hashcat.exe -m 7100 -a 0 . \hashmac.txt •\wordlist.txt hashcat (v7.1.2) starting Running hashcat Sm1$62111$1aa9d261d3779318c60a1f7e9548980111712cf7ff4eed53dfbc61bcd2de2a5c$de0d7ec8f4cb0443641cca8 affa2584bf054a758af4d2b2bf3a5579df1999260c92b654fef3e08341f174a97abbc2039424d553852d7de9fa7121b510 82e4136e26309d460fe040f311813dc65161c388ae5a3882a487e6fd833409f50375fc9322615be9e4671a20747e3546f5 02709f70e8c437b41cdcc45a322d48348cf43: 22012 Session..........: hashcat Cracked Status...........: Hash.Mode........: 7100 (macOS v10.8+ (PBKDF2-SHA512)) Hash. Target......: $m1$62111$1aa9d261d3779318c60a1f7e9548980111712cf7f...48cf43 The result – the password value has been determined ## Page 19 — 03:46:04 Password guessing: gui built on hashcat 18 Ей МК Брутфорс Создание атаки < Назад Q 7100 Те МК Брутфорс Менеджер атак - 1.0.0.183 Менеджер атак Менеджер шаблонов Py * • программе Настройки + Создать новую атаку Bce O В процессе 0 В очереди 0 На паузе 0 ® Имя атаки = Тип объекта = Метод атаки = Создано г Успешно о ETA = Ошибка 0 Прогресс : Не подобран 0 Статус 2 атак, соответствующих выбранному фил Ег МК Брутфорс: Создание атаки < Назад Нет атак, соответствующих выбранному фильтру Q macOS атак, соответствующих выбранному филі ## Page 20 — 03:47:07 Password guessing: gui built on hashcat O Govinterface • Manual - Hash Wordlist Hash-File: :lhashmac.txt Passwords (0) D Status: Devices 7100 (macOS v10.8+ (PBKDF2-SHA512)) [lter Attack running Algorithm: NVIDIA GeForce GTX 1070... None 5,760 KH/s Encoding: Start: End: Duration: Combinator 73 °C Session: 2025-08-25 \#1 GPU 25.08.25 10:48 25.08.25 12:19 1 hour, 30 min. Brain + Client Hybrid Add-Ons • Server enable • Client enable • Crack-Mail • Status-Mail Speed: 5 760 H/s Batchjobs Wordlist Attack File or Folder: O File • Folder Rejected: Automatic 0 / 12.043 264 (0%) Wordlist Path: F:lWordlist. txt Hash-Identifier Recovered: r Optional Path Rule 1: Pro-Version Path Rule 2: Queue: Settings Path Rule 3: Path Rule 4: Brain-RX (in): Brain-TX (out): Attack-Memory: 1308 MB - Control Checked Passwords: 12 043 264 / 31 376 213 (38,4%) Batchjob STOP START 19 00:00:35 Time 11,91 GB RAM 73° Ø Temp. The result – the password value has been determined Status: Cracking successful! Passwords (1) 0 22012 ## Page 21 — 03:48:34 Data analysis and interpretation 20 Virtualization of the object and examination of its exact copy. Examination of the object itself with prior permission to make changes, under Art. 57 pt. 4 cl. 3 of the Russian Code of Criminal Procedure (if this is a forensic examination). Результаты поиска > Зашифрованные данные Ух Сброс фильтров Найти... Тип защиты Статус Тип Путь Google Chrome /mactest.dd/209735680/Macintosh HD/Users/okti/Library/Application Support/Google/Chr... Keychain Нет доступа A fragment of the data interpretation without access to the keychain Лента событий Все данные Формат контейнера ~ Полный путь Тип защиты v Статус расшифровки /Users/okti/Library/Application Support/Google/Chrome/Default Связка ключей Google Chrome Расшифровано A fragment of the data interpretation with access to the keychain ## Page 22 — 03:49:45 estatemy sonic 21 Пароль: •00* CULA ICloud Drive ## Page 23 — 03:50:52 Conclusion 22 Understanding how traces are formed in the digital environment, to make the results obtained verifiable and reliable Static and dynamic analysis methods complement each other in the examination, making it complete and comprehensive ## Page 24 — 03:51:37 THE INVESTIGATIVE COMMITTEE OF THE RUSSIAN FEDERATION Thank you for your attention! Questions? Andrey Shavlovsky Moscow Forensics Day '25 ashavlovsky@mail.ru