Analysis

  • max time kernel
    149s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-04-2024 23:03

General

  • Target

    f2210787bb2598f8739155f21507eb79_JaffaCakes118.exe

  • Size

    11.4MB

  • MD5

    f2210787bb2598f8739155f21507eb79

  • SHA1

    a3113938de29f92261e0591cbf8a570c284ec863

  • SHA256

    d654d69144fc6ec2500c227daf77a0ed09424082093ad47571e4cf83739068dd

  • SHA512

    94302dadf31c5011ed5f728d88343f0ac5695a6cb257e4673ce982b516b292b81e0466f2aae207cb7f155594a0c7a0887ee7de00d4bdcf1a004c230b3be4470f

  • SSDEEP

    12288:hIIW7A7qL8SHSIiwN/iZBqAsArTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT7:OA7qLNNf

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.

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

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f2210787bb2598f8739155f21507eb79_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f2210787bb2598f8739155f21507eb79_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rnmncbk\
      2⤵
        PID:4912
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hcrbgldb.exe" C:\Windows\SysWOW64\rnmncbk\
        2⤵
          PID:3668
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rnmncbk binPath= "C:\Windows\SysWOW64\rnmncbk\hcrbgldb.exe /d\"C:\Users\Admin\AppData\Local\Temp\f2210787bb2598f8739155f21507eb79_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4984
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rnmncbk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4288
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rnmncbk
          2⤵
          • Launches sc.exe
          PID:2572
        • 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
          PID:4792
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2448 -s 1172
          2⤵
          • Program crash
          PID:3008
      • C:\Windows\SysWOW64\rnmncbk\hcrbgldb.exe
        C:\Windows\SysWOW64\rnmncbk\hcrbgldb.exe /d"C:\Users\Admin\AppData\Local\Temp\f2210787bb2598f8739155f21507eb79_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1048
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4100
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1048 -s 520
          2⤵
          • Program crash
          PID:1716
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2448 -ip 2448
        1⤵
          PID:2724
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1048 -ip 1048
          1⤵
            PID:4104

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            10.2MB

            MD5

            eaf6ddd6f0761ce0a36be890d0d39688

            SHA1

            b32ccd385f43db0a73e78480fe845592f47691fb

            SHA256

            d6f464cf2029f304020de9aef0dc894a6ac51b5a01cb40282bb5cf27147f71f9

            SHA512

            fbe35c896d93b9a4c0565caaa26b42f7ac3d5510b679f67d88b7465c318eaaa24ec0cb4b23a4719ec4acfb364285ebe851085198cb7b2c9360f2973ed575ae9d

          • memory/1048-10-0x00000000005F0000-0x00000000006F0000-memory.dmp

            Filesize

            1024KB

          • memory/1048-11-0x0000000000400000-0x000000000046D000-memory.dmp

            Filesize

            436KB

          • memory/1048-17-0x0000000000400000-0x000000000046D000-memory.dmp

            Filesize

            436KB

          • memory/2448-3-0x0000000000400000-0x000000000046D000-memory.dmp

            Filesize

            436KB

          • memory/2448-2-0x0000000000610000-0x0000000000623000-memory.dmp

            Filesize

            76KB

          • memory/2448-8-0x0000000000400000-0x000000000046D000-memory.dmp

            Filesize

            436KB

          • memory/2448-9-0x0000000000610000-0x0000000000623000-memory.dmp

            Filesize

            76KB

          • memory/2448-1-0x0000000000650000-0x0000000000750000-memory.dmp

            Filesize

            1024KB

          • memory/4100-12-0x0000000000EB0000-0x0000000000EC5000-memory.dmp

            Filesize

            84KB

          • memory/4100-16-0x0000000000EB0000-0x0000000000EC5000-memory.dmp

            Filesize

            84KB

          • memory/4100-18-0x0000000000EB0000-0x0000000000EC5000-memory.dmp

            Filesize

            84KB

          • memory/4100-19-0x0000000000EB0000-0x0000000000EC5000-memory.dmp

            Filesize

            84KB