Analysis

  • max time kernel
    147s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/03/2024, 14:25

General

  • Target
    dbd97def3112b86e795bc31f8bdb58b6.exe
  • Size 11.1MB
  • Sample240321-rrfxtsdd83
  • SHA256 58dc195b75018955a9c8fdd8a6526a2602fb1b1a36ebd44f1e71d5e0e9fac333
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.7

  • lazystax.ru

Signatures

  • Tofsee

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

  • Creates new service(s) 1 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\dbd97def3112b86e795bc31f8bdb58b6.exe
    "C:\Users\Admin\AppData\Local\Temp\dbd97def3112b86e795bc31f8bdb58b6.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2776
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vvaxwqdk\
      2⤵
        PID:740
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lhbhnphy.exe" C:\Windows\SysWOW64\vvaxwqdk\
        2⤵
          PID:2696
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create vvaxwqdk binPath= "C:\Windows\SysWOW64\vvaxwqdk\lhbhnphy.exe /d\"C:\Users\Admin\AppData\Local\Temp\dbd97def3112b86e795bc31f8bdb58b6.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description vvaxwqdk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4732
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start vvaxwqdk
          2⤵
          • Launches sc.exe
          PID:664
        • 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
          PID:996
      • C:\Windows\SysWOW64\vvaxwqdk\lhbhnphy.exe
        C:\Windows\SysWOW64\vvaxwqdk\lhbhnphy.exe /d"C:\Users\Admin\AppData\Local\Temp\dbd97def3112b86e795bc31f8bdb58b6.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4736
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4756

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            lhbhnphy.exe

            • Path C:\Users\Admin\AppData\Local\Temp\lhbhnphy.exe
            • Size 10.8MB
            • SHA256 8c74a30f38f69877b4d903dc9482c58a5de80174af4a5d2b3be89c8b51802245
            • MD5 SHA1 SHA512 SSDEEP

            memory/2776-0-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/2776-1-0x0000000002160000-0x0000000002161000-memory.dmp

            memory/2776-2-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/2776-3-0x0000000002170000-0x0000000002171000-memory.dmp

            memory/2776-6-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4736-8-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4736-9-0x00000000004A0000-0x00000000004A1000-memory.dmp

            memory/4736-12-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4756-11-0x00000000010F0000-0x0000000001105000-memory.dmp

            memory/4756-15-0x00000000010F0000-0x0000000001105000-memory.dmp

            memory/4756-16-0x00000000010F0000-0x0000000001105000-memory.dmp

            memory/4756-17-0x00000000010F0000-0x0000000001105000-memory.dmp