dissect.target.loaders.phobos¶
Module Contents¶
Classes¶
Load Phobos Ransomware files. |
Functions¶
Attributes¶
- dissect.target.loaders.phobos.BLOCK_SIZE = 67108864¶
- dissect.target.loaders.phobos.NTFS_NEEDLE = b'\xebR\x90NTFS \x00'¶
- dissect.target.loaders.phobos.EXTFS_NEEDLE = b'\xff\xffS\xef'¶
- dissect.target.loaders.phobos.EXTFS_NEEDLE_OFFSET = 55296¶
- dissect.target.loaders.phobos.FS_NEEDLES¶
- dissect.target.loaders.phobos.scrape_pos(fp: BinaryIO, needles: list[bytes], block_size: int = BLOCK_SIZE) collections.abc.Iterator[tuple[bytes, int]]¶
- class dissect.target.loaders.phobos.PhobosLoader(path: pathlib.Path, *, parsed_path: urllib.parse.ParseResult | None = None, resolve: bool = True, **kwargs)¶
Bases:
dissect.target.loader.LoaderLoad Phobos Ransomware files.
References
- static detect(path: pathlib.Path) bool¶
Detects wether this
Loaderclass can load this specificpath.- Parameters:
path – The target path to check.
- Returns:
Trueif thepathcan be loaded by aLoaderinstance.Falseotherwise.
- map(target: dissect.target.target.Target) None¶
Maps the loaded path into a
Target.- Parameters:
target – The target that we’re mapping into.