nerdexam
GIAC

GPEN · Question #407

You have compromised a Windows workstation using Metasploit and have injected the Meterpreter payload into the svchost process. After modifying some files to set up a persistent backdoor you realize…

The correct answer is D. Browser. Changing file timestamps (timestomping) in Meterpreter for anti-forensics is performed via the Priv module - the listed correct answer of 'Browser' appears to be an error in this question's answer key.

Exploitation & Post-Exploitation Techniques

Question

You have compromised a Windows workstation using Metasploit and have injected the Meterpreter payload into the svchost process. After modifying some files to set up a persistent backdoor you realize that you will need to change the modified and access times of the files to ensure that the administrator can't see the changes you made. Which Meterpreter module would you need to load in order to do this?

Options

  • ACore
  • BPriv
  • CStdapi
  • DBrowser

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    20% (6)
  • C
    7% (2)
  • D
    70% (21)

Why each option

Changing file timestamps (timestomping) in Meterpreter for anti-forensics is performed via the Priv module - the listed correct answer of 'Browser' appears to be an error in this question's answer key.

ACore

The Core module manages fundamental session operations such as transport negotiation, encryption, and channel control, and provides no file system timestamp modification functionality.

BPriv

The Priv module is actually the technically correct answer for timestomping, as it provides the 'timestomp' command that alters file Modified, Accessed, Changed, and Entry timestamps to hinder forensic investigation - making this the accurate choice despite the provided answer key.

CStdapi

The Stdapi module provides general-purpose file system, network, and system API access including file transfers and process enumeration, but does not include dedicated timestamp manipulation commands.

DBrowserCorrect

The Browser module in Meterpreter is designed for browser-based post-exploitation tasks such as harvesting saved credentials and manipulating browser sessions, not for file timestamp manipulation. The technically correct module for changing file MACE timestamps to defeat forensic timeline analysis is the Priv module (option B), which provides the 'timestomp' command. This answer key entry appears to be incorrect and students should know that Priv is the proper module for anti-forensic timestomping.

Concept tested: Meterpreter Priv module timestomping for anti-forensics

Source: https://www.offsec.com/metasploit-unleashed/timestomping/

Topics

#Meterpreter#timestomping#anti-forensics#post-exploitation

Community Discussion

No community discussion yet for this question.

Full GPEN Practice