Skip to content

Windows Events

Memphis Marshall edited this page Sep 11, 2024 · 3 revisions

All events recorded by LunaJuice get sent to the Windows Event Log. To keep LunaJuice light and portable, no message text file is installed on the system, however one does exist in LunaLib's source for you to compile yourself if you wish. The following page outlines the fields for each type of event.

Default Fields

All events recorded by LunaJuice contain five default fields. These, in order, are:

  1. Process ID (base-10 integer)
  2. Process image path
  3. Parent process ID (base-10 integer)
  4. The user that owns the current thread (in the format domain\user)
  5. The parent process image path

In addition to this, each event defines its own fields as listed below.

Event List

Standard Input Read (256)

  1. The content of the read buffer (can contain old data after a newline)

Standard Output Write (257)

Currently broken

  1. The content of the write buffer (can contain old data)

Standard Error Write (258)

Currently broken

  1. The content of the write buffer (can contain old data)

Function Call (259)

  1. The signature and data sent to the call, for example:
NTSTATUS NTAPI NtReadFile(IN HANDLE FileHandle = 0x0000000000000E8C, IN HANDLE Event OPTIONAL = 0x0000000000000000, IN PIO_APC_ROUTINE ApcRoutine OPTIONAL = ????, IN PVOID ApcContext OPTIONAL = 0x0000526B00690460, OUT PIO_STATUS_BLOCK IoStatusBlock = ????, OUT PVOID Buffer = 0x0000526B006BF000, IN ULONG Length = 0x00001000, IN PLARGE_INTEGER ByteOffset OPTIONAL = ????, IN PULONG Key OPTIONAL = NULL)

Spoofed Parent PID (260)

  1. New process image
  2. New process ID (base-10 integer)
  3. New process command
  4. Fake parent ID (base-10 integer)

Process Create (261)

  1. New process image
  2. New process ID (base-10 integer)
  3. New process command

Privilege Adjust (262)

  1. Operation (added or removed)
  2. Privilege name (for example, SeDebugPrivilege)

Clone this wiki locally