Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-11-2024 21:52

General

  • Target

    87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe

  • Size

    14.6MB

  • MD5

    87f88fbd6fc1edef8d83bfaaee8f53fe

  • SHA1

    27509f29c2b3b490cf2a7322f7f2cd828806c88f

  • SHA256

    d1b6ff4842c5e9ed4c82f2cc8abb8c449896dd3316be09c2ad8a8e64418480d0

  • SHA512

    08edb0c2a5be848dcca234d3f5f2df9c7ff85b54e2ec7a2ba9ed43dd0b7e7e00ad7b06eaba3b34253ef6c852596f1dbca9aaca3d5a5029585748a094a6bc9c72

  • SSDEEP

    12288:eZlC6v/5oQU6buXH53333333333333333333333333333333333333333333333H:ebjvluXH

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\87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ukvwcbns\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mpiqoqyi.exe" C:\Windows\SysWOW64\ukvwcbns\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ukvwcbns binPath= "C:\Windows\SysWOW64\ukvwcbns\mpiqoqyi.exe /d\"C:\Users\Admin\AppData\Local\Temp\87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2656
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ukvwcbns "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4580
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ukvwcbns
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4548
    • 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:1480
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3852 -s 648
      2⤵
      • Program crash
      PID:3476
  • C:\Windows\SysWOW64\ukvwcbns\mpiqoqyi.exe
    C:\Windows\SysWOW64\ukvwcbns\mpiqoqyi.exe /d"C:\Users\Admin\AppData\Local\Temp\87f88fbd6fc1edef8d83bfaaee8f53fe_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2172
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1896
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2172 -s 560
      2⤵
      • Program crash
      PID:4120
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 3852 -ip 3852
    1⤵
      PID:4804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2172 -ip 2172
      1⤵
        PID:4824

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        b8ca87803c4528e953948ea8e5aa1783

        SHA1

        1257a171632a565c7b32d0e79c75633838e16871

        SHA256

        703e4f8028d1020bf059446badad973988e4a63ab62d2d17a3db069e3219d42b

        SHA512

        1c0cd101e5ea1390f267850b3fff277e1bbd92248427b550ef7a3d8fd6bca1fa9ea389a7907179ba96932ae8d95e82d3754ec3c4e62683e374a6b326b95df1dc

      • memory/1896-14-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/1896-17-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/1896-16-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/2172-13-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2172-12-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2172-11-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2172-19-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/3852-9-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/3852-8-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/3852-1-0x00000000004F0000-0x00000000005F0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3852-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB