Analysis

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

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

General

  • Target

    JaffaCakes118_a0d8d5274a90022480fa0b8f55b2e072eddd6287a2f12d77b0555062d33c970a.exe

  • Size

    236KB

  • MD5

    7679009858a84abb6a9ec42accbf6733

  • SHA1

    48b898b42380444677620354c9a1fa26de3d22e5

  • SHA256

    a0d8d5274a90022480fa0b8f55b2e072eddd6287a2f12d77b0555062d33c970a

  • SHA512

    80f9aee782c84f7242b2e5eac8d24d7274b2b29ad80a56f9bfee6017cd2ecf88de23625cfd0037bc27507e9a0c43884c29c8471b4c10f9d7e0d525ed7aaacdc6

  • SSDEEP

    6144:coD6bWHeHdjZXhTjBlL02Xu9zxK4HZmkMkmKZWzg:c6L+9jFhr02Xuxk0ZUKo

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_a0d8d5274a90022480fa0b8f55b2e072eddd6287a2f12d77b0555062d33c970a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a0d8d5274a90022480fa0b8f55b2e072eddd6287a2f12d77b0555062d33c970a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\arsazhuo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cssshyew.exe" C:\Windows\SysWOW64\arsazhuo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create arsazhuo binPath= "C:\Windows\SysWOW64\arsazhuo\cssshyew.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a0d8d5274a90022480fa0b8f55b2e072eddd6287a2f12d77b0555062d33c970a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4592
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description arsazhuo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start arsazhuo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1548
    • 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:3696
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3564 -s 676
      2⤵
      • Program crash
      PID:708
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3564 -s 584
      2⤵
      • Program crash
      PID:4580
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3564 -s 656
      2⤵
      • Program crash
      PID:4704
  • C:\Windows\SysWOW64\arsazhuo\cssshyew.exe
    C:\Windows\SysWOW64\arsazhuo\cssshyew.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a0d8d5274a90022480fa0b8f55b2e072eddd6287a2f12d77b0555062d33c970a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2008
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2008 -s 516
      2⤵
      • Program crash
      PID:2496
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2008 -s 536
      2⤵
      • Program crash
      PID:116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2008 -s 532
      2⤵
      • Program crash
      PID:3876
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3564 -ip 3564
    1⤵
      PID:3912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 3564 -ip 3564
      1⤵
        PID:3892
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 3564 -ip 3564
        1⤵
          PID:3956
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2008 -ip 2008
          1⤵
            PID:1684
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -pss -s 548 -p 2008 -ip 2008
            1⤵
              PID:3964
            • C:\Windows\SysWOW64\WerFault.exe
              C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2008 -ip 2008
              1⤵
                PID:1488

              Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

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

                Filesize

                12.0MB

                MD5

                494c0e331cf50730476349cbcbb1288a

                SHA1

                ed4eecdfed33e6fb00cf6780ebe4d0c3fd37e6bd

                SHA256

                2514ff09812ac9339a120e828afe39615f94f786270a689815930da13eb2ef17

                SHA512

                cb3ca6f9e3ed0ba12096e24f4d7ade0c7c7f8a356799cca81cf40e32b51e3a85fdea09182032340ae45ee010f7f55aba2e365c5b1f6dc3b61e566eb2f690b22a

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

                Filesize

                4.4MB

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

                Filesize

                4.4MB

              • memory/3564-1-0x00000000008E0000-0x00000000009E0000-memory.dmp

                Filesize

                1024KB

              • memory/3564-2-0x0000000000CC0000-0x0000000000CD3000-memory.dmp

                Filesize

                76KB

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

                Filesize

                84KB

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

                Filesize

                84KB

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

                Filesize

                4.4MB

              • memory/3564-9-0x0000000000CC0000-0x0000000000CD3000-memory.dmp

                Filesize

                76KB

              • memory/4104-12-0x00000000006C0000-0x00000000006D5000-memory.dmp

                Filesize

                84KB

              • memory/4104-14-0x00000000006C0000-0x00000000006D5000-memory.dmp

                Filesize

                84KB

              • memory/4104-15-0x00000000006C0000-0x00000000006D5000-memory.dmp

                Filesize

                84KB