-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathReportForm.html
136 lines (117 loc) · 5.76 KB
/
ReportForm.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<script type="text/javascript" src="view.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script language="JavaScript">
$("#btnPrint").live("click", function () {
var divContents = $("#display").html();
var printWindow = window.open('', '', 'height=400,width=800');
printWindow.document.write('<html><head><title>Malware Analysis Report</title>');
printWindow.document.write('</head><body >');
printWindow.document.write(divContents);
printWindow.document.write('</body></html>');
printWindow.document.close();
printWindow.print();
});
function showInput() {
document.getElementById('display').innerHTML =
"<div id=\"malwarereport\" class=\"malwarereport\">" +
"<br>Filename: " + document.getElementById("element_1").value + "</br>" +
"<br>Sha256: " + document.getElementById("element_2").value + "</br>" +
"<br><h3>Summary</h3></br><br>" + document.getElementById("element_3").value + "</br>" +
"<br><h3>General Characteristics</h3></br><br>" + document.getElementById("element_4").value + "</br>" +
"<br><h3>AntiVirus Detection Results</h3></br><br>" + document.getElementById("element_5").value + "</br>" +
"<br><h3>File System IOC</h3></br><br>" + document.getElementById("element_6").value + "</br>" +
"<br><h3>Network IOC</h3></br><br>" + document.getElementById("element_7").value + "</br>" +
"<br><h3>Registry IOC</h3></br><br>" + document.getElementById("element_8").value + "</br>" +
"<br><h3>Behavior & Control Flow</h3></br><br>" + document.getElementById("element_9").value + "</br>" +
"<br><h3>Appendix</h3></br><br>" + document.getElementById("element_10").value + "</br>" +
"<br><h3>End of Report</h3></br>";
"</div>"
}
</script>
<link rel="stylesheet" type="text/css" href="view.css" media="all">
<link rel="stylesheet" href="https://securedorg.github.io//assets/css/style.css?v=5e63b4f7f8d5ec379a428172f4517e17cf6f662e">
</head>
<body>
<div >
<form id="form_21154" class="appnitro" method="post" action="">
<div class="form_description">
<h2>Malware Analysis Report</h2>
<p>by @malwareunicorn</p>
<p>Insert information in this report as you analyze malware. It will generate a text output.</p>
</div>
<ul >
<li id="li_1" >
<label class="description" for="element_1">Filename </label>
<div>
<input id="element_1" name="element_1" class="element text medium" type="text" style="width: 500px;" maxlength="255" value=""/>
</div><p class="guidelines" id="guide_1"><small>Original Filename</small></p>
</li> <li id="li_2" >
<label class="description" for="element_2">Sha256 Hash</label>
<div>
<input id="element_2" name="element_2" class="element text large" type="text" maxlength="255" value=""/>
</div><p class="guidelines" id="guide_2"><small>Unique Identity</small></p>
</li> <li id="li_3" >
<label class="description" for="element_3">Summary</label>
<div>
<textarea id="element_3" name="element_3" class="element textarea medium"></textarea>
</div>
</li> <li id="li_4" >
<label class="description" for="element_4">General Characteristics</label>
<div>
<textarea id="element_4" name="element_4" class="element textarea medium"></textarea>
</div><p class="guidelines" id="guide_4"><small>File Format,
Header Analysis,
Basic PE information,
Delivery Context</small></p>
</li> <li id="li_5" >
<label class="description" for="element_5">AntiVirus Detection Results</label>
<div>
<textarea id="element_5" name="element_5" class="element textarea medium"></textarea>
</div><p class="guidelines" id="guide_5"><small>AV Results
Yara Analysis Results
Virustotal Results</small></p>
</li> <li id="li_6" >
<label class="description" for="element_6">File System IOC</label>
<div>
<textarea id="element_6" name="element_6" class="element textarea medium"></textarea>
</div><p class="guidelines" id="guide_6"><small>Any changes on the file system made by the malware
Created/Deleted/Modified Files</small></p>
</li> <li id="li_7" >
<label class="description" for="element_7">Network IOC</label>
<div>
<textarea id="element_7" name="element_7" class="element textarea medium"></textarea>
</div><p class="guidelines" id="guide_7"><small>Network Related IOC
GET/POST Requests
Domains
IP address</small></p>
</li> <li id="li_8" >
<label class="description" for="element_8">Registry IOC</label>
<div>
<textarea id="element_8" name="element_8" class="element textarea medium"></textarea>
</div><p class="guidelines" id="guide_8"><small>Any changes in the Registry made by the malware</small></p>
</li> <li id="li_9" >
<label class="description" for="element_9">Behavior & Control Flow</label>
<div>
<textarea id="element_9" name="element_9" class="element textarea medium"></textarea>
</div><p class="guidelines" id="guide_9"><small>List the order of events, processes, and capabilities.</small></p>
</li> <li id="li_10" >
<label class="description" for="element_10">Appendix</label>
<div>
<textarea id="element_10" name="element_10" class="element textarea medium"></textarea>
</div><p class="guidelines" id="guide_10"><small>Add any strings, code, interest notes</small></p>
</ul>
</form>
</div>
<p><input type="submit" onclick="showInput();"></p>
<p><label>Your Report: </label></p>
<hr>
<p><span id='display'></span></p>
<p><input type="button" value="Print PDF Report" id="btnPrint" /></p>
</script>
</body>
</html>