Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/04/2024, 02:50

General

  • Target
    f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe
  • Size 14.0MB
  • Sample240415-db1emscg32
  • SHA256 7e9aa2336c370908afb719885d7cb83e3775c3a5c66712822dc984a70fdbccac
  • 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\f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hptiothv\
      2⤵
        PID:2420
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mntcnjxf.exe" C:\Windows\SysWOW64\hptiothv\
        2⤵
          PID:4020
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hptiothv binPath= "C:\Windows\SysWOW64\hptiothv\mntcnjxf.exe /d\"C:\Users\Admin\AppData\Local\Temp\f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3416
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hptiothv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:376
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hptiothv
          2⤵
          • Launches sc.exe
          PID:4816
        • 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:3620
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5008 -s 1036
          2⤵
          • Program crash
          PID:1852
      • C:\Windows\SysWOW64\hptiothv\mntcnjxf.exe
        C:\Windows\SysWOW64\hptiothv\mntcnjxf.exe /d"C:\Users\Admin\AppData\Local\Temp\f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3236
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:5104
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3236 -s 532
          2⤵
          • Program crash
          PID:4912
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 200 -p 5008 -ip 5008
        1⤵
          PID:4016
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 3236 -ip 3236
          1⤵
            PID:4420

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                mntcnjxf.exe

                • Path C:\Users\Admin\AppData\Local\Temp\mntcnjxf.exe
                • Size 13.9MB
                • SHA256 e3eb3fca58a57c4e99cb58833b3ecb89585c0b2279cd2e7e9491ceaccf9d9dfc
                • MD5 SHA1 SHA512 SSDEEP

                memory/3236-10-0x0000000000C00000-0x0000000000D00000-memory.dmp

                memory/3236-11-0x0000000000400000-0x00000000008EA000-memory.dmp

                memory/3236-17-0x0000000000400000-0x00000000008EA000-memory.dmp

                memory/5008-4-0x0000000000400000-0x00000000008EA000-memory.dmp

                memory/5008-2-0x0000000002620000-0x0000000002633000-memory.dmp

                memory/5008-7-0x0000000000400000-0x00000000008EA000-memory.dmp

                memory/5008-8-0x0000000002620000-0x0000000002633000-memory.dmp

                memory/5008-1-0x0000000000A60000-0x0000000000B60000-memory.dmp

                memory/5104-12-0x00000000006F0000-0x0000000000705000-memory.dmp

                memory/5104-16-0x00000000006F0000-0x0000000000705000-memory.dmp

                memory/5104-18-0x00000000006F0000-0x0000000000705000-memory.dmp

                memory/5104-19-0x00000000006F0000-0x0000000000705000-memory.dmp