Analysis

  • max time kernel
    148s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/09/2024, 03:44

General

  • Target
    3ef291e4dc9f5a6e42ae653acae1e014e90bf658c4160f6e8de7f2e4b0538460.exe
  • Size 10.5MB
  • Sample240901-eawwha1apk
  • SHA256 3ef291e4dc9f5a6e42ae653acae1e014e90bf658c4160f6e8de7f2e4b0538460
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • quadoil.ru

  • lakeflex.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3ef291e4dc9f5a6e42ae653acae1e014e90bf658c4160f6e8de7f2e4b0538460.exe
    "C:\Users\Admin\AppData\Local\Temp\3ef291e4dc9f5a6e42ae653acae1e014e90bf658c4160f6e8de7f2e4b0538460.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\irndddmg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:64
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\msnqziid.exe" C:\Windows\SysWOW64\irndddmg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1588
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create irndddmg binPath= "C:\Windows\SysWOW64\irndddmg\msnqziid.exe /d\"C:\Users\Admin\AppData\Local\Temp\3ef291e4dc9f5a6e42ae653acae1e014e90bf658c4160f6e8de7f2e4b0538460.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4648
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description irndddmg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start irndddmg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2540
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4872
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3008 -s 1040
      2⤵
      • Program crash
      PID:4656
  • C:\Windows\SysWOW64\irndddmg\msnqziid.exe
    C:\Windows\SysWOW64\irndddmg\msnqziid.exe /d"C:\Users\Admin\AppData\Local\Temp\3ef291e4dc9f5a6e42ae653acae1e014e90bf658c4160f6e8de7f2e4b0538460.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2312
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2312 -s 524
      2⤵
      • Program crash
      PID:2904
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3008 -ip 3008
    1⤵
      PID:3296
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2312 -ip 2312
      1⤵
        PID:3680

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            msnqziid.exe

            • Path C:\Users\Admin\AppData\Local\Temp\msnqziid.exe
            • Size 14.9MB
            • SHA256 ab36fce7f0edb63b7d13f0521da1ef199e5279653c402ccbcaea5c91145e7db8
            • MD5 SHA1 SHA512 SSDEEP

            memory/2312-16-0x0000000000400000-0x0000000000785000-memory.dmp

            memory/2312-12-0x0000000000400000-0x0000000000785000-memory.dmp

            memory/2848-14-0x0000000000640000-0x0000000000655000-memory.dmp

            memory/2848-15-0x0000000000640000-0x0000000000655000-memory.dmp

            memory/2848-11-0x0000000000640000-0x0000000000655000-memory.dmp

            memory/3008-2-0x00000000024E0000-0x00000000024F3000-memory.dmp

            memory/3008-1-0x0000000000900000-0x0000000000A00000-memory.dmp

            memory/3008-4-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/3008-10-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/3008-9-0x00000000024E0000-0x00000000024F3000-memory.dmp

            memory/3008-8-0x0000000000400000-0x0000000000785000-memory.dmp