Analysis

  • max time kernel
    149s
  • 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, 04:01

General

  • Target
    fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe
  • Size 14.7MB
  • Sample240421-eleflaag7w
  • SHA256 dc29002568fbc6453ba1d57da0ecac5b759464026b4d3d110abc4daf36e7de00
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

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\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lzsfvonh\
      2⤵
        PID:2900
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ytdguffn.exe" C:\Windows\SysWOW64\lzsfvonh\
        2⤵
          PID:976
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lzsfvonh binPath= "C:\Windows\SysWOW64\lzsfvonh\ytdguffn.exe /d\"C:\Users\Admin\AppData\Local\Temp\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.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 lzsfvonh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3280
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lzsfvonh
          2⤵
          • Launches sc.exe
          PID:4804
        • 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:748
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1404 -s 580
          2⤵
          • Program crash
          PID:1288
      • C:\Windows\SysWOW64\lzsfvonh\ytdguffn.exe
        C:\Windows\SysWOW64\lzsfvonh\ytdguffn.exe /d"C:\Users\Admin\AppData\Local\Temp\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2264
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:5044
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2264 -s 516
          2⤵
          • Program crash
          PID:3024
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1404 -ip 1404
        1⤵
          PID:4364
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2264 -ip 2264
          1⤵
            PID:2488

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ytdguffn.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ytdguffn.exe
                • Size 12.5MB
                • SHA256 483c6c6bff464c7c062228098eb06132b187da238c629af921c571abd0fe901e
                • MD5 SHA1 SHA512 SSDEEP

                memory/1404-1-0x0000000000470000-0x0000000000570000-memory.dmp

                memory/1404-2-0x0000000002190000-0x00000000021A3000-memory.dmp

                memory/1404-4-0x0000000000400000-0x0000000000456000-memory.dmp

                memory/1404-8-0x0000000000400000-0x0000000000456000-memory.dmp

                memory/1404-9-0x0000000002190000-0x00000000021A3000-memory.dmp

                memory/2264-10-0x00000000006E0000-0x00000000007E0000-memory.dmp

                memory/2264-11-0x0000000000400000-0x0000000000456000-memory.dmp

                memory/2264-16-0x0000000000400000-0x0000000000456000-memory.dmp

                memory/5044-12-0x0000000000240000-0x0000000000255000-memory.dmp

                memory/5044-15-0x0000000000240000-0x0000000000255000-memory.dmp

                memory/5044-17-0x0000000000240000-0x0000000000255000-memory.dmp

                memory/5044-18-0x0000000000240000-0x0000000000255000-memory.dmp