Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/03/2024, 01:13

General

  • Target
    e06ae8f7d80ef958686b2378d3936803.exe
  • Size 11.8MB
  • Sample240327-bk4sbabf81
  • SHA256 0b971b889d6ff55f096419e35a24a5560f5085f2cba575d60e4629a51b8fa776
  • 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\e06ae8f7d80ef958686b2378d3936803.exe
    "C:\Users\Admin\AppData\Local\Temp\e06ae8f7d80ef958686b2378d3936803.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sqhdylwo\
      2⤵
        PID:4192
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mohszhvl.exe" C:\Windows\SysWOW64\sqhdylwo\
        2⤵
          PID:4800
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create sqhdylwo binPath= "C:\Windows\SysWOW64\sqhdylwo\mohszhvl.exe /d\"C:\Users\Admin\AppData\Local\Temp\e06ae8f7d80ef958686b2378d3936803.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2436
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description sqhdylwo "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3524
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start sqhdylwo
          2⤵
          • Launches sc.exe
          PID:4616
        • 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:4680
      • C:\Windows\SysWOW64\sqhdylwo\mohszhvl.exe
        C:\Windows\SysWOW64\sqhdylwo\mohszhvl.exe /d"C:\Users\Admin\AppData\Local\Temp\e06ae8f7d80ef958686b2378d3936803.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4424
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4468
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4392 --field-trial-handle=2972,i,4036376905309803364,5412922217215781933,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:440

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              mohszhvl.exe

              • Path C:\Users\Admin\AppData\Local\Temp\mohszhvl.exe
              • Size 1.7MB
              • SHA256 2bd49257d2074707a23f7cafba3ffd394cf5341882d4e742d724e0a0f8d4df18
              • MD5 SHA1 SHA512 SSDEEP

              mohszhvl.exe

              • Path C:\Windows\SysWOW64\sqhdylwo\mohszhvl.exe
              • Size 3.2MB
              • SHA256 b923a04e8bf07d566aa9434d618b4759186de36f94a6039a0cfdb2468d41f6d5
              • MD5 SHA1 SHA512 SSDEEP

              memory/4104-8-0x0000000000400000-0x000000000045E000-memory.dmp

              memory/4104-3-0x0000000000400000-0x000000000045E000-memory.dmp

              memory/4104-2-0x0000000000700000-0x0000000000713000-memory.dmp

              memory/4104-7-0x0000000000400000-0x000000000045E000-memory.dmp

              memory/4104-1-0x0000000000750000-0x0000000000850000-memory.dmp

              memory/4104-9-0x0000000000700000-0x0000000000713000-memory.dmp

              memory/4424-11-0x00000000005A0000-0x00000000006A0000-memory.dmp

              memory/4424-12-0x0000000000400000-0x000000000045E000-memory.dmp

              memory/4424-15-0x0000000000400000-0x000000000045E000-memory.dmp

              memory/4468-13-0x0000000001060000-0x0000000001075000-memory.dmp

              memory/4468-18-0x0000000001060000-0x0000000001075000-memory.dmp

              memory/4468-19-0x0000000001060000-0x0000000001075000-memory.dmp

              memory/4468-20-0x0000000001060000-0x0000000001075000-memory.dmp