312-50 ยท System hacking
Anti-forensics techniques and countermeasures
NTFS alternate data streams, steganography and steganalysis, timestomping, clearing event logs and shell history, and log protection.
Key points
- NTFS alternate data streams (file:stream): hidden data, listed size unchanged; find with dir /r or Sysinternals Streams.
- Steganography: data in images, audio, other carriers; steganalysis seeks statistical anomalies.
- Timestomping: alters file timestamps.
- Log clearing: Event ID 1102 Security, 104 System.
- Defence: real-time forwarding to a SIEM, restricted clearing, immutable or write-once storage, monitored clear events.
Source: https://learn.microsoft.com/en-us/sysinternals/downloads/streams
Practice questions
Which Sysinternals utility reveals NTFS alternate data streams on files and directories?
- Streams
- Process Explorer
- TCPView
- Autoruns
Show answer
Answer: A. Streams
Streams (streams.exe) lists named streams and their sizes. The other tools show processes, autostarts or network connections.
Which statements about hiding data are correct?
- Alternate data streams are an NTFS feature
- Steganography can embed data inside an image file
- Alternate data streams survive copying to a FAT32 drive
- Steganalysis is the technique of creating hidden messages
- Streams change the displayed file size dramatically
Show answer
Answer: A. Alternate data streams are an NTFS feature, B. Steganography can embed data inside an image file
Alternate data streams are an NTFS feature and steganography embeds data in a carrier such as an image. ADS does not survive copying to FAT32 and steganalysis is a detection discipline.
True or false: Clearing the local Windows Security event log leaves no trace that it was cleared.
Show answer
Answer: False
False. Clearing the Security log itself generates Event ID 1102, and copies already forwarded to a SIEM remain.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
