systemreg

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package systemreg provides a wrapper around the SYSTEM registry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemRegistry

type SystemRegistry struct {
	registry.Registry
}

SystemRegistry is a wrapper around a SYSTEM registry.

func NewFromFile

func NewFromFile(path string) (*SystemRegistry, error)

NewFromFile creates a new SystemRegistry from a file.

func (*SystemRegistry) Syskey

func (s *SystemRegistry) Syskey() ([]byte, error)

Syskey returns the syskey used to decrypt user hashes. The syskey is stored as UTF16-le encoded hexadecimal in the class name of the 4 registry keys denoted by `syskeyPaths`. Once the hexadecimal is decoded, the result is still obfuscated and the order of the bytes needs to be swapped using the indexes detonated in the `transforms` table.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL