Show / Hide Table of Contents

Class ComObjectCollector

Collects Com Objects referenced by the registry

Inheritance
System.Object
BaseCollector
ComObjectCollector
Implements
IPlatformRunnable
Inherited Members
BaseCollector.Results
BaseCollector.TryExecute()
BaseCollector.RunStatus
BaseCollector.Start()
BaseCollector.Stop()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AttackSurfaceAnalyzer.Collectors
Assembly: AsaLib.dll
Syntax
public class ComObjectCollector : BaseCollector, IPlatformRunnable

Constructors

| Improve this Doc View Source

ComObjectCollector(CollectCommandOptions, Action<CollectObject>)

Declaration
public ComObjectCollector(CollectCommandOptions opts = null, Action<CollectObject> changeHandler = null)
Parameters
Type Name Description
CollectCommandOptions opts
System.Action<CollectObject> changeHandler

Methods

| Improve this Doc View Source

CanRunOnPlatform()

Com Objects only exist on Windows.

Declaration
public override bool CanRunOnPlatform()
Returns
Type Description
System.Boolean
Overrides
BaseCollector.CanRunOnPlatform()
| Improve this Doc View Source

ExecuteInternal()

Execute the Com Collector. We collect the list of Com Objects registered in the registry and then examine each binary on the disk they point to.

Declaration
public override void ExecuteInternal()
Overrides
BaseCollector.ExecuteInternal()
| Improve this Doc View Source

ParseComObjects(RegistryKey, RegistryView, Boolean)

Parse all the Subkeys of the given SearchKey into ComObjects and returns a list of them

Declaration
public static IEnumerable<CollectObject> ParseComObjects(RegistryKey SearchKey, RegistryView View, bool SingleThreaded = false)
Parameters
Type Name Description
RegistryKey SearchKey

The Registry Key to search

RegistryView View

The View of the registry to use

System.Boolean SingleThreaded
Returns
Type Description
System.Collections.Generic.IEnumerable<CollectObject>
| Improve this Doc View Source

ParseView(RegistryView)

Declaration
public void ParseView(RegistryView view)
Parameters
Type Name Description
RegistryView view

Implements

IPlatformRunnable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX