Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) AddTime(taskUUID string) (*TaskMessageResponse, error)
- func (c *Client) DeleteTask(taskUUID string) (*TaskMessageResponse, error)
- func (c *Client) DownloadYaraResults(queryID, format string) (*YaraLookupResultsStix, error)
- func (c *Client) GetEnvironments() ([]TaskEnvironment, error)
- func (c *Client) GetHistory(team bool, skip, limit int) (*TasksHistoryResponse, error)
- func (c *Client) GetIOCs(taskUUID string) ([]IOC, error)
- func (c *Client) GetReport(taskUUID string) (*ReportResponse, error)
- func (c *Client) GetUserLimits() (*UserLimits, error)
- func (c *Client) GetUserPresets() ([]UserPreset, error)
- func (c *Client) GetYaraResults(queryID string, offset, limit int, sort string) (*YaraSearchResults, error)
- func (c *Client) GetYaraResultsCount(queryID string) (*YaraSearchResultsCount, error)
- func (c *Client) MonitorTask(taskUUID string, onEvent func(MonitorEvent) error) error
- func (c *Client) MonitorTaskStream(taskUUID string) (io.ReadCloser, error)
- func (c *Client) SearchThreatIntelligence(req SearchRequest) (*SearchResponse, error)
- func (c *Client) StartYaraSearch(rule string) (*YaraJobInfo, error)
- func (c *Client) StopTask(taskUUID string) (*TaskMessageResponse, error)
- func (c *Client) StopYaraSearch(queryID string) (*YaraJobInfo, error)
- func (c *Client) SubmitTask(req *CreateTaskRequest) (*TaskSubmission, error)
- func (c *Client) TaxiiDiscovery() (*TaxiiDiscovery, error)
- func (c *Client) TaxiiGetAPIRoot() (*TaxiiAPIRoot, error)
- func (c *Client) TaxiiGetCollection(collectionID string) (*TaxiiCollection, error)
- func (c *Client) TaxiiGetCollections() (*TaxiiCollections, error)
- func (c *Client) TaxiiGetManifest(collectionID string, params TaxiiManifestParams) (*TaxiiManifest, *TaxiiPageInfo, error)
- func (c *Client) TaxiiGetObject(collectionID, objectID string) (*TaxiiEnvelope, *TaxiiPageInfo, error)
- func (c *Client) TaxiiGetObjects(collectionID string, params TaxiiObjectsParams) (*TaxiiEnvelope, *TaxiiPageInfo, error)
- type CountryCount
- type CreateTaskRequest
- type DestinationIP
- type DestinationIPASN
- type Event
- type EventsCounters
- type EventsCountersRaw
- type GetYaraResultsParams
- type HTTPError
- type Hashes
- type HistoryParams
- type IOC
- type Industry
- type MainObject
- type MatchedSample
- type MatchedSampleHashes
- type MonitorEvent
- type ObjectTrid
- type Option
- type ParallelsLimit
- type Process
- type ProcessDump
- type ProcessScores
- type ProcessScoresSpecs
- type RelatedDNS
- type RelatedFile
- type RelatedIncident
- type RelatedNetworkThreat
- type RelatedSynchronizationObject
- type RelatedURL
- type ReportArtifact
- type ReportAutomatization
- type ReportConnection
- type ReportContent
- type ReportCounterFiles
- type ReportCounterNetwork
- type ReportCounterProcesses
- type ReportCounterRegistry
- type ReportCounterSync
- type ReportCounterSyncOp
- type ReportCounterSyncType
- type ReportCounters
- type ReportDNSRequest
- type ReportDebugString
- type ReportEnvironment
- type ReportEnvironmentIE
- type ReportEnvironmentOS
- type ReportEnvironments
- type ReportHTTPBody
- type ReportHTTPMessage
- type ReportHTTPRequest
- type ReportHotfix
- type ReportIncident
- type ReportIncidentEvent
- type ReportIncidentMitre
- type ReportLinks
- type ReportMainObject
- type ReportMainObjectInfo
- type ReportMalconf
- type ReportMalconfConfig
- type ReportMitre
- type ReportModified
- type ReportModifiedFile
- type ReportModifiedFileInfo
- type ReportModifiedRegistry
- type ReportNetwork
- type ReportOptions
- type ReportProcess
- type ReportProcessCert
- type ReportProcessContext
- type ReportProcessModule
- type ReportProcessResolvedCOM
- type ReportProcessResolvedCOMModule
- type ReportProcessScores
- type ReportProcessSpecs
- type ReportProcessSyncObject
- type ReportProcessTimes
- type ReportProcessVersionInfo
- type ReportResponse
- type ReportSandbox
- type ReportSandboxPlan
- type ReportScores
- type ReportSoftware
- type ReportSpecs
- type ReportTLSFingerprint
- type ReportThreat
- type ReportTor
- type ReportVerdict
- type Screenshot
- type SearchRequest
- type SearchResponse
- type SourceTask
- type Summary
- type SummaryDetails
- type Tag
- type Tags
- type TaskEnvSoftware
- type TaskEnvironment
- type TaskEnvironmentIE
- type TaskEnvironmentSoft
- type TaskHistory
- type TaskMessageResponse
- type TaskReport
- type TaskReportAnalysis
- type TaskStatus
- type TaskStatusActions
- type TaskStatusEnvironment
- type TaskStatusEnvironmentOS
- type TaskStatusMainObject
- type TaskStatusMainObjectNames
- type TaskStatusObjects
- type TaskStatusOptions
- type TaskStatusPublic
- type TaskStatusScores
- type TaskStatusSpecs
- type TaskStatusTimes
- type TaskStatusVerdict
- type TaskSubmission
- type TasksHistoryResponse
- type TaxiiAPIRoot
- type TaxiiCollection
- type TaxiiCollections
- type TaxiiDiscovery
- type TaxiiEnvelope
- type TaxiiManifest
- type TaxiiManifestEntry
- type TaxiiManifestParams
- type TaxiiObjectsParams
- type TaxiiPageInfo
- type ThreatNameCount
- type UserLimitWindow
- type UserLimits
- type UserPreset
- type YaraJobInfo
- type YaraLookupResultsStix
- type YaraProcessInfo
- type YaraSearchRequest
- type YaraSearchResults
- type YaraSearchResultsCount
- type YaraStixBundle
- type YaraStixFile
- type YaraStixReference
Constants ¶
View Source
const ( DefaultBaseURL = "https://api.any.run" DefaultTimeout = 30 * time.Second APIKeyPrefix = "API-Key " )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteTask ¶
func (c *Client) DeleteTask(taskUUID string) (*TaskMessageResponse, error)
func (*Client) DownloadYaraResults ¶
func (c *Client) DownloadYaraResults(queryID, format string) (*YaraLookupResultsStix, error)
func (*Client) GetEnvironments ¶
func (c *Client) GetEnvironments() ([]TaskEnvironment, error)
func (*Client) GetHistory ¶
func (c *Client) GetHistory(team bool, skip, limit int) (*TasksHistoryResponse, error)
func (*Client) GetUserLimits ¶
func (c *Client) GetUserLimits() (*UserLimits, error)
func (*Client) GetUserPresets ¶
func (c *Client) GetUserPresets() ([]UserPreset, error)
func (*Client) GetYaraResults ¶
func (*Client) GetYaraResultsCount ¶
func (c *Client) GetYaraResultsCount(queryID string) (*YaraSearchResultsCount, error)
func (*Client) MonitorTask ¶
func (c *Client) MonitorTask(taskUUID string, onEvent func(MonitorEvent) error) error
func (*Client) MonitorTaskStream ¶
func (c *Client) MonitorTaskStream(taskUUID string) (io.ReadCloser, error)
func (*Client) SearchThreatIntelligence ¶
func (c *Client) SearchThreatIntelligence(req SearchRequest) (*SearchResponse, error)
func (*Client) StartYaraSearch ¶
func (c *Client) StartYaraSearch(rule string) (*YaraJobInfo, error)
func (*Client) StopYaraSearch ¶
func (c *Client) StopYaraSearch(queryID string) (*YaraJobInfo, error)
func (*Client) SubmitTask ¶
func (c *Client) SubmitTask(req *CreateTaskRequest) (*TaskSubmission, error)
func (*Client) TaxiiDiscovery ¶
func (c *Client) TaxiiDiscovery() (*TaxiiDiscovery, error)
func (*Client) TaxiiGetAPIRoot ¶
func (c *Client) TaxiiGetAPIRoot() (*TaxiiAPIRoot, error)
func (*Client) TaxiiGetCollection ¶
func (c *Client) TaxiiGetCollection(collectionID string) (*TaxiiCollection, error)
func (*Client) TaxiiGetCollections ¶
func (c *Client) TaxiiGetCollections() (*TaxiiCollections, error)
func (*Client) TaxiiGetManifest ¶
func (c *Client) TaxiiGetManifest(collectionID string, params TaxiiManifestParams) (*TaxiiManifest, *TaxiiPageInfo, error)
func (*Client) TaxiiGetObject ¶
func (c *Client) TaxiiGetObject(collectionID, objectID string) (*TaxiiEnvelope, *TaxiiPageInfo, error)
func (*Client) TaxiiGetObjects ¶
func (c *Client) TaxiiGetObjects(collectionID string, params TaxiiObjectsParams) (*TaxiiEnvelope, *TaxiiPageInfo, error)
type CountryCount ¶
type CreateTaskRequest ¶
type CreateTaskRequest struct {
ObjType string `json:"obj_type"`
File io.Reader
FileName string
ObjURL string `json:"obj_url,omitempty"`
TaskRerunUUID string `json:"task_rerun_uuid,omitempty"`
EnvOS string `json:"env_os,omitempty"`
EnvBitness int `json:"env_bitness,omitempty"`
EnvVersion string `json:"env_version,omitempty"`
EnvType string `json:"env_type,omitempty"`
EnvLocale string `json:"env_locale,omitempty"`
OptNetworkConnect *bool `json:"opt_network_connect,omitempty"`
OptNetworkFakenet bool `json:"opt_network_fakenet,omitempty"`
OptNetworkTor bool `json:"opt_network_tor,omitempty"`
OptNetworkGeo string `json:"opt_network_geo,omitempty"`
OptNetworkMitm bool `json:"opt_network_mitm,omitempty"`
OptNetworkResidentialProxy bool `json:"opt_network_residential_proxy,omitempty"`
OptNetworkResidentialProxyGeo string `json:"opt_network_residential_proxy_geo,omitempty"`
OptPrivacyType string `json:"opt_privacy_type,omitempty"`
OptTimeout int `json:"opt_timeout,omitempty"`
OptAutomatedInteractivity *bool `json:"opt_automated_interactivity,omitempty"`
OptAutoDeleteAfter string `json:"opt_auto_delete_after,omitempty"`
ObjExtStartFolder string `json:"obj_ext_startfolder,omitempty"`
ObjExtCmd string `json:"obj_ext_cmd,omitempty"`
ObjExtBrowser string `json:"obj_ext_browser,omitempty"`
ObjExtUseragent string `json:"obj_ext_useragent,omitempty"`
ObjExtElevatePrompt bool `json:"obj_ext_elevateprompt,omitempty"`
ObjForceElevation bool `json:"obj_force_elevation,omitempty"`
AutoConfirmUAC *bool `json:"auto_confirm_uac,omitempty"`
RunAsRoot bool `json:"run_as_root,omitempty"`
ObjExtExtension bool `json:"obj_ext_extension,omitempty"`
OptPrivacyHideSource bool `json:"opt_privacy_hidesource,omitempty"`
UserTags string `json:"user_tags,omitempty"`
}
func NewCreateTaskRequest ¶
func NewCreateTaskRequest() *CreateTaskRequest
type DestinationIP ¶
type DestinationIPASN ¶
type Event ¶
type Event struct {
RuleName string `json:"ruleName"`
CommandLine string `json:"commandLine"`
ImagePath string `json:"imagePath"`
PID float64 `json:"pid"`
Title []string `json:"title"`
DestinationPort []string `json:"destinationPort"`
DestinationIP string `json:"destinationIP"`
DestinationIPGeo []string `json:"destinationIPgeo"`
DestinationIPASN []string `json:"destinationIpAsn"`
URL string `json:"url"`
FileName string `json:"fileName"`
RegistryKey string `json:"registryKey"`
RegistryName []string `json:"registryName"`
RegistryValue []string `json:"registryValue"`
ModuleImagePath string `json:"moduleImagePath"`
InjectedFlag bool `json:"injectedFlag"`
DomainName []string `json:"domainName"`
HTTPRequestContentType string `json:"httpRequestContentType"`
HTTPRequestContentFile string `json:"httpRequestContentFile"`
HTTPResponseContentType string `json:"httpResponseContentType"`
HTTPResponseContentFile string `json:"httpResponseContentFile"`
RuleThreatLevel string `json:"ruleThreatLevel"`
SHA256 string `json:"sha256"`
}
type EventsCounters ¶
type EventsCounters struct {
Raw EventsCountersRaw `json:"raw"`
}
type EventsCountersRaw ¶
type GetYaraResultsParams ¶
type HistoryParams ¶
type MainObject ¶
type MatchedSample ¶
type MatchedSample struct {
FirstSeen string `json:"firstSeen"`
LastSeen string `json:"lastSeen"`
Hashes MatchedSampleHashes `json:"hashes"`
Download string `json:"download"`
Tasks []string `json:"tasks"`
FilePartName string `json:"filePartName"`
FileFullName string `json:"fileFullName"`
FileSize int64 `json:"fileSize"`
FileExt string `json:"fileExt"`
RelatedTags []string `json:"relatedTags"`
Process *YaraProcessInfo `json:"process"`
DiscoveringEntryID string `json:"discoveringEntryId"`
Task string `json:"task"`
TaskUUID string `json:"taskUUID"`
}
type MatchedSampleHashes ¶
type MonitorEvent ¶
type MonitorEvent struct {
Task *TaskStatus `json:"task"`
Completed bool `json:"completed"`
Error bool `json:"error"`
Message string `json:"message"`
}
type ObjectTrid ¶
type ParallelsLimit ¶
type Process ¶
type Process struct {
CommandLine string `json:"commandLine"`
ImagePath string `json:"imagePath"`
ThreatName string `json:"threatName"`
MITRE []string `json:"MITRE"`
PID float64 `json:"pid"`
Scores ProcessScores `json:"scores"`
EventsCounters EventsCounters `json:"eventsCounters"`
ThreatLevel float64 `json:"threatLevel"`
}
type ProcessDump ¶
type ProcessScores ¶
type ProcessScores struct {
Specs ProcessScoresSpecs `json:"specs"`
}
type ProcessScoresSpecs ¶
type ProcessScoresSpecs struct {
KnownThreat bool `json:"known_threat"`
NetworkLoader bool `json:"network_loader"`
Network bool `json:"network"`
UACRequest bool `json:"uac_request"`
Injects bool `json:"injects"`
ServiceLuncher bool `json:"service_luncher"`
ExecutableDropped bool `json:"executable_dropped"`
Multiprocessing bool `json:"multiprocessing"`
CrashedApps bool `json:"crashed_apps"`
DebugOutput bool `json:"debug_output"`
Stealing bool `json:"stealing"`
Exploitable bool `json:"exploitable"`
StaticDetections bool `json:"static_detections"`
SuspStruct bool `json:"susp_struct"`
Autostart bool `json:"autostart"`
LowAccess bool `json:"low_access"`
Tor bool `json:"tor"`
Spam bool `json:"spam"`
MalwareConfig bool `json:"malware_config"`
ProcessDump bool `json:"process_dump"`
}
type RelatedDNS ¶
type RelatedFile ¶
type RelatedIncident ¶
type RelatedNetworkThreat ¶
type RelatedNetworkThreat struct {
SuricataClass string `json:"suricataClass"`
ImagePath string `json:"imagePath"`
SuricataID string `json:"suricataID"`
SuricataMessage string `json:"suricataMessage"`
Tags []string `json:"tags"`
MITRE []string `json:"MITRE"`
SuricataThreatLevel string `json:"suricataThreatLevel"`
Task string `json:"task"`
}
type RelatedURL ¶
type ReportArtifact ¶
type ReportAutomatization ¶
type ReportConnection ¶
type ReportConnection struct {
IP string `json:"ip"`
Port int `json:"port"`
Protocol string `json:"protocol"`
Country string `json:"country"`
ASN string `json:"asn"`
Time string `json:"time"`
Process string `json:"process"`
TLSFingerprint ReportTLSFingerprint `json:"tlsFingerprint"`
Reputation string `json:"reputation"`
}
type ReportContent ¶
type ReportContent struct {
MainObject ReportMainObject `json:"mainObject"`
Video ReportArtifact `json:"video"`
PCAP ReportArtifact `json:"pcap"`
SSLKeys ReportArtifact `json:"sslkeys"`
Screenshots []Screenshot `json:"screenshots"`
Dumps []ProcessDump `json:"dumps"`
}
type ReportCounterFiles ¶
type ReportCounterNetwork ¶
type ReportCounterProcesses ¶
type ReportCounterRegistry ¶
type ReportCounterSync ¶
type ReportCounterSync struct {
Total int `json:"total"`
Operation ReportCounterSyncOp `json:"operation"`
Type ReportCounterSyncType `json:"type"`
}
type ReportCounterSyncOp ¶
type ReportCounterSyncType ¶
type ReportCounters ¶
type ReportCounters struct {
Processes ReportCounterProcesses `json:"processes"`
Network ReportCounterNetwork `json:"network"`
Files ReportCounterFiles `json:"files"`
Registry ReportCounterRegistry `json:"registry"`
Synchronization ReportCounterSync `json:"synchronization"`
}
type ReportDNSRequest ¶
type ReportDebugString ¶
type ReportEnvironment ¶
type ReportEnvironment struct {
OS ReportEnvironmentOS `json:"os"`
InternetExplorer ReportEnvironmentIE `json:"internetExplorer"`
Software []ReportSoftware `json:"software"`
Hotfixes []ReportHotfix `json:"hotfixes"`
}
type ReportEnvironmentIE ¶
type ReportEnvironmentOS ¶
type ReportEnvironmentOS struct {
Title string `json:"title"`
Build int `json:"build"`
Product string `json:"product"`
Variant string `json:"variant"`
ProductType string `json:"productType"`
Bitness int `json:"bitness"`
Major string `json:"major"`
ServicePack string `json:"servicePack"`
SoftSet string `json:"softSet"`
}
type ReportEnvironments ¶
type ReportEnvironments []ReportEnvironment
func (*ReportEnvironments) UnmarshalJSON ¶
func (re *ReportEnvironments) UnmarshalJSON(b []byte) error
type ReportHTTPBody ¶
type ReportHTTPBody struct {
Request ReportHTTPMessage `json:"request"`
Response ReportHTTPMessage `json:"response"`
}
type ReportHTTPMessage ¶
type ReportHTTPRequest ¶
type ReportHTTPRequest struct {
Time int64 `json:"time"`
Method string `json:"method"`
Host string `json:"host"`
URL string `json:"url"`
IP string `json:"ip"`
Port int `json:"port"`
ProxyDetected bool `json:"proxyDetected"`
UserAgent string `json:"user-agent"`
Status string `json:"status"`
HTTPCode int `json:"httpCode"`
Process string `json:"process"`
Reputation string `json:"reputation"`
Country string `json:"country"`
Body ReportHTTPBody `json:"body"`
}
type ReportHotfix ¶
type ReportHotfix struct {
Title string `json:"title"`
}
type ReportIncident ¶
type ReportIncident struct {
ThreatLevel int `json:"threatLevel"`
Title string `json:"title"`
Desc string `json:"desc"`
Source string `json:"source"`
FirstSeen int64 `json:"firstSeen"`
Count int `json:"count"`
Process string `json:"process"`
Mitre []ReportIncidentMitre `json:"mitre"`
Events []ReportIncidentEvent `json:"events"`
}
type ReportIncidentEvent ¶
type ReportIncidentEvent struct {
ID string `json:"_id"`
Time any `json:"time"`
Image string `json:"image"`
Cmdline string `json:"cmdline"`
CmdChild string `json:"cmdChild"`
CmdParent string `json:"cmdParent"`
Size string `json:"size"`
Address string `json:"address"`
Protect string `json:"protect"`
Status string `json:"status"`
Operation string `json:"operation"`
Device string `json:"device"`
Object string `json:"object"`
Name string `json:"name"`
Created string `json:"created"`
Newname string `json:"newname"`
Access string `json:"access"`
Filename string `json:"filename"`
ContentType string `json:"contentType"`
MD5 string `json:"md5"`
SHA1 string `json:"sha1"`
SHA256 string `json:"sha256"`
Key string `json:"key"`
Value string `json:"value"`
TypeValue string `json:"typeValue"`
Process string `json:"process"`
IPDst string `json:"ipDst"`
IPSrc string `json:"ipSrc"`
PortDst any `json:"portDst"`
PortSrc any `json:"portSrc"`
Protocol string `json:"protocol"`
Host string `json:"host"`
URL string `json:"url"`
IP string `json:"ip"`
Port any `json:"port"`
Request string `json:"request"`
Method string `json:"method"`
Proxy bool `json:"proxy"`
Type string `json:"type"`
IsWhiteListed bool `json:"isWhiteListed"`
Return string `json:"Return"`
Transport string `json:"transport"`
SID string `json:"SID"`
IPDstPacket string `json:"ipDstPacket"`
IPSrcPacket string `json:"ipSrcPacket"`
TotalBytes string `json:"totalBytes"`
EventID string `json:"eventId"`
}
type ReportIncidentMitre ¶
type ReportLinks ¶
type ReportMainObject ¶
type ReportMainObjectInfo ¶
type ReportMalconf ¶
type ReportMalconf struct {
Config ReportMalconfConfig `json:"config"`
Family string `json:"family"`
ProcessPID int `json:"processPID"`
ProcessTime int64 `json:"processTime"`
}
type ReportMalconfConfig ¶
type ReportMitre ¶
type ReportModified ¶
type ReportModified struct {
Files []ReportModifiedFile `json:"files"`
Registry []ReportModifiedRegistry `json:"registry"`
}
type ReportModifiedFile ¶
type ReportModifiedFile struct {
Time int64 `json:"time"`
Filename string `json:"filename"`
Size int64 `json:"size"`
Type string `json:"type"`
ThreatLevel string `json:"threatLevel"`
Process string `json:"process"`
PermanentURL string `json:"permanentUrl"`
Info ReportModifiedFileInfo `json:"info"`
Hashes Hashes `json:"hashes"`
}
type ReportModifiedFileInfo ¶
type ReportModifiedRegistry ¶
type ReportNetwork ¶
type ReportNetwork struct {
DNSRequests []ReportDNSRequest `json:"dnsRequests"`
HTTPRequests []ReportHTTPRequest `json:"httpRequests"`
Connections []ReportConnection `json:"connections"`
Threats []ReportThreat `json:"threats"`
}
type ReportOptions ¶
type ReportOptions struct {
Timeout int `json:"timeout"`
AdditionalTime int `json:"additionalTime"`
FakeNet bool `json:"fakeNet"`
HeavyEvasion bool `json:"heavyEvasion"`
MITM bool `json:"mitm"`
Presentation bool `json:"presentation"`
Video bool `json:"video"`
HideSource bool `json:"hideSource"`
Network bool `json:"network"`
Privacy string `json:"privacy"`
PrivateSample bool `json:"privateSample"`
Tor ReportTor `json:"tor"`
Automatization ReportAutomatization `json:"automatization"`
}
type ReportProcess ¶
type ReportProcess struct {
PID int `json:"pid"`
PPID int `json:"ppid"`
UUID string `json:"uuid"`
ParentUUID string `json:"parentUUID"`
Important bool `json:"important"`
Image string `json:"image"`
CommandLine string `json:"commandLine"`
FileName string `json:"fileName"`
FileType string `json:"fileType"`
MainProcess bool `json:"mainProcess"`
Times ReportProcessTimes `json:"times"`
VersionInfo ReportProcessVersionInfo `json:"versionInfo"`
Cert ReportProcessCert `json:"cert"`
ResolvedCOM ReportProcessResolvedCOM `json:"resolvedCOM"`
Context ReportProcessContext `json:"context"`
Scores ReportProcessScores `json:"scores"`
ThreatName string `json:"threatName"`
Status string `json:"status"`
ExitCode int64 `json:"exitCode"`
HasMalwareConfig bool `json:"hasMalwareConfig"`
Modules []ReportProcessModule `json:"modules"`
Synchronization []ReportProcessSyncObject `json:"synchronization"`
}
type ReportProcessCert ¶
type ReportProcessContext ¶
type ReportProcessModule ¶
type ReportProcessResolvedCOM ¶
type ReportProcessResolvedCOM struct {
Title string `json:"title"`
Module ReportProcessResolvedCOMModule `json:"module"`
}
type ReportProcessScores ¶
type ReportProcessScores struct {
MonitoringReason string `json:"monitoringReason"`
Dropped bool `json:"dropped"`
Injected bool `json:"injected"`
LoadsSusp bool `json:"loadsSusp"`
Verdict ReportVerdict `json:"verdict"`
Specs ReportProcessSpecs `json:"specs"`
}
type ReportProcessSpecs ¶
type ReportProcessSpecs struct {
AutoStart bool `json:"autoStart"`
CrashedApps bool `json:"crashedApps"`
DebugOutput bool `json:"debugOutput"`
ExecutableDropped bool `json:"executableDropped"`
Exploitable bool `json:"exploitable"`
Injects bool `json:"injects"`
KnownThreat bool `json:"knownThreat"`
LowAccess bool `json:"lowAccess"`
Network bool `json:"network"`
NetworkLoader bool `json:"networkLoader"`
Stealing bool `json:"stealing"`
PrivEscalation bool `json:"privEscalation"`
MalwareConfig bool `json:"malwareConfig"`
}
type ReportProcessSyncObject ¶
type ReportProcessTimes ¶
type ReportResponse ¶
type ReportResponse struct {
Error bool `json:"error"`
Data TaskReport `json:"data"`
}
type ReportSandbox ¶
type ReportSandbox struct {
Name string `json:"name"`
Plan ReportSandboxPlan `json:"plan"`
}
type ReportSandboxPlan ¶
type ReportSandboxPlan struct {
Name string `json:"name"`
}
type ReportScores ¶
type ReportScores struct {
Verdict ReportVerdict `json:"verdict"`
Specs ReportSpecs `json:"specs"`
}
type ReportSoftware ¶
type ReportSpecs ¶
type ReportSpecs struct {
AutoStart bool `json:"autoStart"`
CPUOverrun bool `json:"cpuOverrun"`
CrashedApps bool `json:"crashedApps"`
CrashedTask bool `json:"crashedTask"`
DebugOutput bool `json:"debugOutput"`
ExecutableDropped bool `json:"executableDropped"`
Exploitable bool `json:"exploitable"`
Injects bool `json:"injects"`
KnownThreat bool `json:"knownThreat"`
LowAccess bool `json:"lowAccess"`
MalwareConfig bool `json:"malwareConfig"`
MemOverrun bool `json:"memOverrun"`
Multiprocessing bool `json:"multiprocessing"`
NetworkLoader bool `json:"networkLoader"`
NetworkThreats bool `json:"networkThreats"`
NotStarted bool `json:"notStarted"`
PrivEscalation bool `json:"privEscalation"`
Rebooted bool `json:"rebooted"`
ServiceLauncher bool `json:"serviceLauncher"`
Spam bool `json:"spam"`
StaticDetections bool `json:"staticDetections"`
Stealing bool `json:"stealing"`
SuspStruct bool `json:"suspStruct"`
TorUsed bool `json:"torUsed"`
}
type ReportTLSFingerprint ¶
type ReportThreat ¶
type ReportThreat struct {
Time string `json:"time"`
DstIP string `json:"dstip"`
SrcIP string `json:"srcip"`
DstPort int `json:"dstport"`
SrcPort int `json:"srcport"`
SID int `json:"sid"`
Class string `json:"class"`
Msg string `json:"msg"`
Pro int `json:"pro"`
Priority int `json:"priority"`
Process string `json:"process"`
}
type ReportVerdict ¶
type Screenshot ¶
type SearchRequest ¶
type SearchResponse ¶
type SearchResponse struct {
DestinationPort []float64 `json:"destinationPort"`
DestinationIPGeo []string `json:"destinationIPgeo"`
DestinationIPASN []DestinationIPASN `json:"destinationIpAsn"`
RelatedTasks []string `json:"relatedTasks"`
ThreatName []ThreatNameCount `json:"threatName"`
SubmissionCountries []CountryCount `json:"submissionCountries"`
Industries []Industry `json:"industries"`
RelatedIncidents []RelatedIncident `json:"relatedIncidents"`
DestinationIP []DestinationIP `json:"destinationIP"`
RelatedFiles []RelatedFile `json:"relatedFiles"`
RelatedDNS []RelatedDNS `json:"relatedDNS"`
RelatedURLs []RelatedURL `json:"relatedURLs"`
SourceTasks []SourceTask `json:"sourceTasks"`
RelatedSynchronizationObjects []RelatedSynchronizationObject `json:"relatedSynchronizationObjects"`
RelatedNetworkThreats []RelatedNetworkThreat `json:"relatedNetworkThreats"`
Summary Summary `json:"summary"`
TotalTasks float64 `json:"totalTasks"`
TotalRelatedFiles float64 `json:"totalRelatedFiles"`
TotalRelatedURLs float64 `json:"totalRelatedURLs"`
TotalRelatedDNSs float64 `json:"totalRelatedDNSs"`
TotalDestinationIP float64 `json:"totalDestinationIP"`
TotalRelatedIncidents float64 `json:"totalRelatedIncidents"`
TotalRelatedSynchronizationObjects float64 `json:"totalRelatedSynchronizationObjects"`
TotalNetworkThreats float64 `json:"totalNetworkThreats"`
TotalDestinationPort float64 `json:"totalDestinationPort"`
TotalDestinationIPGeo float64 `json:"totalDestinationIPgeo"`
TotalDestinationIPASN float64 `json:"totalDestinationIpAsn"`
}
type SourceTask ¶
type SummaryDetails ¶
type Tag ¶
func (*Tag) UnmarshalJSON ¶
type TaskEnvSoftware ¶
type TaskEnvironment ¶
type TaskEnvironmentIE ¶
type TaskEnvironmentIE struct {
Version string `json:"version"`
}
type TaskEnvironmentSoft ¶
type TaskEnvironmentSoft struct {
IE TaskEnvironmentIE `json:"ie"`
Apps []TaskEnvSoftware `json:"apps"`
Upps []string `json:"upps"`
}
type TaskHistory ¶
type TaskHistory struct {
UUID string `json:"uuid"`
Verdict string `json:"verdict"`
Name string `json:"name"`
Related string `json:"related"`
PCAP string `json:"pcap"`
File string `json:"file"`
JSON string `json:"json"`
MISP string `json:"misp"`
Date string `json:"date"`
Tags Tags `json:"tags"`
Hashes Hashes `json:"hashes"`
}
type TaskMessageResponse ¶
type TaskReport ¶
type TaskReport struct {
Analysis TaskReportAnalysis `json:"analysis"`
Environments ReportEnvironments `json:"environments"`
Counters ReportCounters `json:"counters"`
Processes []ReportProcess `json:"processes"`
Network ReportNetwork `json:"network"`
Modified ReportModified `json:"modified"`
Incidents []ReportIncident `json:"incidents"`
Mitre []ReportMitre `json:"mitre"`
Malconf []ReportMalconf `json:"malconf"`
DebugStrings []ReportDebugString `json:"debugStrings"`
Status string `json:"status"`
}
type TaskReportAnalysis ¶
type TaskReportAnalysis struct {
UUID string `json:"uuid"`
PermanentURL string `json:"permanentUrl"`
Duration int `json:"duration"`
Creation int64 `json:"creation"`
CreationText string `json:"creationText"`
StopExec int64 `json:"stopExec"`
StopExecText string `json:"stopExecText"`
Reports ReportLinks `json:"reports"`
Tags Tags `json:"tags"`
Sandbox ReportSandbox `json:"sandbox"`
Options ReportOptions `json:"options"`
Scores ReportScores `json:"scores"`
Content ReportContent `json:"content"`
}
type TaskStatus ¶
type TaskStatus struct {
ID string `json:"_id"`
UUID string `json:"uuid"`
Status int `json:"status"`
Remaining int `json:"remaining"`
Times TaskStatusTimes `json:"times"`
Public TaskStatusPublic `json:"public"`
Tags Tags `json:"tags"`
UsersTags Tags `json:"usersTags"`
Scores TaskStatusScores `json:"scores"`
Actions TaskStatusActions `json:"actions"`
Threats []string `json:"threats"`
}
type TaskStatusActions ¶
type TaskStatusActions struct {
ManualClosed bool `json:"manualclosed"`
}
type TaskStatusEnvironment ¶
type TaskStatusEnvironment struct {
OS TaskStatusEnvironmentOS `json:"OS"`
}
type TaskStatusEnvironmentOS ¶
type TaskStatusEnvironmentOS struct {
Full string `json:"full"`
Build int `json:"build"`
Product string `json:"product"`
Variant string `json:"variant"`
ProductType string `json:"product_type"`
Bitness string `json:"bitness"`
Major string `json:"major"`
SP string `json:"sp"`
Type string `json:"type"`
ElPrompt bool `json:"elPrompt"`
}
type TaskStatusMainObject ¶
type TaskStatusMainObject struct {
Names TaskStatusMainObjectNames `json:"names"`
Hashes Hashes `json:"hashes"`
}
type TaskStatusObjects ¶
type TaskStatusObjects struct {
RunType string `json:"runType"`
MainObject TaskStatusMainObject `json:"mainObject"`
}
type TaskStatusOptions ¶
type TaskStatusOptions struct {
Private string `json:"private"`
Whitelist []string `json:"whitelist"`
MITM bool `json:"mitm"`
Fakenet bool `json:"fakenet"`
OpenVPN string `json:"openVPN"`
TorGeo string `json:"torGeo"`
Netviator bool `json:"netviator"`
NetConnected bool `json:"netConnected"`
Network string `json:"network"`
Logger string `json:"logger"`
Presentation bool `json:"presentation"`
Teamwork bool `json:"teamwork"`
Reboots bool `json:"reboots"`
Onlyimportant bool `json:"onlyimportant"`
Video bool `json:"video"`
Locale string `json:"locale"`
ResidentialProxyGeo string `json:"residentialProxyGeo"`
ResidentialProxy bool `json:"residentialProxy"`
AutoclickerDebugMode bool `json:"autoclickerDebugMode"`
Autoclicker bool `json:"autoclicker"`
ChatGPT bool `json:"chatGPT"`
}
type TaskStatusPublic ¶
type TaskStatusPublic struct {
MaxAddedTimeReached bool `json:"maxAddedTimeReached"`
Objects TaskStatusObjects `json:"objects"`
Options TaskStatusOptions `json:"options"`
Environment TaskStatusEnvironment `json:"environment"`
}
type TaskStatusScores ¶
type TaskStatusScores struct {
Verdict TaskStatusVerdict `json:"verdict"`
Specs TaskStatusSpecs `json:"specs"`
}
type TaskStatusSpecs ¶
type TaskStatusSpecs struct {
Autostart bool `json:"autostart"`
BadModuleCert bool `json:"bad_module_certificate"`
BadProcessCert bool `json:"bad_process_certificate"`
CPUOverrun bool `json:"cpu_overrun"`
CrashedApps bool `json:"crashed_apps"`
CrashedTask bool `json:"crashed_task"`
DebugOutput bool `json:"debug_output"`
ExecutableDropped bool `json:"executable_dropped"`
Exploitable bool `json:"exploitable"`
HasTrace bool `json:"has_trace"`
Injects bool `json:"injects"`
KnownThreat bool `json:"known_threat"`
LowAccess bool `json:"low_access"`
MalwareConfig bool `json:"malware_config"`
MemOverrun bool `json:"mem_overrun"`
Multiprocessing bool `json:"multiprocessing"`
NetworkLoader bool `json:"network_loader"`
NetworkThreats bool `json:"network_threats"`
NotStarted bool `json:"not_started"`
ProcessDump bool `json:"process_dump"`
Reboot bool `json:"reboot"`
ServiceLuncher bool `json:"service_luncher"`
Spam bool `json:"spam"`
StaticDetections bool `json:"static_detections"`
Stealing bool `json:"stealing"`
SuspStruct bool `json:"susp_struct"`
Tor bool `json:"tor"`
UACRequest bool `json:"uac_request"`
}
type TaskStatusTimes ¶
type TaskStatusVerdict ¶
type TaskSubmission ¶
type TaskSubmission struct {
Error bool `json:"error"`
Message string `json:"message"`
TaskID string `json:"taskid"`
QueueTaskID string `json:"queueTaskId"`
}
func (*TaskSubmission) Queued ¶
func (s *TaskSubmission) Queued() bool
func (*TaskSubmission) UnmarshalJSON ¶
func (s *TaskSubmission) UnmarshalJSON(b []byte) error
type TasksHistoryResponse ¶
type TasksHistoryResponse struct {
Error bool `json:"error"`
Data struct {
Tasks []TaskHistory `json:"tasks"`
} `json:"data"`
}
type TaxiiAPIRoot ¶
type TaxiiCollection ¶
type TaxiiCollections ¶
type TaxiiCollections struct {
Collections []TaxiiCollection `json:"collections"`
}
type TaxiiDiscovery ¶
type TaxiiEnvelope ¶
type TaxiiManifest ¶
type TaxiiManifestEntry ¶
type TaxiiManifestParams ¶
type TaxiiObjectsParams ¶
type TaxiiPageInfo ¶
type ThreatNameCount ¶
type UserLimitWindow ¶
type UserLimits ¶
type UserLimits struct {
Web UserLimitWindow `json:"web"`
API UserLimitWindow `json:"api"`
Parallels ParallelsLimit `json:"parallels"`
}
type UserPreset ¶
type UserPreset struct {
ID string `json:"_id"`
Name string `json:"name"`
UserID string `json:"userId"`
UserPlanName string `json:"userPlanName"`
CreateTime string `json:"createTime"`
ExpirationTimeSelected bool `json:"expirationTimeSelected"`
ExpirationTime string `json:"expirationTime"`
Privacy string `json:"privacy"`
Timeout int `json:"timeout"`
Type string `json:"type"`
OS string `json:"os"`
Version string `json:"version"`
Bitness int `json:"bitness"`
Is64Bit bool `json:"is64Bit"`
Locale string `json:"locale"`
Autoclicker bool `json:"autoclicker"`
Browser string `json:"browser"`
ChatGPT bool `json:"chatGPT"`
EL bool `json:"el"`
Extension bool `json:"extension"`
HideSource bool `json:"hide_source"`
Location string `json:"location"`
Network string `json:"network"`
NetConnected bool `json:"netConnected"`
Netviator bool `json:"netviator"`
MITM bool `json:"mitm"`
Fakenet bool `json:"fakenet"`
NoControls bool `json:"noControls"`
VPN bool `json:"vpn"`
OpenVPN string `json:"openVPN"`
ResidentialProxy bool `json:"residentialProxy"`
ResidentialProxyGeo string `json:"residentialProxyGeo"`
TorGeo string `json:"torGeo"`
}
type YaraJobInfo ¶
type YaraJobInfo struct {
Query string `json:"query"`
QueryID string `json:"queryId"`
RuleName string `json:"ruleName"`
Status string `json:"status"`
Created string `json:"created"`
TimesLeft float64 `json:"timesLeft"`
Progress float64 `json:"progress"`
NormalizedQueryHash string `json:"normalizedQueryHash"`
}
type YaraLookupResultsStix ¶
type YaraLookupResultsStix struct {
Status string `json:"status"`
Data YaraStixBundle `json:"data"`
}
type YaraProcessInfo ¶
type YaraProcessInfo struct {
ProcessOID string `json:"processOID"`
PID int `json:"pid"`
Cmd string `json:"cmd"`
Image string `json:"image"`
ProcessScoresSpecs ProcessScoresSpecs `json:"processScoresSpecs"`
ThreatName string `json:"threatName"`
ThreatScore float64 `json:"threatScore"`
EventsCounters EventsCounters `json:"eventsCounters"`
}
type YaraSearchRequest ¶
type YaraSearchRequest struct {
Query string `json:"query"`
}
type YaraSearchResults ¶
type YaraSearchResults struct {
SearchInfo YaraJobInfo `json:"searchInfo"`
Matches []MatchedSample `json:"matches"`
}
type YaraSearchResultsCount ¶
type YaraSearchResultsCount struct {
FoundMatches int64 `json:"foundMatches"`
SearchInfo YaraJobInfo `json:"searchInfo"`
}
type YaraStixBundle ¶
type YaraStixBundle struct {
Type string `json:"type"`
ID string `json:"id"`
Objects []YaraStixFile `json:"objects"`
}
type YaraStixFile ¶
type YaraStixFile struct {
Type string `json:"type"`
ID string `json:"id"`
Hashes map[string]string `json:"hashes"`
ExternalReferences []YaraStixReference `json:"external_references"`
}
type YaraStixReference ¶
Click to show internal directories.
Click to hide internal directories.