Analysis

  • max time kernel
    121s
  • max time network
    131s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/10/2022, 00:09

General

  • Target
    file.exe
  • Size 235KB
  • Sample221002-affz1sechp
  • SHA256 d14cb62289c31c4564a168c6d8e33688a6fef5d2aa1371f744667284b52c4bd4
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Family
  • nymaim

C2
  • 208.67.104.97

  • 85.31.46.167

Signatures

  • NyMaim

    NyMaim is a malware with various capabilities written in C++ and first seen in 2013.

  • Downloads MZ/PE file
  • Executes dropped EXE 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Program crash 13 IoCs
  • Kills process with taskkill 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: GetForegroundWindowSpam
    • Suspicious use of WriteProcessMemory
    PID:4136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 456
      2⤵
      • Program crash
      PID:1744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 768
      2⤵
      • Program crash
      PID:4592
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 808
      2⤵
      • Program crash
      PID:4492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 808
      2⤵
      • Program crash
      PID:228
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 796
      2⤵
      • Program crash
      PID:3680
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 928
      2⤵
      • Program crash
      PID:3520
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 936
      2⤵
      • Program crash
      PID:3452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 1256
      2⤵
      • Program crash
      PID:2136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 1376
      2⤵
      • Program crash
      PID:3532
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c start /I "" "C:\Users\Admin\AppData\Local\Temp\eQ6InmY6TIwwK5EZfC1ZN\Cleaner.exe"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4312
      • C:\Users\Admin\AppData\Local\Temp\eQ6InmY6TIwwK5EZfC1ZN\Cleaner.exe
        "C:\Users\Admin\AppData\Local\Temp\eQ6InmY6TIwwK5EZfC1ZN\Cleaner.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        PID:1068
        • C:\Windows\system32\WerFault.exe
          C:\Windows\system32\WerFault.exe -u -p 1068 -s 1596
          4⤵
          • Program crash
          PID:1408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 1360
      2⤵
      • Program crash
      PID:1632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 1756
      2⤵
      • Program crash
      PID:5048
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c taskkill /im "file.exe" /f & erase "C:\Users\Admin\AppData\Local\Temp\file.exe" & exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2728
      • C:\Windows\SysWOW64\taskkill.exe
        taskkill /im "file.exe" /f
        3⤵
        • Kills process with taskkill
        • Suspicious use of AdjustPrivilegeToken
        PID:1464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 496
      2⤵
      • Program crash
      PID:2104
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4136 -ip 4136
    1⤵
      PID:2752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 4136 -ip 4136
      1⤵
        PID:4740
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4136 -ip 4136
        1⤵
          PID:5056
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 4136 -ip 4136
          1⤵
            PID:4048
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 4136 -ip 4136
            1⤵
              PID:2372
            • C:\Windows\SysWOW64\WerFault.exe
              C:\Windows\SysWOW64\WerFault.exe -pss -s 564 -p 4136 -ip 4136
              1⤵
                PID:1388
              • C:\Windows\SysWOW64\WerFault.exe
                C:\Windows\SysWOW64\WerFault.exe -pss -s 568 -p 4136 -ip 4136
                1⤵
                  PID:3088
                • C:\Windows\SysWOW64\WerFault.exe
                  C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4136 -ip 4136
                  1⤵
                    PID:3652
                  • C:\Windows\SysWOW64\WerFault.exe
                    C:\Windows\SysWOW64\WerFault.exe -pss -s 568 -p 4136 -ip 4136
                    1⤵
                      PID:664
                    • C:\Windows\system32\WerFault.exe
                      C:\Windows\system32\WerFault.exe -pss -s 592 -p 1068 -ip 1068
                      1⤵
                        PID:4872
                      • C:\Windows\SysWOW64\WerFault.exe
                        C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 4136 -ip 4136
                        1⤵
                          PID:4784
                        • C:\Windows\SysWOW64\WerFault.exe
                          C:\Windows\SysWOW64\WerFault.exe -pss -s 580 -p 4136 -ip 4136
                          1⤵
                            PID:4944
                          • C:\Windows\SysWOW64\WerFault.exe
                            C:\Windows\SysWOW64\WerFault.exe -pss -s 632 -p 4136 -ip 4136
                            1⤵
                              PID:2420

                            Network

                                  MITRE ATT&CK Enterprise v6

                                  Replay Monitor

                                  Loading Replay Monitor...

                                  Downloads

                                  Bunifu_UI_v1.5.3.dll

                                  • Path C:\Users\Admin\AppData\Local\Temp\eQ6InmY6TIwwK5EZfC1ZN\Bunifu_UI_v1.5.3.dll
                                  • Size 236KB
                                  • SHA256 f1b3e0f2750a9103e46a6a4a34f1cf9d17779725f98042cc2475ec66484801cf
                                  • MD5 SHA1 SHA512 SSDEEP

                                  Cleaner.exe

                                  • Path C:\Users\Admin\AppData\Local\Temp\eQ6InmY6TIwwK5EZfC1ZN\Cleaner.exe
                                  • Size 4.0MB
                                  • SHA256 f349739486dcb45f7cd39440784224c66a5d2c4bd2a47c48606e2f481a0fabe7
                                  • MD5 SHA1 SHA512 SSDEEP

                                  Cleaner.exe

                                  • Path C:\Users\Admin\AppData\Local\Temp\eQ6InmY6TIwwK5EZfC1ZN\Cleaner.exe
                                  • Size 4.0MB
                                  • SHA256 f349739486dcb45f7cd39440784224c66a5d2c4bd2a47c48606e2f481a0fabe7
                                  • MD5 SHA1 SHA512 SSDEEP

                                  memory/1068-144-0x00000240DCDC0000-0x00000240DCE02000-memory.dmp

                                  memory/1068-146-0x00007FFECE630000-0x00007FFECF0F1000-memory.dmp

                                  memory/1068-145-0x00007FFECE630000-0x00007FFECF0F1000-memory.dmp

                                  memory/1068-141-0x00000240DAF80000-0x00000240DB0D8000-memory.dmp

                                  memory/1068-142-0x00007FFECE630000-0x00007FFECF0F1000-memory.dmp

                                  memory/4136-147-0x0000000010000000-0x000000001001B000-memory.dmp

                                  memory/4136-136-0x0000000000400000-0x0000000000598000-memory.dmp

                                  memory/4136-135-0x00000000005ED000-0x0000000000614000-memory.dmp

                                  memory/4136-132-0x00000000005ED000-0x0000000000614000-memory.dmp

                                  memory/4136-134-0x0000000000400000-0x0000000000598000-memory.dmp

                                  memory/4136-133-0x0000000002300000-0x000000000233F000-memory.dmp

                                  memory/4136-153-0x00000000005ED000-0x0000000000614000-memory.dmp

                                  memory/4136-154-0x0000000000400000-0x0000000000598000-memory.dmp