Key findings
- Protobuf contracts make client/server capability boundaries explicit.
- Open source and a campaign-specific fork must be separated.
- Capability proves possibility, not use in a specific incident.
Review snapshot, method and evidence
- Snapshot
- Artefact: GetSystemInfoResponse.cs · SHA-256 45bd354d3741…
- Scope
- Archived Quasar upstream source and MITRE technique mapping; no campaign or unknown binary.
- Method
- Original architecture reconstruction from the pinned source snapshot
- Evidence
- Archived upstream source file with locally checked hash.
What we derived from this evidence set.
Quasar demonstrates why code lineage and malicious intent are not the same thing. Claims are tied to the archived message class and describe capabilities without labelling every derivative binary as an active RAT operation.
- Artefact
- GetSystemInfoResponse.cs
- SHA-256
45bd354d3741d30708107aa98372e742f8716e6a4148b5463a3c2c2e7915579e- Revision
9508779fc0e91afd03775fd3fcc766eb8fb3a393- Analysis basis
- Archived upstream source file with locally checked hash.
Scope, snapshot and evidence boundary
Archived Quasar upstream source and MITRE technique mapping; no campaign or unknown binary. The bounded question is: which architecture and behaviour claims does this specific evidence set support, and which remain attributable only to the source?
Files and checksums
- quasar/Quasar.Common/Messages/GetSystemInfoResponse.cs
45bd354d3741d30708107aa98372e742f8716e6a4148b5463a3c2c2e7915579eProtobuf response contract for system information.
Visual overview & analysis model
Client configuration → Host effect
The analysis path for this report. Every node shows what is supported, where detection can start and where the claim stops.
Client configuration
The concrete configuration bounds which infrastructure and runtime claims apply.
Join configuration fields with assembly revision.
Bound to primary researchTLS connection
The client establishes a protected connection to the configured peer.
Review certificate, destination and retry traits together.
Bound to primary researchPacket protocol
Structured packets carry control messages and results.
Bind packet class to subsequent action over time.
Bound to primary researchCapability module
A named capability is initially code surface, not proof of execution.
Require handler invocation and concrete host effect.
Bound to primary researchHost effect
Impact is assessed per received task and observed system event.
Join network, process and file telemetry.
Bounded or unresolvedConfiguration fingerprint
Review pivots derived from the report — not a live configuration or universal family indicator.
Defensive artefacts
Source, validation and limits accompany every rule.
YARAOpen rule +
rule DotNet_RAT_Quasar_Project_Identifiers {
meta:
author = "Ruhrdigital Studio"
scope = "project lineage indicator; dual-use caveat"
strings:
$client = "Quasar.Client" ascii wide
$common = "Quasar.Common" ascii wide
$messages = "Quasar.Common.Messages" ascii wide
$config = "Quasar.Client.Config" ascii wide
condition:
uint16(0) == 0x5a4d and filesize < 25MB and 3 of them
}SigmaOpen rule +
title: QuasarRAT remote-shell sequence candidate
status: experimental
logsource:
product: windows
category: process_creation
detection:
selection:
Image|endswith: '\\cmd.exe'
ParentImage|contains:
- '\\AppData\\'
- '\\Temp\\'
CommandLine|contains: '/c'
condition: selection
falsepositives:
- Legitimate administrative or software activity with the same isolated pattern
level: mediumKQLOpen rule +
DeviceProcessEvents
| where Timestamp > ago(30d) and FileName =~ "cmd.exe"
| where InitiatingProcessFolderPath has_any ("\\AppData\\", "\\Temp\\") and ProcessCommandLine has "/c"
| project Timestamp, DeviceName, ProcessCommandLine, InitiatingProcessSHA256What is supported — and what is missing
Primary sources, statically inspectable code and runtime observations carry different evidentiary weight. The map keeps those layers separate; missing first-party observation is not replaced by plausibility.
Evidence chain and open runtime gap
The map separates primary source, reproducible source snapshots and runtime evidence not collected here.
A file reference does not establish runtime behaviour. Recorded processing is not a new execution.
Evidence
Traceable source with an explicit sample gap.
Primary source
Published analysis or pinned upstream snapshot.
- Primary source → GetSystemInfoResponse.cstechnically cross-checked · Verified reference
File, commit and SHA-256 were pinned.
GetSystemInfoResponse.cs
Locally hash-bound source snapshot, read statically only.
- File
- quasar/Quasar.Common/Messages/GetSystemInfoResponse.cs
- SHA-256
- 45bd354d3741d30708107aa98372e742f8716e6a4148b5463a3c2c2e7915579e
- Location
- 1-13
- Primary source → GetSystemInfoResponse.cstechnically cross-checked · Verified reference
File, commit and SHA-256 were pinned.
- GetSystemInfoResponse.cs → No local malware sampleruntime unresolved · Unresolved
The review remains static or source-bound.
No local malware sample
No first-party runtime, C2 or campaign telemetry.
- GetSystemInfoResponse.cs → No local malware sampleruntime unresolved · Unresolved
The review remains static or source-bound.
Limit: A published observation is not an independent reproduction.
Entry and delivery chain
QuasarRAT is an openly available remote-access codebase, not one immutable campaign hash. Distribution occurs outside the project and varies by actor. This report therefore starts with the inspectable client/server and message model rather than inventing a universal infection chain.
Architecture and data flow
Shared protobuf contracts define requests and responses for system information, processes, drives, files, registry, desktop and other functions. Separate client and server handlers implement them. This explicit typing enables structural network and memory analysis without establishing an active control connection.
Original code as architecture evidence
The short excerpt shows only the structure discussed in this chapter. It is not executed and does not contain a complete operational implementation.
Original protobuf data model from the pinned Quasar source snapshot. The file defines a response shape, not its collection, transmission or actual receipt.
Show file hash
SHA-256 45bd354d3741d30708107aa98372e742f8716e6a4148b5463a3c2c2e7915579eusing ProtoBuf;
using System;
using System.Collections.Generic;
namespace Quasar.Common.Messages
{
[ProtoContract]
public class GetSystemInfoResponse : IMessage
{
[ProtoMember(1)]
public List<Tuple<string, string>> SystemInfos { get; set; }
}
}
Original source-file lines. Choose a note to highlight its range.
MIT · Source & license notice
Pinned public source ↗MIT License Copyright (c) 2023 MaxXor Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The complete interface explains the reference in the response model. An empty marker interface contains neither dispatch nor network behaviour.
Show file hash
SHA-256 8f9c58ad18fae94f4735d2b5c2469cdaf784662f15ef59b60ef1dfc17c146296namespace Quasar.Common.Messages
{
public interface IMessage
{
}
}
Original source-file lines. Choose a note to highlight its range.
MIT · Source & license notice
Pinned public source ↗MIT License Copyright (c) 2023 MaxXor Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Analysis resistance and persistence
MITRE documents Run-key/startup persistence and variants with additional evasion techniques. Such functionality can be changed or removed in forks. A namespace, certificate or class name is therefore meaningful only with protocol and host behaviour.
Capabilities, objective and impact
The codebase includes remote shell, file management, registry, process, desktop and credential capabilities. This capability list describes possible impact in the reviewed snapshot; it does not prove which function was used in a specific infection.
Telemetry plan and evidence chain
Defensive models should connect .NET/protobuf structure, persistent client installation, a long-lived outbound connection and subsequent sensitive actions. Forks reduce the value of string- or namespace-only rules; sequences remain stronger. A defensible investigation preserves process GUID and full ancestry, user and session, command line, signer and hash state, file and registry changes, DNS/connection destinations and follow-on access to sensitive data in one timeline. Temporal proximity is an evidence parameter, not mere visualization. Missing sensor coverage is marked per stage so that an unseen event is not falsely treated as an event that did not occur.
Detection engineering and countertesting
Defensive models should connect .NET/protobuf structure, persistent client installation, a long-lived outbound connection and subsequent sensitive actions. Forks reduce the value of string- or namespace-only rules; sequences remain stronger. The following model is deliberately narrow, not engine-validated and must be tested against legitimate administration and software paths.
title: QuasarRAT remote-shell sequence candidate
status: experimental
logsource:
product: windows
category: process_creation
detection:
selection:
Image|endswith: '\\cmd.exe'
ParentImage|contains:
- '\\AppData\\'
- '\\Temp\\'
CommandLine|contains: '/c'
condition: selection
falsepositives:
- Legitimate administrative or software activity with the same isolated pattern
level: medium
Line numbers refer to this excerpt. Choose a note to highlight its range.
Alternative hypotheses and negative tests
Before assigning the family, each signal used by the model is tested independently against software deployment, administration tools, installers, browser or backup software and known internal scripts. At least one structural anchor and one temporally consistent behaviour chain must align. Open upstream code is architectural evidence, not attribution of a binary or actor. The snapshot is archived; forks can change protocol, persistence and capabilities. A negative countercheck rejects only the tested hypothesis; it is not a general all-clear.
Attribution and variant risk
Open upstream code is architectural evidence, not attribution of a binary or actor. The snapshot is archived; forks can change protocol, persistence and capabilities.
Final assessment
The review provides a defensible architecture and detection baseline for the named snapshot. It is not proof of current activity, complete variant coverage or a specific operator.
Review limits
- No independent sample, runtime, C2 or campaign verification.
- Open upstream code is architectural evidence, not attribution of a binary or actor. The snapshot is archived; forks can change protocol, persistence and capabilities.
- Defensive models were not validated with a target engine.
Sources & context
These sources provide evidence and further context. Our observations, reconstructions and other authors’ results are distinguished in the relevant analysis section.
Quasar archived upstream source ↗MITRE ATT&CK — QuasarRAT S0262 ↗Conclusion
Conclusion: structure before signature
The greatest defensive value comes from connecting entry, internal architecture, persistence, impact and telemetry. Individual names, hashes or IOCs remain supporting evidence, not the conclusion.
Next steps
- Test models against synthetic positives and legitimate negatives.
- Rebind version and evidence snapshot with every update.
- Extend runtime claims only after first-party, lawfully available telemetry.
Archived Quasar upstream source and MITRE technique mapping; no campaign or unknown binary.
