Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-12-2024 22:15

General

  • Target

    JaffaCakes118_1e142136cd633cd5b79377d1dc5954f50a873e4b621b9cb0d31056e1db4a1417.exe

  • Size

    305KB

  • MD5

    338ab2e152c81451b60b32cd347cc0f3

  • SHA1

    54667f010d3e818f5b66f391999d3c0a4b11b8ab

  • SHA256

    1e142136cd633cd5b79377d1dc5954f50a873e4b621b9cb0d31056e1db4a1417

  • SHA512

    7a47e567101158af61caceba109f51db6973129c37b2311b7766990dc4061c03e8597cf3cb9342fbe86601bbef68de92a7b47dcf2876bf2edccd5110d866f9d6

  • SSDEEP

    6144:0PgNS5Ym+loYI38ss45vSUmNe7niKz/LOvk:3NS5Ym+lu8745aUji

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_1e142136cd633cd5b79377d1dc5954f50a873e4b621b9cb0d31056e1db4a1417.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1e142136cd633cd5b79377d1dc5954f50a873e4b621b9cb0d31056e1db4a1417.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ebqbdirr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:212
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yojvpbfx.exe" C:\Windows\SysWOW64\ebqbdirr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ebqbdirr binPath= "C:\Windows\SysWOW64\ebqbdirr\yojvpbfx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1e142136cd633cd5b79377d1dc5954f50a873e4b621b9cb0d31056e1db4a1417.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ebqbdirr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ebqbdirr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2652
    • 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:3616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2396 -s 1036
      2⤵
      • Program crash
      PID:2680
  • C:\Windows\SysWOW64\ebqbdirr\yojvpbfx.exe
    C:\Windows\SysWOW64\ebqbdirr\yojvpbfx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1e142136cd633cd5b79377d1dc5954f50a873e4b621b9cb0d31056e1db4a1417.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:116
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1296
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 116 -s 512
      2⤵
      • Program crash
      PID:2020
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2396 -ip 2396
    1⤵
      PID:5096
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 116 -ip 116
      1⤵
        PID:3156

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        33f7ac2846dd1da769cad3c10e56e7d9

        SHA1

        5e4648493a80f8a9070fa8edb76f672ad06ea7ee

        SHA256

        86b6381294593e386a3d8ac70ff955838ce1fa452f3b9ebe50462e29b7f1d83c

        SHA512

        c8f59b491613e2fc249e479920a70b3a03d538cb1e025af1c489e5e19c4b9d91bdcb2a2421f65ab41079d90dc7a5e919c3e81c16ac6d6033aad4e5323839b3ee

      • memory/116-10-0x0000000000400000-0x0000000002B94000-memory.dmp

        Filesize

        39.6MB

      • memory/1296-8-0x0000000000220000-0x0000000000235000-memory.dmp

        Filesize

        84KB

      • memory/1296-14-0x0000000000220000-0x0000000000235000-memory.dmp

        Filesize

        84KB

      • memory/1296-15-0x0000000000220000-0x0000000000235000-memory.dmp

        Filesize

        84KB

      • memory/2396-1-0x0000000002DB0000-0x0000000002EB0000-memory.dmp

        Filesize

        1024KB

      • memory/2396-2-0x0000000002BE0000-0x0000000002BF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2396-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2396-12-0x0000000002BE0000-0x0000000002BF3000-memory.dmp

        Filesize

        76KB

      • memory/2396-11-0x0000000000400000-0x0000000002B94000-memory.dmp

        Filesize

        39.6MB