Bitzu

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

Single choice

Which Sysinternals utility reveals NTFS alternate data streams on files and directories?

  1. Streams
  2. Process Explorer
  3. TCPView
  4. Autoruns
Show answer

Answer: A. Streams

Streams (streams.exe) lists named streams and their sizes. The other tools show processes, autostarts or network connections.

Select all that apply

Which statements about hiding data are correct?

  1. Alternate data streams are an NTFS feature
  2. Steganography can embed data inside an image file
  3. Alternate data streams survive copying to a FAT32 drive
  4. Steganalysis is the technique of creating hidden messages
  5. 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

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.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module