Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-04-2024 18:15

General

  • Target

    ffdf89de900c716587f62b698c402aeb_JaffaCakes118.exe

  • Size

    11.6MB

  • MD5

    ffdf89de900c716587f62b698c402aeb

  • SHA1

    fbc84bab04ffbb6200eab40cb7cc975138de52b5

  • SHA256

    5b8739273220f928323bdca4745bb21b820fd91a694f678cc78375041f92d97b

  • SHA512

    9d3b7d383672a3dea0afe7907f53ac558590f0079148d3f181225e68c3df632a1ccf966e2188dff010674cad2a39b4b0abe9f252034369c416b51105d1758111

  • SSDEEP

    49152:Eitpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp5:Ei

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\ffdf89de900c716587f62b698c402aeb_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ffdf89de900c716587f62b698c402aeb_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5100
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ppiobhkh\
      2⤵
        PID:3592
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gvzdtgxx.exe" C:\Windows\SysWOW64\ppiobhkh\
        2⤵
          PID:520
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ppiobhkh binPath= "C:\Windows\SysWOW64\ppiobhkh\gvzdtgxx.exe /d\"C:\Users\Admin\AppData\Local\Temp\ffdf89de900c716587f62b698c402aeb_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2884
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ppiobhkh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3204
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ppiobhkh
          2⤵
          • Launches sc.exe
          PID:2324
        • 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:1252
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5100 -s 1028
          2⤵
          • Program crash
          PID:1640
      • C:\Windows\SysWOW64\ppiobhkh\gvzdtgxx.exe
        C:\Windows\SysWOW64\ppiobhkh\gvzdtgxx.exe /d"C:\Users\Admin\AppData\Local\Temp\ffdf89de900c716587f62b698c402aeb_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3920
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2060
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3920 -s 536
          2⤵
          • Program crash
          PID:3068
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 5100 -ip 5100
        1⤵
          PID:4128
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3920 -ip 3920
          1⤵
            PID:1524

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\gvzdtgxx.exe

            Filesize

            13.7MB

            MD5

            63f600ed7a19dc105ffab151818ba537

            SHA1

            74b9a71fdf81092ac596808631051ae5751bdd20

            SHA256

            5ec6d98bcf0cef20fde4a24b8773d90bbe87c223a1f7d819897c062e3b136614

            SHA512

            a309626aa4e0d1fa0f79afe3c5e6d847a9fa7130f8ed5725c789c715f0a964ba509521106c64a6e4c55e4e6b64a2f371205b38ada9a6530d928019efa0ce416f

          • memory/2060-15-0x0000000000590000-0x00000000005A5000-memory.dmp

            Filesize

            84KB

          • memory/2060-16-0x0000000000590000-0x00000000005A5000-memory.dmp

            Filesize

            84KB

          • memory/2060-11-0x0000000000590000-0x00000000005A5000-memory.dmp

            Filesize

            84KB

          • memory/2060-17-0x0000000000590000-0x00000000005A5000-memory.dmp

            Filesize

            84KB

          • memory/2060-19-0x0000000000590000-0x00000000005A5000-memory.dmp

            Filesize

            84KB

          • memory/3920-10-0x0000000000F20000-0x0000000001020000-memory.dmp

            Filesize

            1024KB

          • memory/3920-12-0x0000000000400000-0x0000000000C14000-memory.dmp

            Filesize

            8.1MB

          • memory/3920-18-0x0000000000400000-0x0000000000C14000-memory.dmp

            Filesize

            8.1MB

          • memory/5100-4-0x0000000000400000-0x0000000000C14000-memory.dmp

            Filesize

            8.1MB

          • memory/5100-2-0x0000000000C90000-0x0000000000CA3000-memory.dmp

            Filesize

            76KB

          • memory/5100-7-0x0000000000400000-0x0000000000C14000-memory.dmp

            Filesize

            8.1MB

          • memory/5100-8-0x0000000000C90000-0x0000000000CA3000-memory.dmp

            Filesize

            76KB

          • memory/5100-1-0x0000000000CC0000-0x0000000000DC0000-memory.dmp

            Filesize

            1024KB