Slapdash Safeguards

にわか仕込みのセキュリティ

「残念ながら、その椅子はマルウェア付きです。」blenderのファイルに仕込まれたマルウェア

blenderでは、ファイルを開いたときにpythonスクリプトが自動で起動される設定がある(Auto Run Python Scripts or Pythonスクリプトの自動実行)。おそらくファイルを開いたときに前回までの作業を状況をセットアップしたり、作業しやすいように自動でセットアップするのではないかと思う。

このpythonスクリプトマルウェアを仕込んだ.blendファイルが、.blend配布サイトで確認されたとのこと。

てか、blenderそんな機能あったんだ。

こちらが、マルウェア付きの椅子となっております。

残念ながらマルウェアを実行してしまったと思われるreddit民の投稿より(https://www.reddit.com/r/blender/comments/1l2tj36/warning_malware_in_blend_file/)

.blendのpythonスクリプト悪用は以前にも問題になっていた?

全く知らなかったのだが、.blend内のpythonスクリプト自動実行機能は以前に問題なっていて、セキュリティ的問題ということで公式がデフォルトで無効化設定にしたらしい。

確認できた限りの情報だと、ver.2.6以降?

Blender comes bundled with python. Malicious scripts written in python could potentially damage your computer. As a security measure the automatic running of python scripts has been disabled since version 2.6. https://blender.stackexchange.com/questions/21312/what-does-autorun-disabled-statement-mean

現在のドキュメントでも自動実行スクリプトの危険性について言及があった。

The ability to include Python scripts within blend-files is valuable for advanced tasks such as rigging and automation. However, it poses a security risk since Python does not restrict what a script can do. Therefore, you should only run scripts from sources you know and trust. Automatic execution is disabled by default; however, some blend-files need this to function properly. https://docs.blender.org/manual/en/latest/advanced/scripting/security.html#scripting-security

公式のドキュメントにも記載があるようにpythonスクリプトの自動実行を前提としたものも配布されているようなので、必要なときもあるらしい。

そんな自動実行が必要なものは使わない方が良いと思います。

.blend内のpythonマルウェア、ちゃんと怪しい

再び残念ながらマルウェアを実行してしまったと思われるreddit民の投稿より(https://www.reddit.com/r/blender/comments/1l2tj36/warning_malware_in_blend_file/)

難読化がみられて、明らかに怪しいコード実行してますよ感。

この.blendファイルのpythonスクリプトを解析した人によると、EDR回避とかも使ってインフォスティーラーを実行しているようで割と本格的のようだ。

EDR回避のために使用されたオープンソースツールは、Pyramidとのこと。

Morphisecの解析のものは別の事例だが、以下のような段階的なアプローチがみられる。

Morphisecの.blendファイル内のpythonスクリプト解析より(https://www.morphisec.com/blog/morphisec-thwarts-russian-linked-stealc-v2-campaign-targeting-blender-users-via-malicious-blend-files/)

AutoDesk系でもあるらしい

もしかして他の3Dモデル扱う系アプリケーションでもあるんじゃないかなぁと思っていたら、AutoDesk系でもあるとのこと。

https://labs.withsecure.com/publications/autocad-designing-a-kill-chain

https://www.zdnet.com/article/new-industrial-espionage-campaign-leverages-autocad-based-malware/

https://help.autodesk.com/view/3DSMAX/2025/ENU/?guid=GUID-3545DF0C-2AD1-4624-8251-FA734D3909FD

お気をつけを。