hacktricks
  • 👾Welcome!
    • HackTricks
  • 🤩Generic Methodologies & Resources
    • Pentesting Methodology
    • External Recon Methodology
      • Wide Source Code Search
      • Github Dorks & Leaks
    • Pentesting Network
      • DHCPv6
      • EIGRP Attacks
      • GLBP & HSRP Attacks
      • IDS and IPS Evasion
      • Lateral VLAN Segmentation Bypass
      • Network Protocols Explained (ESP)
      • Nmap Summary (ESP)
      • Pentesting IPv6
      • Spoofing LLMNR, NBT-NS, mDNS/DNS and WPAD and Relay Attacks
      • Spoofing SSDP and UPnP Devices with EvilSSDP
    • Pentesting Wifi
      • Evil Twin EAP-TLS
    • Phishing Methodology
      • Clone a Website
      • Detecting Phishing
      • Phishing Files & Documents
    • Basic Forensic Methodology
      • Baseline Monitoring
      • Anti-Forensic Techniques
      • Docker Forensics
      • Image Acquisition & Mount
      • Linux Forensics
      • Malware Analysis
      • Memory dump analysis
        • Volatility - CheatSheet
      • Partitions/File Systems/Carving
        • File/Data Carving & Recovery Tools
      • Pcap Inspection
        • DNSCat pcap analysis
        • Suricata & Iptables cheatsheet
        • USB Keystrokes
        • Wifi Pcap Analysis
        • Wireshark tricks
      • Specific Software/File-Type Tricks
        • Decompile compiled python binaries (exe, elf) - Retreive from .pyc
        • Browser Artifacts
        • Deofuscation vbs (cscript.exe)
        • Local Cloud Storage
        • Office file analysis
        • PDF File analysis
        • PNG tricks
        • Video and Audio file analysis
        • ZIPs tricks
      • Windows Artifacts
        • Interesting Windows Registry Keys
    • Brute Force - CheatSheet
    • Python Sandbox Escape & Pyscript
      • Bypass Python sandboxes
        • LOAD_NAME / LOAD_CONST opcode OOB Read
      • Class Pollution (Python's Prototype Pollution)
      • Python Internal Read Gadgets
      • Pyscript
      • venv
      • Web Requests
      • Bruteforce hash (few chars)
      • Basic Python
    • Exfiltration
    • Tunneling and Port Forwarding
    • Threat Modeling
    • Search Exploits
    • Shells (Linux, Windows, MSFVenom)
      • MSFVenom - CheatSheet
      • Shells - Windows
      • Shells - Linux
      • Full TTYs
  • 🐧Linux Hardening
    • Checklist - Linux Privilege Escalation
    • Linux Privilege Escalation
      • Arbitrary File Write to Root
      • Cisco - vmanage
      • Containerd (ctr) Privilege Escalation
      • D-Bus Enumeration & Command Injection Privilege Escalation
      • Docker Security
        • Abusing Docker Socket for Privilege Escalation
        • AppArmor
        • AuthZ& AuthN - Docker Access Authorization Plugin
        • CGroups
        • Docker --privileged
        • Docker Breakout / Privilege Escalation
          • release_agent exploit - Relative Paths to PIDs
          • Docker release_agent cgroups escape
          • Sensitive Mounts
        • Namespaces
          • CGroup Namespace
          • IPC Namespace
          • PID Namespace
          • Mount Namespace
          • Network Namespace
          • Time Namespace
          • User Namespace
          • UTS Namespace
        • Seccomp
        • Weaponizing Distroless
      • Escaping from Jails
      • euid, ruid, suid
      • Interesting Groups - Linux Privesc
        • lxd/lxc Group - Privilege escalation
      • Logstash
      • ld.so privesc exploit example
      • Linux Active Directory
      • Linux Capabilities
      • NFS no_root_squash/no_all_squash misconfiguration PE
      • Node inspector/CEF debug abuse
      • Payloads to execute
      • RunC Privilege Escalation
      • SELinux
      • Socket Command Injection
      • Splunk LPE and Persistence
      • SSH Forward Agent exploitation
      • Wildcards Spare tricks
    • Useful Linux Commands
    • Bypass Linux Restrictions
      • Bypass FS protections: read-only / no-exec / Distroless
        • DDexec / EverythingExec
    • Linux Environment Variables
    • Linux Post-Exploitation
      • PAM - Pluggable Authentication Modules
    • FreeIPA Pentesting
  • 🍏MacOS Hardening
    • macOS Security & Privilege Escalation
      • macOS Apps - Inspecting, debugging and Fuzzing
        • Introduction to x64
        • Introduction to ARM64v8
      • macOS AppleFS
      • macOS Bypassing Firewalls
      • macOS Defensive Apps
      • macOS GCD - Grand Central Dispatch
      • macOS Kernel & System Extensions
        • macOS IOKit
        • macOS Kernel Extensions
        • macOS Kernel Vulnerabilities
        • macOS System Extensions
      • macOS Network Services & Protocols
      • macOS File Extension & URL scheme app handlers
      • macOS Files, Folders, Binaries & Memory
        • macOS Bundles
        • macOS Installers Abuse
        • macOS Memory Dumping
        • macOS Sensitive Locations & Interesting Daemons
        • macOS Universal binaries & Mach-O Format
      • macOS Objective-C
      • macOS Privilege Escalation
      • macOS Process Abuse
        • macOS Dirty NIB
        • macOS Chromium Injection
        • macOS Electron Applications Injection
        • macOS Function Hooking
        • macOS IPC - Inter Process Communication
          • macOS MIG - Mach Interface Generator
          • macOS XPC
            • macOS XPC Authorization
            • macOS XPC Connecting Process Check
              • macOS PID Reuse
              • macOS xpc_connection_get_audit_token Attack
          • macOS Thread Injection via Task port
        • macOS Java Applications Injection
        • macOS Library Injection
          • macOS Dyld Hijacking & DYLD_INSERT_LIBRARIES
          • macOS Dyld Process
        • macOS Perl Applications Injection
        • macOS Python Applications Injection
        • macOS Ruby Applications Injection
        • macOS .Net Applications Injection
      • macOS Security Protections
        • macOS Gatekeeper / Quarantine / XProtect
        • macOS Launch/Environment Constraints & Trust Cache
        • macOS Sandbox
          • macOS Default Sandbox Debug
          • macOS Sandbox Debug & Bypass
            • macOS Office Sandbox Bypasses
        • macOS SIP
        • macOS TCC
          • macOS Apple Events
          • macOS TCC Bypasses
            • macOS Apple Scripts
          • macOS TCC Payloads
        • macOS Dangerous Entitlements & TCC perms
        • macOS FS Tricks
          • macOS xattr-acls extra stuff
      • macOS Users
    • macOS Red Teaming
      • macOS MDM
        • Enrolling Devices in Other Organisations
        • macOS Serial Number
      • macOS Keychain
    • macOS Useful Commands
    • macOS Auto Start
  • 🪟Windows Hardening
    • Checklist - Local Windows Privilege Escalation
    • Windows Local Privilege Escalation
      • Abusing Tokens
      • Access Tokens
      • ACLs - DACLs/SACLs/ACEs
      • AppendData/AddSubdirectory permission over service registry
      • Create MSI with WIX
      • COM Hijacking
      • Dll Hijacking
        • Writable Sys Path +Dll Hijacking Privesc
      • DPAPI - Extracting Passwords
      • From High Integrity to SYSTEM with Name Pipes
      • Integrity Levels
      • JuicyPotato
      • Leaked Handle Exploitation
      • MSI Wrapper
      • Named Pipe Client Impersonation
      • Privilege Escalation with Autoruns
      • RoguePotato, PrintSpoofer, SharpEfsPotato, GodPotato
      • SeDebug + SeImpersonate copy token
      • SeImpersonate from High To System
      • Windows C Payloads
    • Active Directory Methodology
      • Abusing Active Directory ACLs/ACEs
        • Shadow Credentials
      • AD Certificates
        • AD CS Account Persistence
        • AD CS Domain Escalation
        • AD CS Domain Persistence
        • AD CS Certificate Theft
      • AD information in printers
      • AD DNS Records
      • ASREPRoast
      • BloodHound & Other AD Enum Tools
      • Constrained Delegation
      • Custom SSP
      • DCShadow
      • DCSync
      • Diamond Ticket
      • DSRM Credentials
      • External Forest Domain - OneWay (Inbound) or bidirectional
      • External Forest Domain - One-Way (Outbound)
      • Golden Ticket
      • Kerberoast
      • Kerberos Authentication
      • Kerberos Double Hop Problem
      • LAPS
      • MSSQL AD Abuse
      • Over Pass the Hash/Pass the Key
      • Pass the Ticket
      • Password Spraying / Brute Force
      • PrintNightmare
      • Force NTLM Privileged Authentication
      • Privileged Groups
      • RDP Sessions Abuse
      • Resource-based Constrained Delegation
      • Security Descriptors
      • SID-History Injection
      • Silver Ticket
      • Skeleton Key
      • Unconstrained Delegation
    • Windows Security Controls
      • UAC - User Account Control
    • NTLM
      • Places to steal NTLM creds
    • Lateral Movement
      • AtExec / SchtasksExec
      • DCOM Exec
      • PsExec/Winexec/ScExec
      • SmbExec/ScExec
      • WinRM
      • WmicExec
    • Pivoting to the Cloud
    • Stealing Windows Credentials
      • Windows Credentials Protections
      • Mimikatz
      • WTS Impersonator
    • Basic Win CMD for Pentesters
    • Basic PowerShell for Pentesters
      • PowerView/SharpView
    • Antivirus (AV) Bypass
  • 📱Mobile Pentesting
    • Android APK Checklist
    • Android Applications Pentesting
      • Android Applications Basics
      • Android Task Hijacking
      • ADB Commands
      • APK decompilers
      • AVD - Android Virtual Device
      • Bypass Biometric Authentication (Android)
      • content:// protocol
      • Drozer Tutorial
        • Exploiting Content Providers
      • Exploiting a debuggeable application
      • Frida Tutorial
        • Frida Tutorial 1
        • Frida Tutorial 2
        • Frida Tutorial 3
        • Objection Tutorial
      • Google CTF 2018 - Shall We Play a Game?
      • Install Burp Certificate
      • Intent Injection
      • Make APK Accept CA Certificate
      • Manual DeObfuscation
      • React Native Application
      • Reversing Native Libraries
      • Smali - Decompiling/[Modifying]/Compiling
      • Spoofing your location in Play Store
      • Tapjacking
      • Webview Attacks
    • iOS Pentesting Checklist
    • iOS Pentesting
      • iOS App Extensions
      • iOS Basics
      • iOS Basic Testing Operations
      • iOS Burp Suite Configuration
      • iOS Custom URI Handlers / Deeplinks / Custom Schemes
      • iOS Extracting Entitlements From Compiled Application
      • iOS Frida Configuration
      • iOS Hooking With Objection
      • iOS Protocol Handlers
      • iOS Serialisation and Encoding
      • iOS Testing Environment
      • iOS UIActivity Sharing
      • iOS Universal Links
      • iOS UIPasteboard
      • iOS WebViews
    • Cordova Apps
    • Xamarin Apps
  • 👽Network Services Pentesting
    • Pentesting JDWP - Java Debug Wire Protocol
    • Pentesting Printers
    • Pentesting SAP
    • Pentesting VoIP
      • Basic VoIP Protocols
        • SIP (Session Initiation Protocol)
    • Pentesting Remote GdbServer
    • 7/tcp/udp - Pentesting Echo
    • 21 - Pentesting FTP
      • FTP Bounce attack - Scan
      • FTP Bounce - Download 2ºFTP file
    • 22 - Pentesting SSH/SFTP
    • 23 - Pentesting Telnet
    • 25,465,587 - Pentesting SMTP/s
      • SMTP Smuggling
      • SMTP - Commands
    • 43 - Pentesting WHOIS
    • 49 - Pentesting TACACS+
    • 53 - Pentesting DNS
    • 69/UDP TFTP/Bittorrent-tracker
    • 79 - Pentesting Finger
    • 80,443 - Pentesting Web Methodology
      • 403 & 401 Bypasses
      • AEM - Adobe Experience Cloud
      • Angular
      • Apache
      • Artifactory Hacking guide
      • Bolt CMS
      • Buckets
        • Firebase Database
      • CGI
      • DotNetNuke (DNN)
      • Drupal
      • Electron Desktop Apps
        • Electron contextIsolation RCE via preload code
        • Electron contextIsolation RCE via Electron internal code
        • Electron contextIsolation RCE via IPC
      • Flask
      • NodeJS Express
      • Git
      • Golang
      • GWT - Google Web Toolkit
      • Grafana
      • GraphQL
      • H2 - Java SQL database
      • IIS - Internet Information Services
      • ImageMagick Security
      • JBOSS
      • JIRA
      • Joomla
      • JSP
      • Laravel
      • Moodle
      • Nginx
      • PHP Tricks
        • PHP - Useful Functions & disable_functions/open_basedir bypass
          • disable_functions bypass - php-fpm/FastCGI
          • disable_functions bypass - dl function
          • disable_functions bypass - PHP 7.0-7.4 (*nix only)
          • disable_functions bypass - Imagick <= 3.3.0 PHP >= 5.4 Exploit
          • disable_functions - PHP 5.x Shellshock Exploit
          • disable_functions - PHP 5.2.4 ionCube extension Exploit
          • disable_functions bypass - PHP <= 5.2.9 on windows
          • disable_functions bypass - PHP 5.2.4 and 5.2.5 PHP cURL
          • disable_functions bypass - PHP safe_mode bypass via proc_open() and custom environment Exploit
          • disable_functions bypass - PHP Perl Extension Safe_mode Bypass Exploit
          • disable_functions bypass - PHP 5.2.3 - Win32std ext Protections Bypass
          • disable_functions bypass - PHP 5.2 - FOpen Exploit
          • disable_functions bypass - via mem
          • disable_functions bypass - mod_cgi
          • disable_functions bypass - PHP 4 >= 4.2.0, PHP 5 pcntl_exec
        • PHP - RCE abusing object creation: new $_GET["a"]($_GET["b"])
        • PHP SSRF
      • Python
      • Rocket Chat
      • Special HTTP headers
      • Source code Review / SAST Tools
      • Spring Actuators
      • Symfony
      • Tomcat
        • Basic Tomcat Info
      • Uncovering CloudFlare
      • VMWare (ESX, VCenter...)
      • WAF Bypass
      • Web API Pentesting
      • WebDav
      • Werkzeug / Flask Debug
      • Wordpress
    • 88tcp/udp - Pentesting Kerberos
      • Harvesting tickets from Windows
      • Harvesting tickets from Linux
    • 110,995 - Pentesting POP
    • 111/TCP/UDP - Pentesting Portmapper
    • 113 - Pentesting Ident
    • 123/udp - Pentesting NTP
    • 135, 593 - Pentesting MSRPC
    • 137,138,139 - Pentesting NetBios
    • 139,445 - Pentesting SMB
      • rpcclient enumeration
    • 143,993 - Pentesting IMAP
    • 161,162,10161,10162/udp - Pentesting SNMP
      • Cisco SNMP
      • SNMP RCE
    • 194,6667,6660-7000 - Pentesting IRC
    • 264 - Pentesting Check Point FireWall-1
    • 389, 636, 3268, 3269 - Pentesting LDAP
    • 500/udp - Pentesting IPsec/IKE VPN
    • 502 - Pentesting Modbus
    • 512 - Pentesting Rexec
    • 513 - Pentesting Rlogin
    • 514 - Pentesting Rsh
    • 515 - Pentesting Line Printer Daemon (LPD)
    • 548 - Pentesting Apple Filing Protocol (AFP)
    • 554,8554 - Pentesting RTSP
    • 623/UDP/TCP - IPMI
    • 631 - Internet Printing Protocol(IPP)
    • 700 - Pentesting EPP
    • 873 - Pentesting Rsync
    • 1026 - Pentesting Rusersd
    • 1080 - Pentesting Socks
    • 1098/1099/1050 - Pentesting Java RMI - RMI-IIOP
    • 1414 - Pentesting IBM MQ
    • 1433 - Pentesting MSSQL - Microsoft SQL Server
      • Types of MSSQL Users
    • 1521,1522-1529 - Pentesting Oracle TNS Listener
    • 1723 - Pentesting PPTP
    • 1883 - Pentesting MQTT (Mosquitto)
    • 2049 - Pentesting NFS Service
    • 2301,2381 - Pentesting Compaq/HP Insight Manager
    • 2375, 2376 Pentesting Docker
    • 3128 - Pentesting Squid
    • 3260 - Pentesting ISCSI
    • 3299 - Pentesting SAPRouter
    • 3306 - Pentesting Mysql
    • 3389 - Pentesting RDP
    • 3632 - Pentesting distcc
    • 3690 - Pentesting Subversion (svn server)
    • 3702/UDP - Pentesting WS-Discovery
    • 4369 - Pentesting Erlang Port Mapper Daemon (epmd)
    • 4786 - Cisco Smart Install
    • 4840 - OPC Unified Architecture
    • 5000 - Pentesting Docker Registry
    • 5353/UDP Multicast DNS (mDNS) and DNS-SD
    • 5432,5433 - Pentesting Postgresql
    • 5439 - Pentesting Redshift
    • 5555 - Android Debug Bridge
    • 5601 - Pentesting Kibana
    • 5671,5672 - Pentesting AMQP
    • 5800,5801,5900,5901 - Pentesting VNC
    • 5984,6984 - Pentesting CouchDB
    • 5985,5986 - Pentesting WinRM
    • 5985,5986 - Pentesting OMI
    • 6000 - Pentesting X11
    • 6379 - Pentesting Redis
    • 8009 - Pentesting Apache JServ Protocol (AJP)
    • 8086 - Pentesting InfluxDB
    • 8089 - Pentesting Splunkd
    • 8333,18333,38333,18444 - Pentesting Bitcoin
    • 9000 - Pentesting FastCGI
    • 9001 - Pentesting HSQLDB
    • 9042/9160 - Pentesting Cassandra
    • 9100 - Pentesting Raw Printing (JetDirect, AppSocket, PDL-datastream)
    • 9200 - Pentesting Elasticsearch
    • 10000 - Pentesting Network Data Management Protocol (ndmp)
    • 11211 - Pentesting Memcache
      • Memcache Commands
    • 15672 - Pentesting RabbitMQ Management
    • 24007,24008,24009,49152 - Pentesting GlusterFS
    • 27017,27018 - Pentesting MongoDB
    • 44134 - Pentesting Tiller (Helm)
    • 44818/UDP/TCP - Pentesting EthernetIP
    • 47808/udp - Pentesting BACNet
    • 50030,50060,50070,50075,50090 - Pentesting Hadoop
  • 🕸️Pentesting Web
    • Web Vulnerabilities Methodology
    • Reflecting Techniques - PoCs and Polygloths CheatSheet
      • Web Vulns List
    • 2FA/OTP Bypass
    • Account Takeover
    • Browser Extension Pentesting Methodology
      • BrowExt - ClickJacking
      • BrowExt - permissions & host_permissions
      • BrowExt - XSS Example
    • Bypass Payment Process
    • Captcha Bypass
    • Cache Poisoning and Cache Deception
      • Cache Poisoning to DoS
    • Clickjacking
    • Client Side Template Injection (CSTI)
    • Client Side Path Traversal
    • Command Injection
    • Content Security Policy (CSP) Bypass
      • CSP bypass: self + 'unsafe-inline' with Iframes
    • Cookies Hacking
      • Cookie Tossing
      • Cookie Jar Overflow
      • Cookie Bomb
    • CORS - Misconfigurations & Bypass
    • CRLF (%0D%0A) Injection
    • CSRF (Cross Site Request Forgery)
    • Dangling Markup - HTML scriptless injection
      • SS-Leaks
    • Dependency Confusion
    • Deserialization
      • NodeJS - __proto__ & prototype Pollution
        • Client Side Prototype Pollution
        • Express Prototype Pollution Gadgets
        • Prototype Pollution to RCE
      • Java JSF ViewState (.faces) Deserialization
      • Java DNS Deserialization, GadgetProbe and Java Deserialization Scanner
      • Basic Java Deserialization (ObjectInputStream, readObject)
      • PHP - Deserialization + Autoload Classes
      • CommonsCollection1 Payload - Java Transformers to Rutime exec() and Thread Sleep
      • Basic .Net deserialization (ObjectDataProvider gadget, ExpandedWrapper, and Json.Net)
      • Exploiting __VIEWSTATE knowing the secrets
      • Exploiting __VIEWSTATE without knowing the secrets
      • Python Yaml Deserialization
      • JNDI - Java Naming and Directory Interface & Log4Shell
    • Domain/Subdomain takeover
    • Email Injections
    • File Inclusion/Path traversal
      • phar:// deserialization
      • LFI2RCE via PHP Filters
      • LFI2RCE via Nginx temp files
      • LFI2RCE via PHP_SESSION_UPLOAD_PROGRESS
      • LFI2RCE via Segmentation Fault
      • LFI2RCE via phpinfo()
      • LFI2RCE Via temp file uploads
      • LFI2RCE via Eternal waiting
      • LFI2RCE Via compress.zlib + PHP_STREAM_PREFER_STUDIO + Path Disclosure
    • File Upload
      • PDF Upload - XXE and CORS bypass
    • Formula/CSV/Doc/LaTeX/GhostScript Injection
    • gRPC-Web Pentest
    • HTTP Connection Contamination
    • HTTP Connection Request Smuggling
    • HTTP Request Smuggling / HTTP Desync Attack
      • Browser HTTP Request Smuggling
      • Request Smuggling in HTTP/2 Downgrades
    • HTTP Response Smuggling / Desync
    • Upgrade Header Smuggling
    • hop-by-hop headers
    • IDOR
    • Integer Overflow
    • JWT Vulnerabilities (Json Web Tokens)
    • LDAP Injection
    • Login Bypass
      • Login bypass List
    • NoSQL injection
    • OAuth to Account takeover
    • Open Redirect
    • Parameter Pollution
    • Phone Number Injections
    • PostMessage Vulnerabilities
      • Blocking main page to steal postmessage
      • Bypassing SOP with Iframes - 1
      • Bypassing SOP with Iframes - 2
      • Steal postmessage modifying iframe location
    • Proxy / WAF Protections Bypass
    • Race Condition
    • Rate Limit Bypass
    • Registration & Takeover Vulnerabilities
    • Regular expression Denial of Service - ReDoS
    • Reset/Forgotten Password Bypass
    • SAML Attacks
      • SAML Basics
    • Server Side Inclusion/Edge Side Inclusion Injection
    • SQL Injection
      • MS Access SQL Injection
      • MSSQL Injection
      • MySQL injection
        • MySQL File priv to SSRF/RCE
      • Oracle injection
      • Cypher Injection (neo4j)
      • PostgreSQL injection
        • dblink/lo_import data exfiltration
        • PL/pgSQL Password Bruteforce
        • Network - Privesc, Port Scanner and NTLM chanllenge response disclosure
        • Big Binary Files Upload (PostgreSQL)
        • RCE with PostgreSQL Languages
        • RCE with PostgreSQL Extensions
      • SQLMap - Cheetsheat
        • Second Order Injection - SQLMap
    • SSRF (Server Side Request Forgery)
      • URL Format Bypass
      • SSRF Vulnerable Platforms
      • Cloud SSRF
    • SSTI (Server Side Template Injection)
      • EL - Expression Language
      • Jinja2 SSTI
    • Reverse Tab Nabbing
    • Unicode Injection
      • Unicode Normalization
    • WebSocket Attacks
    • Web Tool - WFuzz
    • XPATH injection
    • XSLT Server Side Injection (Extensible Stylesheet Language Transformations)
    • XXE - XEE - XML External Entity
    • XSS (Cross Site Scripting)
      • Abusing Service Workers
      • Chrome Cache to XSS
      • Debugging Client Side JS
      • Dom Clobbering
      • DOM Invader
      • DOM XSS
      • Iframes in XSS, CSP and SOP
      • JS Hoisting
      • Misc JS Tricks & Relevant Info
      • PDF Injection
      • Server Side XSS (Dynamic PDF)
      • Shadow DOM
      • SOME - Same Origin Method Execution
      • Sniff Leak
      • Steal Info JS
      • XSS in Markdown
    • XSSI (Cross-Site Script Inclusion)
    • XS-Search/XS-Leaks
      • Connection Pool Examples
      • Connection Pool by Destination Example
      • Cookie Bomb + Onerror XS Leak
      • URL Max Length - Client Side
      • performance.now example
      • performance.now + Force heavy task
      • Event Loop Blocking + Lazy images
      • JavaScript Execution XS Leak
      • CSS Injection
        • CSS Injection Code
  • ⛈️Cloud Security
    • Pentesting Kubernetes
    • Pentesting Cloud (AWS, GCP, Az...)
    • Pentesting CI/CD (Github, Jenkins, Terraform...)
  • 😎Hardware/Physical Access
    • Physical Attacks
    • Escaping from KIOSKs
    • Firmware Analysis
      • Bootloader testing
      • Firmware Integrity
  • 🎯Binary Exploitation
    • Basic Binary Exploitation Methodology
      • ELF Basic Information
      • Exploiting Tools
        • PwnTools
    • Stack Overflow
      • Pointer Redirecting
      • Ret2win
        • Ret2win - arm64
      • Stack Shellcode
        • Stack Shellcode - arm64
      • Stack Pivoting - EBP2Ret - EBP chaining
      • Uninitialized Variables
    • ROP - Return Oriented Programing
      • BROP - Blind Return Oriented Programming
      • Ret2csu
      • Ret2dlresolve
      • Ret2esp / Ret2reg
      • Ret2lib
        • Leaking libc address with ROP
          • Leaking libc - template
        • One Gadget
        • Ret2lib + Printf leak - arm64
      • Ret2syscall
        • Ret2syscall - ARM64
      • Ret2vDSO
      • SROP - Sigreturn-Oriented Programming
        • SROP - ARM64
    • Array Indexing
    • Integer Overflow
    • Format Strings
      • Format Strings - Arbitrary Read Example
      • Format Strings Template
    • Heap
      • Use After Free
      • Heap Overflow
    • Common Binary Exploitation Protections & Bypasses
      • ASLR
        • Ret2plt
        • Ret2ret & Reo2pop
      • CET & Shadow Stack
      • Libc Protections
      • Memory Tagging Extension (MTE)
      • No-exec / NX
      • PIE
        • BF Addresses in the Stack
      • Relro
      • Stack Canaries
        • BF Forked & Threaded Stack Canaries
        • Print Stack Canary
    • Write What Where 2 Exec
      • WWW2Exec - atexit()
      • WWW2Exec - .dtors & .fini_array
      • WWW2Exec - GOT/PLT
      • WWW2Exec - __malloc_hook
    • Common Exploiting Problems
    • Windows Exploiting (Basic Guide - OSCP lvl)
    • Linux Exploiting (Basic) (SPA)
  • 🔩Reversing
    • Reversing Tools & Basic Methods
      • Angr
        • Angr - Examples
      • Z3 - Satisfiability Modulo Theories (SMT)
      • Cheat Engine
      • Blobrunner
    • Common API used in Malware
    • Word Macros
  • 🔮Crypto & Stego
    • Cryptographic/Compression Algorithms
      • Unpacking binaries
    • Certificates
    • Cipher Block Chaining CBC-MAC
    • Crypto CTFs Tricks
    • Electronic Code Book (ECB)
    • Hash Length Extension Attack
    • Padding Oracle
    • RC4 - Encrypt&Decrypt
    • Stego Tricks
    • Esoteric languages
    • Blockchain & Crypto Currencies
  • 🦂C2
    • Salseo
    • ICMPsh
    • Cobalt Strike
  • ✍️TODO
    • Other Big References
    • Rust Basics
    • More Tools
    • MISC
    • Pentesting DNS
    • Hardware Hacking
      • I2C
      • UART
      • Radio
      • JTAG
      • SPI
    • Radio Hacking
      • Pentesting RFID
      • Infrared
      • Sub-GHz RF
      • iButton
      • Flipper Zero
        • FZ - NFC
        • FZ - Sub-GHz
        • FZ - Infrared
        • FZ - iButton
        • FZ - 125kHz RFID
      • Proxmark 3
      • FISSURE - The RF Framework
      • Low-Power Wide Area Network
      • Pentesting BLE - Bluetooth Low Energy
    • Industrial Control Systems Hacking
    • Burp Suite
    • Other Web Tricks
    • Interesting HTTP
    • Emails Vulnerabilities
    • Android Forensics
    • TR-069
    • 6881/udp - Pentesting BitTorrent
    • Online Platforms with API
    • Stealing Sensitive Information Disclosure from a Web
    • Post Exploitation
    • Cookies Policy
由 GitBook 提供支持
在本页
  • Windows证据
  • 通用Windows证据
  • Windows 10通知
  • 时间轴
  • ADS(备用数据流)
  • 文件备份
  • 回收站
  • 阴影副本
  • Office 自动保存文件
  • Shell 项目
  • 最近文档 (LNK)
  • 跳转列表
  • Shellbags
  • 使用Windows USB设备
  • 注册表信息
  • setupapi
  • USB Detective
  • 插拔清理
  • 电子邮件
  • Windows邮件应用
  • Microsoft Outlook
  • Microsoft Outlook OST文件
  • 检索附件
  • Thunderbird MBOX文件
  • 图像缩略图
  • Windows注册表信息
  • 工具
  • 恢复已删除的元素
  • 最后写入时间
  • SAM
  • Windows注册表中的有趣条目
  • 执行的程序
  • 基本Windows进程
  • Windows最近应用程序
  • BAM(后台活动调节器)
  • Windows预取
  • Superprefetch
  • SRUM
  • AppCompatCache (ShimCache)
  • Amcache
  • 最有趣的CSV文件是Amcache_Unassociated file entries,因为它提供了关于未关联文件条目的丰富信息。
  • RecentFileCache
  • 计划任务
  • 服务
  • Windows商店
  • Windows事件
  • 了解Windows安全事件日志记录
  • 用户身份验证的关键事件ID:
  • 恢复Windows事件
  • 通过Windows事件识别常见攻击
  1. Generic Methodologies & Resources
  2. Basic Forensic Methodology

Windows Artifacts

上一页ZIPs tricks下一页Interesting Windows Registry Keys

最后更新于1年前

Windows证据

从零开始学习AWS黑客技术,成为专家 !

支持HackTricks的其他方式:

  • 如果您想看到您的公司在HackTricks中做广告或下载PDF格式的HackTricks,请查看!

  • 获取

  • 探索,我们的独家

  • 加入 💬 或 或 关注我们的Twitter 🐦 。

  • 通过向和 github仓库提交PR来分享您的黑客技巧。

通用Windows证据

Windows 10通知

在路径\Users\<username>\AppData\Local\Microsoft\Windows\Notifications中,您可以找到数据库appdb.dat(Windows周年更新前)或wpndatabase.db(Windows周年更新后)。

在这个SQLite数据库中,您可以找到包含所有通知(以XML格式)的Notification表,其中可能包含有趣的数据。

时间轴

时间轴是Windows的一个特性,提供了访问的网页、编辑的文档和执行的应用程序的时间顺序历史记录。

数据库位于路径\Users\<username>\AppData\Local\ConnectedDevicesPlatform\<id>\ActivitiesCache.db。可以使用SQLite工具或工具打开此数据库,该工具生成2个文件,可以使用工具 打开。

ADS(备用数据流)

下载的文件可能包含ADS Zone.Identifier,指示它是如何从内部网络、互联网等下载的。一些软件(如浏览器)通常会放置更多的信息,如文件下载的URL。

文件备份

回收站

在Vista/Win7/Win8/Win10中,回收站可以在驱动器根目录(C:\$Recycle.bin)中找到。 当在此文件夹中删除文件时,会创建2个特定文件:

  • $I{id}:文件信息(删除日期)

  • $R{id}:文件内容

.\rifiuti-vista.exe C:\Users\student\Desktop\Recycle

阴影副本

阴影副本是包含在 Microsoft Windows 中的技术,可以在计算机文件或卷正在使用时创建备份副本或快照。

这些备份通常位于文件系统根目录下的 \System Volume Information 中,名称由以下图像中显示的UIDs组成:

注册表项 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore 包含不备份的文件和键:

注册表 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS 还包含有关Volume Shadow Copies的配置信息。

Office 自动保存文件

您可以在以下位置找到 office 自动保存文件:C:\Usuarios\\AppData\Roaming\Microsoft{Excel|Word|Powerpoint}\

Shell 项目

Shell 项目是包含有关如何访问另一个文件的信息的项目。

最近文档 (LNK)

当用户在以下位置打开、使用或创建文件时,Windows会自动创建这些快捷方式:

  • Win7-Win10: C:\Users\\AppData\Roaming\Microsoft\Windows\Recent\

  • Office: C:\Users\\AppData\Roaming\Microsoft\Office\Recent\

创建文件夹时,还会创建指向文件夹、父文件夹和祖父文件夹的链接。

这些自动创建的链接文件包含有关源文件的信息,例如它是文件还是文件夹,该文件的MAC时间,文件存储位置的卷信息和目标文件夹的信息。这些信息可用于在文件被删除时恢复这些文件。

此外,链接文件的创建日期是原始文件首次使用的时间,链接文件的修改日期是原始文件最后使用的时间。

在此工具中,您将找到2组时间戳:

  • 第一组:

  1. 文件修改日期

  2. 文件访问日期

  3. 文件创建日期

  • 第二组:

  1. 链接修改日期

  2. 链接访问日期

  3. 链接创建日期。

第一组时间戳引用文件本身的时间戳。第二组引用链接文件的时间戳。

LECmd.exe -d C:\Users\student\Desktop\LNKs --csv C:\Users\student\Desktop\LNKs

跳转列表

这些是每个应用程序指示的最近文件。这是您可以在每个应用程序上访问的最近使用的文件列表。它们可以自动创建或自定义。

自动创建的跳转列表存储在C:\Users\{username}\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations\中。跳转列表的命名遵循格式{id}.autmaticDestinations-ms,其中初始ID是应用程序的ID。

自定义跳转列表存储在C:\Users\{username}\AppData\Roaming\Microsoft\Windows\Recent\CustomDestination\中,通常是因为应用程序通常发生了重要事件(可能标记为收藏)。

任何跳转列表的创建时间表示文件被访问的第一次时间,修改时间表示最后一次时间。

(请注意,JumplistExplorer提供的时间戳与跳转列表文件本身相关)

Shellbags

使用Windows USB设备

通过以下方式可以识别是否使用了USB设备:

  • Windows最近文件夹

  • Microsoft Office最近文件夹

  • 跳转列表

请注意,有些LNK文件指向WPDNSE文件夹而不是原始路径:

文件夹WPDNSE中的文件是原始文件的副本,因此在PC重新启动后不会保留,并且GUID是从shellbag中获取的。

注册表信息

setupapi

检查文件C:\Windows\inf\setupapi.dev.log以获取有关USB连接产生的时间戳(搜索Section start)。

USB Detective

插拔清理

名为“插拔清理”的计划任务主要用于删除过时的驱动程序版本。与其指定的保留最新驱动程序包版本的目的相反,在线资源表明它还会针对在过去30天内未连接的驱动程序进行操作。因此,未连接在过去30天内的可移动设备的驱动程序可能会被删除。

该任务位于以下路径: C:\Windows\System32\Tasks\Microsoft\Windows\Plug and Play\Plug and Play Cleanup。

任务的关键组件和设置:

  • pnpclean.dll:此DLL负责实际的清理过程。

  • UseUnifiedSchedulingEngine:设置为TRUE,表示使用通用任务调度引擎。

  • MaintenanceSettings:

  • Period('P1M'):指示任务计划程序在常规自动维护期间每月启动清理任务。

  • Deadline('P2M'):如果任务连续两个月失败,则指示任务计划程序在紧急自动维护期间执行任务。

此配置确保定期维护和清理驱动程序,并提供在连续失败的情况下重新尝试任务的规定。

电子邮件

电子邮件包含2个有趣的部分:邮件头和邮件内容。在邮件头中,您可以找到以下信息:

  • 谁发送了电子邮件(电子邮件地址、IP、重定向电子邮件的邮件服务器)

  • 电子邮件发送的时间

此外,在References和In-Reply-To头中,您可以找到消息的ID:

Windows邮件应用

此应用程序以HTML或文本格式保存电子邮件。您可以在\Users\<username>\AppData\Local\Comms\Unistore\data\3\的子文件夹中找到电子邮件。电子邮件以.dat扩展名保存。

电子邮件的元数据和联系人可以在EDB数据库中找到:\Users\<username>\AppData\Local\Comms\UnistoreDB\store.vol

Microsoft Outlook

当使用Exchange服务器或Outlook客户端时,将会有一些MAPI头:

  • Mapi-Client-Submit-Time:发送电子邮件时的系统时间

  • Mapi-Conversation-Index:线程的子消息数量和每个线程消息的时间戳

  • Mapi-Entry-ID:消息标识符。

  • Mappi-Message-Flags和Pr_last_Verb-Executed:有关MAPI客户端的信息(消息已读?未读?已回复?重定向?离开办公室?)

在Microsoft Outlook客户端中,所有发送/接收的消息、联系人数据和日历数据都存储在以下PST文件中:

  • %USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook(WinXP)

  • %USERPROFILE%\AppData\Local\Microsoft\Outlook

注册表路径HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook指示正在使用的文件。

Microsoft Outlook OST文件

检索附件

丢失的附件可能可以从以下位置恢复:

  • 对于IE10:%APPDATA%\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook

  • 对于IE11及更高版本:%APPDATA%\Local\Microsoft\InetCache\Content.Outlook

Thunderbird MBOX文件

Thunderbird使用MBOX文件存储数据,位于\Users\%USERNAME%\AppData\Roaming\Thunderbird\Profiles。

图像缩略图

  • Windows XP和8-8.1:访问带有缩略图的文件夹会生成一个thumbs.db文件,即使删除后仍会存储图像预览。

  • Windows 7/10:通过UNC路径通过网络访问时会创建thumbs.db。

Windows注册表信息

Windows注册表存储广泛的系统和用户活动数据,包含在以下文件中:

  • %windir%\System32\Config用于各种HKEY_LOCAL_MACHINE子键。

  • %UserProfile%{User}\NTUSER.DAT用于HKEY_CURRENT_USER。

  • Windows Vista及更高版本在%Windir%\System32\Config\RegBack\中备份HKEY_LOCAL_MACHINE注册表文件。

  • 此外,程序执行信息存储在自Windows Vista和Windows 2008 Server起的%UserProfile%\{User}\AppData\Local\Microsoft\Windows\USERCLASS.DAT中。

工具

一些工具可用于分析注册表文件:

  • 注册表编辑器:它已安装在Windows中。这是一个GUI,可用于浏览当前会话的Windows注册表。

恢复已删除的元素

当键被删除时,它会被标记为已删除,但直到需要其占用的空间时才会被删除。因此,使用工具如注册表浏览器可以恢复这些已删除的键。

最后写入时间

每个键-值包含一个指示上次修改时间的时间戳。

SAM

文件/注册表SAM包含系统的用户、组和用户密码哈希。

在SAM\Domains\Account\Users中,您可以获取用户名、RID、上次登录、上次登录失败、登录计数器、密码策略以及帐户创建时间。要获取哈希值,您还需要文件/注册表SYSTEM。

Windows注册表中的有趣条目

执行的程序

基本Windows进程

Windows最近应用程序

在注册表NTUSER.DAT的路径Software\Microsoft\Current Version\Search\RecentApps中,您可以找到有关执行的应用程序、上次执行时间以及启动次数的信息。

BAM(后台活动调节器)

您可以使用注册表编辑器打开SYSTEM文件,在路径SYSTEM\CurrentControlSet\Services\bam\UserSettings\{SID}中,您可以找到有关每个用户执行的应用程序的信息(请注意路径中的{SID}),以及它们执行的时间(时间在注册表的数据值中)。

Windows预取

预取是一种技术,允许计算机静默获取显示内容所需的资源,用户可能在不久的将来访问,以便更快地访问资源。

Windows预取包括创建已执行程序的缓存,以便能够更快地加载它们。这些缓存作为.pf文件创建在路径:C:\Windows\Prefetch中。在XP/VISTA/WIN7中限制为128个文件,在Win8/Win10中为1024个文件。

文件名创建为{program_name}-{hash}.pf(哈希基于可执行文件的路径和参数)。在W10中,这些文件是压缩的。请注意,文件的存在仅表示程序曾被执行。

文件C:\Windows\Prefetch\Layout.ini包含预取文件夹的名称。此文件包含有关执行次数、执行日期和程序打开的文件的信息。

.\PECmd.exe -d C:\Users\student\Desktop\Prefetch --html "C:\Users\student\Desktop\out_folder"

Superprefetch

Superprefetch的目标与prefetch相同,通过预测下一个要加载的内容来加快程序加载速度。但是,它并不取代prefetch服务。 该服务会在C:\Windows\Prefetch\Ag*.db中生成数据库文件。

在这些数据库中,您可以找到程序的名称、执行次数、打开的文件、访问的卷、完整路径、时间范围和时间戳。

SRUM

系统资源使用监视器(SRUM)监视进程消耗的资源。它出现在W8中,并将数据存储在位于C:\Windows\System32\sru\SRUDB.dat的ESE数据库中。

它提供以下信息:

  • AppID和路径

  • 执行该进程的用户

  • 发送字节

  • 接收字节

  • 网络接口

  • 连接持续时间

  • 进程持续时间

此信息每60分钟更新一次。

.\srum_dump.exe -i C:\Users\student\Desktop\SRUDB.dat -t SRUM_TEMPLATE.xlsx -o C:\Users\student\Desktop\srum

AppCompatCache (ShimCache)

AppCompatCache,也被称为ShimCache,是Microsoft开发的应用程序兼容性数据库的一部分,用于解决应用程序兼容性问题。该系统组件记录了各种文件元数据,包括:

  • 文件的完整路径

  • 文件大小

  • 最后修改时间(位于**$Standard_Information** (SI)下)

  • ShimCache的最后更新时间

  • 进程执行标志

这些数据存储在注册表中的特定位置,取决于操作系统的版本:

  • 对于XP,数据存储在SYSTEM\CurrentControlSet\Control\SessionManager\Appcompatibility\AppcompatCache下,容量为96个条目。

  • 对于Server 2003以及Windows版本2008、2012、2016、7、8和10,存储路径为SYSTEM\CurrentControlSet\Control\SessionManager\AppcompatCache\AppCompatCache,分别容纳512和1024个条目。

Amcache

Amcache.hve文件本质上是一个记录在系统上执行的应用程序详细信息的注册表文件。通常位于C:\Windows\AppCompat\Programas\Amcache.hve。

该文件存储了最近执行的进程的记录,包括可执行文件的路径和它们的SHA1哈希值。这些信息对于跟踪系统上应用程序的活动至关重要。

AmcacheParser.exe -f C:\Users\genericUser\Desktop\Amcache.hve --csv C:\Users\genericUser\Desktop\outputFolder

最有趣的CSV文件是Amcache_Unassociated file entries,因为它提供了关于未关联文件条目的丰富信息。

RecentFileCache

此工件仅可在W7中找到,位于C:\Windows\AppCompat\Programs\RecentFileCache.bcf,其中包含有关某些二进制文件最近执行的信息。

计划任务

您可以从C:\Windows\Tasks或C:\Windows\System32\Tasks中提取它们,并将其读取为XML。

服务

您可以在注册表中的SYSTEM\ControlSet001\Services下找到它们。您可以查看将要执行的内容以及执行时间。

Windows商店

安装的应用程序可以在\ProgramData\Microsoft\Windows\AppRepository\中找到 此存储库中有一个日志,其中包含系统中安装的每个应用程序,存储在数据库**StateRepository-Machine.srd**中。

在此数据库的Application表中,可以找到列:"Application ID"、"PackageNumber"和"Display Name"。这些列包含有关预安装和已安装应用程序的信息,并且可以查找是否卸载了某些应用程序,因为已安装应用程序的ID应该是连续的。

还可以在注册表路径Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications\中找到已安装的应用程序 以及在Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deleted\中找到卸载的应用程序。

Windows事件

Windows事件中显示的信息包括:

  • 发生了什么

  • 时间戳(UTC + 0)

  • 涉及的用户

  • 涉及的主机(主机名、IP)

  • 访问的资产(文件、文件夹、打印机、服务)

日志位于Windows Vista之前的C:\Windows\System32\config中,在Windows Vista之后位于C:\Windows\System32\winevt\Logs中。在Windows Vista之前,事件日志以二进制格式存储,在Windows Vista之后,它们以XML格式存储,并使用**.evtx**扩展名。

事件文件的位置可以在SYSTEM注册表中的**HKLM\SYSTEM\CurrentControlSet\services\EventLog\{Application|System|Security}**中找到。

了解Windows安全事件日志记录

安全配置文件中记录的访问事件位于C:\Windows\System32\winevt\Security.evtx。此文件的大小可调整,当达到容量时,旧事件将被覆盖。记录的事件包括用户登录和注销、用户操作、安全设置更改,以及文件、文件夹和共享资产的访问。

用户身份验证的关键事件ID:

  • EventID 4624:表示用户成功验证。

  • EventID 4625:表示验证失败。

  • EventIDs 4634/4647:代表用户注销事件。

  • EventID 4672:表示使用管理员权限登录。

EventID 4634/4647中的子类型:

  • Interactive (2):直接用户登录。

  • Network (3):访问共享文件夹。

  • Batch (4):执行批处理过程。

  • Service (5):服务启动。

  • Proxy (6):代理身份验证。

  • Unlock (7):使用密码解锁屏幕。

  • Network Cleartext (8):明文密码传输,通常来自IIS。

  • New Credentials (9):使用不同凭据进行访问。

  • Remote Interactive (10):远程桌面或终端服务登录。

  • Cache Interactive (11):使用缓存凭据登录,无需与域控制器联系。

  • Cache Remote Interactive (12):使用缓存凭据远程登录。

  • Cached Unlock (13):使用缓存凭据解锁。

EventID 4625的状态和子状态代码:

  • 0xC0000064:用户名不存在 - 可能指示用户名枚举攻击。

  • 0xC000006A:正确的用户名但密码错误 - 可能是密码猜测或暴力破解尝试。

  • 0xC0000234:用户帐户被锁定 - 可能是多次登录失败导致的暴力破解攻击。

  • 0xC0000072:帐户已禁用 - 未经授权的尝试访问已禁用的帐户。

  • 0xC000006F:在允许的时间之外登录 - 表示尝试在设置的登录时间之外访问,可能是未经授权访问的迹象。

  • 0xC0000070:违反工作站限制 - 可能是尝试从未经授权的位置登录。

  • 0xC0000193:帐户过期 - 使用已过期用户帐户的访问尝试。

  • 0xC0000071:密码已过期 - 使用过时密码的登录尝试。

  • 0xC0000133:时间同步问题 - 客户端和服务器之间存在较大的时间差异,可能表明更复杂的攻击,如票据传递攻击。

  • 0xC0000224:需要强制更改密码 - 频繁的强制更改可能表明试图破坏帐户安全性。

  • 0xC0000225:表示系统错误而不是安全问题。

  • 0xC000015b:拒绝的登录类型 - 使用未经授权的登录类型进行访问尝试,例如用户尝试执行服务登录。

EventID 4616:

  • 时间更改:修改系统时间,可能混淆事件时间轴。

EventID 6005和6006:

  • 系统启动和关闭:EventID 6005表示系统启动,而EventID 6006表示系统关闭。

EventID 1102:

  • 日志删除:清除安全日志,通常是掩盖非法活动的红旗。

用于USB设备跟踪的EventID:

  • 20001 / 20003 / 10000:USB设备首次连接。

  • 10100:USB驱动程序更新。

  • EventID 112:USB设备插入时间。

事件详细信息,包括状态和子状态代码,可进一步了解事件原因,特别是Event ID 4625中的内容。

恢复Windows事件

为增加恢复已删除Windows事件的机会,建议直接拔掉嫌疑计算机的电源以关闭它。推荐使用指定.evtx扩展名的恢复工具Bulk_extractor来尝试恢复此类事件。

通过Windows事件识别常见攻击

暴力破解攻击

通过多个EventID 4625记录识别,如果攻击成功,则会跟随EventID 4624。

时间更改

通过EventID 4616记录,系统时间的更改可能会使取证分析复杂化。

USB设备跟踪

用于USB设备跟踪的有用的系统EventID包括用于初始使用的20001/20003/10000,用于驱动程序更新的10100,以及来自DeviceSetupManager的插入时间戳的EventID 112。

系统电源事件

EventID 6005表示系统启动,而EventID 6006表示系统关闭。

日志删除

安全EventID 1102表示日志删除,这是取证分析的关键事件。

有了这些文件,您可以使用工具获取已删除文件的原始地址和删除日期(对于Vista – Win10,请使用rifiuti-vista.exe)。

使用 ArsenalImageMounter 挂载取证镜像,可以使用工具 来检查阴影副本,甚至从阴影副本备份中提取文件。

您可以使用 来检查这些文件。

您可以使用 Windows CLI 工具 获取相同的信息。

您可以使用检查跳转列表。

哪些注册表键包含有关连接的USB设备的有趣信息。

可用于获取连接到图像的USB设备的信息。

提供了描述任务内容的屏幕截图:

更多信息请查看:

将文件的扩展名从.vol更改为.edb,然后您可以使用工具打开它。在Message表中,您可以查看电子邮件。

您可以使用工具打开PST文件。

当Microsoft Outlook配置为使用IMAP或Exchange服务器时,将生成一个OST文件,存储与PST文件类似的信息。此文件与服务器同步,保留最近12个月的数据,最大大小为50GB,位于与PST文件相同的目录中。要查看OST文件,可以使用。

Windows Vista及更高版本:缩略图预览集中在%userprofile%\AppData\Local\Microsoft\Windows\Explorer中,文件名为thumbcache_xxx.db。和是查看这些文件的工具。

:它允许您加载注册表文件并通过GUI浏览它们。它还包含突出显示具有有趣信息的键的书签。

:同样,它具有GUI,允许浏览加载的注册表,并包含突出显示已加载注册表中有趣信息的插件。

:另一个能够提取注册表中重要信息的GUI应用程序。

在中,您可以了解常见的Windows进程,以便检测可疑行为。

要检查这些文件,您可以使用工具。

您可以使用工具访问这些信息。

您可以使用工具从此文件中获取日期。

要解析存储的信息,建议使用。

要提取和分析Amcache.hve中的数据,可以使用工具。以下命令是使用AmcacheParser解析Amcache.hve文件内容并以CSV格式输出结果的示例:

您可以使用工具来解析该文件。

可以使用Windows事件查看器(eventvwr.msc)或其他工具如 或 来查看这些事件。

有关模拟这些登录类型和凭据转储机会的实际示例,请参阅。

有关使用Windows事件ID识别常见网络攻击的全面指南,请访问。

🤩
htARTE(HackTricks AWS Red Team Expert)
订阅计划
官方PEASS & HackTricks周边产品
PEASS家族
NFTs
Discord群组
电报群组
@hacktricks_live
HackTricks
HackTricks Cloud
WxTCmd
TimeLine Explorer
Rifiuti
ShadowCopyView
LinkParser
LECmd.exe
JumplistExplorer
USBDetective
https://blog.1234n6.com/2018/07/windows-plug-and-play-cleanup.html
ESEDatabaseView
Kernel PST Viewer
Kernel OST viewer
Thumbsviewer
ThumbCache Viewer
注册表浏览器
RegRipper
Windows注册表恢复
Interesting Windows Registry Keys
此文章
PEcmd.exe
CrowdResponse
srum_dump
AppCompatCacheParser工具
AmcacheParser
RecentFileCacheParse
Event Log Explorer
Evtx Explorer/EvtxECmd
Altered Security的详细指南
Red Team Recipe
点击此链接了解什么是shellbags。
查看此页面以了解