Analysis

  • max time kernel
    145s
  • 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
    31-12-2024 16:02

General

  • Target

    JaffaCakes118_26ce3fd3ed7ba17781ecac3dd4222617.exe

  • Size

    237KB

  • MD5

    26ce3fd3ed7ba17781ecac3dd4222617

  • SHA1

    2a0ebd247fb6e3be27a1757c9bdee3148c94e55e

  • SHA256

    4a4cc69289edd4c28d77ddea461966cd8f52453c5b3f4a568a7b97791020d7a9

  • SHA512

    1f23f5aafb35dcac59504f823cdbbc6a67ee8830d95e8f6c2aad4bc2f4fafc66cea41b81f836e00e345ffb84f1828ab5aaa394b74e5fecf1f443ffb692b91ab2

  • SSDEEP

    6144:C4IcgPQpVgd0OmeDnkEi7BKzzRC+TueOHW0:CBXAVgd0OmAkEieFChR

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 6 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_26ce3fd3ed7ba17781ecac3dd4222617.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_26ce3fd3ed7ba17781ecac3dd4222617.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ybggaqkp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cfygegoy.exe" C:\Windows\SysWOW64\ybggaqkp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ybggaqkp binPath= "C:\Windows\SysWOW64\ybggaqkp\cfygegoy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_26ce3fd3ed7ba17781ecac3dd4222617.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ybggaqkp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ybggaqkp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1008
    • 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:2448
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2672 -s 1208
      2⤵
      • Program crash
      PID:4716
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2672 -s 1216
      2⤵
      • Program crash
      PID:4536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2672 -s 1196
      2⤵
      • Program crash
      PID:808
  • C:\Windows\SysWOW64\ybggaqkp\cfygegoy.exe
    C:\Windows\SysWOW64\ybggaqkp\cfygegoy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_26ce3fd3ed7ba17781ecac3dd4222617.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3204
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3204 -s 536
      2⤵
      • Program crash
      PID:3768
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3204 -s 552
      2⤵
      • Program crash
      PID:2404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3204 -s 520
      2⤵
      • Program crash
      PID:4248
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2672 -ip 2672
    1⤵
      PID:1480
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2672 -ip 2672
      1⤵
        PID:2188
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 544 -p 2672 -ip 2672
        1⤵
          PID:2668
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 3204 -ip 3204
          1⤵
            PID:220
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -pss -s 568 -p 3204 -ip 3204
            1⤵
              PID:1628
            • C:\Windows\SysWOW64\WerFault.exe
              C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 3204 -ip 3204
              1⤵
                PID:1508

              Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

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

                Filesize

                11.1MB

                MD5

                c54afc0f29b634dec2f64ba665698fa3

                SHA1

                67b692223677b2082a1d9a87dab23fe775fcdc71

                SHA256

                6666d851c5cd04005add798b5844cf653b223610be1d4bd48379da76c15a9af0

                SHA512

                1f047c82249dd7397a2907160d44fbfca2e53f5cddcb22f98a26c09c63b88282aeb9ea2e2bba8c9a131dfdfc723ec8c94a286eed4a8c98aacc6f1e4ac639ff82

              • memory/1624-15-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

                Filesize

                84KB

              • memory/1624-13-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

                Filesize

                84KB

              • memory/1624-17-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

                Filesize

                84KB

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

                Filesize

                84KB

              • memory/2672-2-0x0000000000CD0000-0x0000000000CE3000-memory.dmp

                Filesize

                76KB

              • memory/2672-8-0x0000000000400000-0x000000000086B000-memory.dmp

                Filesize

                4.4MB

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

                Filesize

                84KB

              • memory/2672-9-0x0000000000CD0000-0x0000000000CE3000-memory.dmp

                Filesize

                76KB

              • memory/2672-1-0x0000000000A90000-0x0000000000B90000-memory.dmp

                Filesize

                1024KB

              • memory/3204-11-0x0000000000400000-0x000000000086B000-memory.dmp

                Filesize

                4.4MB

              • memory/3204-12-0x0000000000400000-0x000000000086B000-memory.dmp

                Filesize

                4.4MB

              • memory/3204-16-0x0000000000400000-0x000000000086B000-memory.dmp

                Filesize

                4.4MB

              • memory/3204-18-0x0000000000400000-0x000000000086B000-memory.dmp

                Filesize

                4.4MB