Heimdall

Getting started:

  • Overview
  • Installation
  • Basic Usage
  • Heimdall Core
  • Future Plans for Heimdall
  • Contributing

API Reference:

  • heimdall package
  • heimdall.core package
  • heimdall.cli package
  • heimdall.os_related.base_os package
  • heimdall.os_related.macos package
  • heimdall.os_related.linux package
  • heimdall.os_related.windows package
    • Submodules
    • heimdall.os_related.windows.processes module
    • heimdall.os_related.windows.windows_client module
    • Module contents
  • heimdall.utils package
Heimdall
  • heimdall package
  • heimdall.os_related package
  • heimdall.os_related.windows package
  • View page source

heimdall.os_related.windows package

Submodules

heimdall.os_related.windows.processes module

class heimdall.os_related.windows.processes.WindowsProcess(ks: Any, ctx: Context)[source]

Bases: Process

Represents a Windows process, providing access to attributes such as PID, name, and path.

property name: str

Process name.

Returns:

The name of the process.

Return type:

str

property path: str

Process path.

Returns:

The full path of the process executable, or the process name if path retrieval fails.

Return type:

str

property pid: int

Process ID (PID).

Returns:

The process ID.

Return type:

int

class heimdall.os_related.windows.processes.WindowsProcesses(heimdall_client: HeimdallClient)[source]

Bases: Processes

Manages a collection of Windows processes, providing methods to retrieve processes by various attributes.

__init__(heimdall_client: HeimdallClient)[source]

Initialize the WindowsProcesses manager with a Heimdall client.

Parameters:

heimdall_client (HeimdallClient) – The client used for interacting with the system kernel.

list() → list[WindowsProcess][source]

List all processes.

Returns:

A list of all Windows processes.

Return type:

list of WindowsProcess

heimdall.os_related.windows.windows_client module

class heimdall.os_related.windows.windows_client.WindowsClient(vmi: libvmi.Libvmi, profile: Path)[source]

Bases: HeimdallClient

__init__(vmi: libvmi.Libvmi, profile: Path)[source]

Initialize WindowsClient.

property kslide: int

Return kernel slide value.

property processes: WindowsProcesses

Return Windows processes.

Module contents

Previous Next

© Copyright 2024, Netanel Cohen.

Built with Sphinx using a theme provided by Read the Docs.