Analysis

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

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-10-2023 19:28

General

  • Target

    file.exe

  • Size

    191KB

  • MD5

    170aa66f5331dc87707f0d7a405a45f0

  • SHA1

    5390a4d9e516c05bad7c86b3415c5fd53e0fb9c1

  • SHA256

    539e5470f3745740167fc0db04324c128470e822bddd7dfb7814dd27c60b1a03

  • SHA512

    d9d36a77d974a016bf7742734f5fae1ca85e0c9ed38ab48eb4f1743a27530f75309d38ebf9c83b0a2f6ff41113119f816baf4f0fe2d8ae156cad950ed2a65ef6

  • SSDEEP

    3072:mN/si5hMdfxA468QwBxt3YNL6tROXsEvoOEQ045Z2UvSNH5ju:GsPfxJ6mBx+SRUvvoOEQ04xvSf

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

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 1 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.

  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 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
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1528
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kmepapxi\
      2⤵
        PID:2560
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bndqedvz.exe" C:\Windows\SysWOW64\kmepapxi\
        2⤵
          PID:3532
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kmepapxi binPath= "C:\Windows\SysWOW64\kmepapxi\bndqedvz.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4588
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kmepapxi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kmepapxi
          2⤵
          • Launches sc.exe
          PID:4912
        • 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:3972
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1528 -s 796
          2⤵
          • Program crash
          PID:824
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 1528 -ip 1528
        1⤵
          PID:4996
        • C:\Windows\SysWOW64\kmepapxi\bndqedvz.exe
          C:\Windows\SysWOW64\kmepapxi\bndqedvz.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:3368
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            • Drops file in System32 directory
            • Modifies data under HKEY_USERS
            PID:4852
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 3368 -s 560
            2⤵
            • Program crash
            PID:4916
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 3368 -ip 3368
          1⤵
            PID:1800

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.2MB

            MD5

            d81887ca8a74ae3907f783807ef85b71

            SHA1

            cefac433ba21126ebbe1736e4f6241038f9a6405

            SHA256

            d90411c32fcd27437923b85bcd104b51d4f484c9eee34234252fdef7f5f4306f

            SHA512

            85984a4065ce283532c8896d2e9d62815fc0aef5a54ffad4123c7c965ef5ef78737ec3cfca4f86210e94d42e16f93edffdae07218bd4cb7063e20cfafe887c83

          • C:\Windows\SysWOW64\kmepapxi\bndqedvz.exe

            Filesize

            11.2MB

            MD5

            d81887ca8a74ae3907f783807ef85b71

            SHA1

            cefac433ba21126ebbe1736e4f6241038f9a6405

            SHA256

            d90411c32fcd27437923b85bcd104b51d4f484c9eee34234252fdef7f5f4306f

            SHA512

            85984a4065ce283532c8896d2e9d62815fc0aef5a54ffad4123c7c965ef5ef78737ec3cfca4f86210e94d42e16f93edffdae07218bd4cb7063e20cfafe887c83

          • memory/1528-2-0x0000000002300000-0x0000000002313000-memory.dmp

            Filesize

            76KB

          • memory/1528-3-0x0000000000400000-0x00000000005A7000-memory.dmp

            Filesize

            1.7MB

          • memory/1528-5-0x0000000000400000-0x00000000005A7000-memory.dmp

            Filesize

            1.7MB

          • memory/1528-6-0x00000000006E0000-0x00000000007E0000-memory.dmp

            Filesize

            1024KB

          • memory/1528-7-0x0000000002300000-0x0000000002313000-memory.dmp

            Filesize

            76KB

          • memory/1528-13-0x0000000000400000-0x00000000005A7000-memory.dmp

            Filesize

            1.7MB

          • memory/1528-1-0x00000000006E0000-0x00000000007E0000-memory.dmp

            Filesize

            1024KB

          • memory/3368-20-0x0000000000400000-0x00000000005A7000-memory.dmp

            Filesize

            1.7MB

          • memory/3368-14-0x0000000000780000-0x0000000000880000-memory.dmp

            Filesize

            1024KB

          • memory/3368-15-0x0000000000400000-0x00000000005A7000-memory.dmp

            Filesize

            1.7MB

          • memory/4852-33-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-42-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-22-0x00000000004C0000-0x00000000004D5000-memory.dmp

            Filesize

            84KB

          • memory/4852-23-0x00000000004C0000-0x00000000004D5000-memory.dmp

            Filesize

            84KB

          • memory/4852-24-0x00000000004C0000-0x00000000004D5000-memory.dmp

            Filesize

            84KB

          • memory/4852-26-0x0000000002200000-0x000000000240F000-memory.dmp

            Filesize

            2.1MB

          • memory/4852-29-0x0000000002200000-0x000000000240F000-memory.dmp

            Filesize

            2.1MB

          • memory/4852-30-0x0000000001980000-0x0000000001986000-memory.dmp

            Filesize

            24KB

          • memory/4852-16-0x00000000004C0000-0x00000000004D5000-memory.dmp

            Filesize

            84KB

          • memory/4852-36-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-37-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-38-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-39-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-40-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-41-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-19-0x00000000004C0000-0x00000000004D5000-memory.dmp

            Filesize

            84KB

          • memory/4852-43-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-46-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-45-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-44-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-47-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-48-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-49-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-50-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-52-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-53-0x00000000019E0000-0x00000000019E5000-memory.dmp

            Filesize

            20KB

          • memory/4852-51-0x0000000001990000-0x00000000019A0000-memory.dmp

            Filesize

            64KB

          • memory/4852-56-0x00000000019E0000-0x00000000019E5000-memory.dmp

            Filesize

            20KB

          • memory/4852-57-0x0000000007100000-0x000000000750B000-memory.dmp

            Filesize

            4.0MB

          • memory/4852-60-0x0000000007100000-0x000000000750B000-memory.dmp

            Filesize

            4.0MB

          • memory/4852-61-0x00000000019F0000-0x00000000019F7000-memory.dmp

            Filesize

            28KB