-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a signature for detecting AntiCuckoo. The author of AntiCuckoo do…
…esn't see the pointlessness of his work; it doesn't prove anything not already known, doesn't improve Cuckoo as a sandbox. It's merely a lesson in information asymmetry and the ability of code to detect other public code executing at the same privilege level. It is simply not possible to proactively prevent detection while at the same time publishing a DLL for users to use. It's merely a time-wasting cat and mouse game that enables script kids and malware writers to reach beyond their own capabilities. As my own lesson in information asymmetry, the cuckoomon code that currently detects all three forms of AntiCuckoo's detections won't be published.
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright (C) 2015 Accuvant, Inc. ([email protected]) | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
from lib.cuckoo.common.abstracts import Signature | ||
|
||
class AntiCuckoo(Signature): | ||
name = "antisandbox_cuckoo" | ||
description = "Employs AntiCuckoo detection techniques" | ||
severity = 3 | ||
weight = 3 | ||
categories = ["anti-sandbox"] | ||
authors = ["Accuvant"] | ||
minimum = "1.3" | ||
evented = True | ||
|
||
filter_categories = set(["__notification__"]) | ||
|
||
def __init__(self, *args, **kwargs): | ||
Signature.__init__(self, *args, **kwargs) | ||
|
||
def on_call(self, call, process): | ||
subcategory = self.check_argument_call(call, | ||
api="__anomaly__", | ||
name="Subcategory", | ||
pattern="anticuckoo") | ||
if subcategory: | ||
return True |