Analysis

  • max time kernel
    150s
  • 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
    20/03/2024, 22:27

General

  • Target
    d9fccfc8a508d6474078e0ed707a9270.exe
  • Size 14.1MB
  • Sample240320-2c73wacg95
  • SHA256 aa8d6dcb6c5b1bd84eff93b22bd5206917f85772ff517b10bcd5668fd9736214
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.6

  • 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d9fccfc8a508d6474078e0ed707a9270.exe
    "C:\Users\Admin\AppData\Local\Temp\d9fccfc8a508d6474078e0ed707a9270.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4352
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ojfqczag\
      2⤵
        PID:3592
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\olduqhdb.exe" C:\Windows\SysWOW64\ojfqczag\
        2⤵
          PID:5056
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ojfqczag binPath= "C:\Windows\SysWOW64\ojfqczag\olduqhdb.exe /d\"C:\Users\Admin\AppData\Local\Temp\d9fccfc8a508d6474078e0ed707a9270.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2272
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ojfqczag "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3992
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ojfqczag
          2⤵
          • Launches sc.exe
          PID:1704
        • 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:2796
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4352 -s 1032
          2⤵
          • Program crash
          PID:1604
      • C:\Windows\SysWOW64\ojfqczag\olduqhdb.exe
        C:\Windows\SysWOW64\ojfqczag\olduqhdb.exe /d"C:\Users\Admin\AppData\Local\Temp\d9fccfc8a508d6474078e0ed707a9270.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5012
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2032
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5012 -s 512
          2⤵
          • Program crash
          PID:1444
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4352 -ip 4352
        1⤵
          PID:1676
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 5012 -ip 5012
          1⤵
            PID:1648

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                olduqhdb.exe

                • Path C:\Users\Admin\AppData\Local\Temp\olduqhdb.exe
                • Size 1.8MB
                • SHA256 383b4b36ce663398ea6714b50aa098975904b3aa64af8d8cd0a35306f15b7fde
                • MD5 SHA1 SHA512 SSDEEP

                olduqhdb.exe

                • Path C:\Windows\SysWOW64\ojfqczag\olduqhdb.exe
                • Size 982KB
                • SHA256 70bb96274667e60798fd7a2229277694f9650ddb159c7493b1ac48ee266449d3
                • MD5 SHA1 SHA512 SSDEEP

                memory/2032-16-0x0000000001070000-0x0000000001085000-memory.dmp

                memory/2032-11-0x0000000001070000-0x0000000001085000-memory.dmp

                memory/2032-18-0x0000000001070000-0x0000000001085000-memory.dmp

                memory/2032-19-0x0000000001070000-0x0000000001085000-memory.dmp

                memory/4352-4-0x0000000000400000-0x0000000000C14000-memory.dmp

                memory/4352-1-0x0000000000FA0000-0x00000000010A0000-memory.dmp

                memory/4352-7-0x0000000000400000-0x0000000000C14000-memory.dmp

                memory/4352-8-0x0000000000F80000-0x0000000000F93000-memory.dmp

                memory/4352-2-0x0000000000F80000-0x0000000000F93000-memory.dmp

                memory/5012-12-0x0000000000400000-0x0000000000C14000-memory.dmp

                memory/5012-17-0x0000000000400000-0x0000000000C14000-memory.dmp

                memory/5012-10-0x0000000000E90000-0x0000000000F90000-memory.dmp