Analysis

  • max time kernel
    145s
  • max time network
    145s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 18:45

General

  • Target

    JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe

  • Size

    286KB

  • MD5

    bebcafb815c87b777af00c7aaa8f0063

  • SHA1

    7438dbc9f820d017151411d0581bcd0a35a82b76

  • SHA256

    5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b

  • SHA512

    346ce96d3da0da712e226ffce18a5fa8fda07993c3501528e696f2c0d41eaca556560547aecb7666ae5d0d4d4b5b686572c849e8503cffd3c98d4474f9911303

  • SSDEEP

    3072:saxXGEcrxT19jb0xdlCBFL4r5u0ay/M8Z9OOHesIZQFr+uX3Prgm5ejH:seXud19jbSlCbkrL+OHesIq53T8

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.

  • Tofsee family
  • Creates new service(s) 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:440
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vzqlghbn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1692
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ahkijjzn.exe" C:\Windows\SysWOW64\vzqlghbn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vzqlghbn binPath= "C:\Windows\SysWOW64\vzqlghbn\ahkijjzn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vzqlghbn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vzqlghbn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2788
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:1456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 440 -s 804
      2⤵
      • Program crash
      PID:4868
  • C:\Windows\SysWOW64\vzqlghbn\ahkijjzn.exe
    C:\Windows\SysWOW64\vzqlghbn\ahkijjzn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4388
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4388 -s 532
      2⤵
      • Program crash
      PID:5008
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 440 -ip 440
    1⤵
      PID:2968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4388 -ip 4388
      1⤵
        PID:1220

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        2f3b6652f0ccc96c23ba8f625014abad

        SHA1

        74f91a1549b11437ec8a550d4307089aa8bad0bd

        SHA256

        3e255bbfadaae82f70b731d7ec3aa16202c0b87ba7f1a3e8c2094e786d3e9d1a

        SHA512

        345022009dfadde2f429cafa0b4aaacaa27dcf9c312e94d1d67f58e6856ac92e98a1b53b44cc9a8064d02a06897b0d216bd4b120347b013954777bcc55e92d32

      • memory/440-1-0x0000000002C20000-0x0000000002D20000-memory.dmp

        Filesize

        1024KB

      • memory/440-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/440-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/440-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/440-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/440-8-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

      • memory/640-11-0x0000000000870000-0x0000000000885000-memory.dmp

        Filesize

        84KB

      • memory/640-13-0x0000000000870000-0x0000000000885000-memory.dmp

        Filesize

        84KB

      • memory/640-14-0x0000000000870000-0x0000000000885000-memory.dmp

        Filesize

        84KB

      • memory/4388-15-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB