Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.30 KB | None | 0 0
  1. <!doctype html>
  2. <!--
  3. Material Design Lite
  4. Copyright 2015 Google Inc. All rights reserved.
  5.  
  6. Licensed under the Apache License, Version 2.0 (the "License");
  7. you may not use this file except in compliance with the License.
  8. You may obtain a copy of the License at
  9.  
  10. https://www.apache.org/licenses/LICENSE-2.0
  11.  
  12. Unless required by applicable law or agreed to in writing, software
  13. distributed under the License is distributed on an "AS IS" BASIS,
  14. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. See the License for the specific language governing permissions and
  16. limitations under the License
  17. -->
  18. <html lang="en">
  19.  
  20. <head>
  21. <meta charset="utf-8">
  22. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  23. <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
  24. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  25. <title>B.A.S.H</title>
  26.  
  27. <!-- Add to homescreen for Chrome on Android -->
  28. <meta name="mobile-web-app-capable" content="yes">
  29. <link rel="icon" sizes="192x192" href="images/android-desktop.png">
  30.  
  31. <!-- Add to homescreen for Safari on iOS -->
  32. <meta name="apple-mobile-web-app-capable" content="yes">
  33. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  34. <meta name="apple-mobile-web-app-title" content="Material Design Lite">
  35. <link rel="apple-touch-icon-precomposed" href="images/ios-desktop.png">
  36.  
  37. <!-- Tile icon for Win8 (144x144 + tile color) -->
  38. <meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">
  39. <meta name="msapplication-TileColor" content="#3372DF">
  40.  
  41. <link rel="shortcut icon" href="images/favicon.png">
  42.  
  43. <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
  44. <!--
  45. <link rel="canonical" href="http://www.example.com/">
  46. -->
  47.  
  48. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en">
  49. <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
  50. <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.light_blue-amber.min.css" />
  51. <link rel="stylesheet" href="styles.css">
  52. <style>
  53. #view-source {
  54. position: fixed;
  55. display: block;
  56. right: 0;
  57. bottom: 0;
  58. margin-right: 40px;
  59. margin-bottom: 40px;
  60. z-index: 900;
  61. }
  62.  
  63. .fit-img {
  64. max-width: 100%;
  65. max-height: 100%;
  66. }
  67.  
  68. .pointer {
  69. cursor: pointer;
  70. }
  71.  
  72. .ta-left td,
  73. .ta-left th {
  74.  
  75. text-align: left;
  76.  
  77. }
  78.  
  79. .table-container {
  80. width: 100%;
  81. }
  82.  
  83. #tracelog-tb {
  84. margin: 0 auto;
  85. }
  86.  
  87. .dll {
  88. cursor: pointer;
  89. color: #03A9F4;
  90. }
  91.  
  92. .header-title{
  93. color:#F5F5F5;
  94. }
  95.  
  96. .section-header-info{
  97. font-size: 28px;
  98. }
  99.  
  100. .hide{
  101. display: none;
  102. }
  103.  
  104.  
  105. </style>
  106. </head>
  107.  
  108. <body class="mdl-demo mdl-color--grey-100 mdl-color-text--grey-700 mdl-base">
  109. <div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
  110. <header class="mdl-layout__header mdl-layout__header--scroll mdl-color--black">
  111. <div class="mdl-layout--large-screen-only mdl-layout__header-row">
  112. </div>
  113. <div class="mdl-layout--large-screen-only mdl-layout__header-row">
  114. <h3 class="header-title">$B.A.S.H - Become A Smarter Hacker</h3>
  115. </div>
  116. <div class="mdl-layout--large-screen-only mdl-layout__header-row">
  117. </div>
  118. <div class="mdl-layout__tab-bar mdl-js-ripple-effect mdl-color--primary-dark">
  119. <a href="#overview" class="mdl-layout__tab is-active">Overview</a>
  120. <a href="#features" class="mdl-layout__tab">Features</a>
  121. <a href="#features" class="mdl-layout__tab">Details</a>
  122. <a href="#features" class="mdl-layout__tab">Technology</a>
  123. <a href="#features" class="mdl-layout__tab">FAQ</a>
  124. <button class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored mdl-shadow--4dp mdl-color--accent"
  125. id="add">
  126. <i class="material-icons" role="presentation">add</i>
  127. <span class="visuallyhidden">Add</span>
  128. </button>
  129. </div>
  130. </header>
  131. <main class="mdl-layout__content">
  132. <div class="mdl-layout__tab-panel is-active" id="overview">
  133. <!-- malware summary section -->
  134. <section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
  135. <header class="section-header-info section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color--lime-500 mdl-color-text--white">
  136. WORM
  137. </header>
  138.  
  139. <div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
  140. <div class="mdl-card__supporting-text">
  141. <h4>Allaple</h4>
  142. <div class="mal_summary">
  143. Worm:Win32/Allaple.A is a multi-threaded, polymorphic network wormcapable ofspreadingto other computers connected to a local
  144. area network (LAN)and performingdenial-of-service (DoS) attacks against targeted remote Web sites.
  145. </div>
  146. </div>
  147. <!-- <div class="mdl-card__actions">
  148. <a href="#" class="mdl-button">Read our features</a>
  149. </div> -->
  150. </div>
  151. <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon" id="btn1">
  152. <i class="material-icons">more_vert</i>
  153. </button>
  154. <ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right" for="btn1">
  155. <li class="mdl-menu__item"> All</li>
  156. <li class="mdl-menu__item">Microsft</li>
  157. <li class="mdl-menu__item">F-secure</li>
  158. </ul>
  159. </section>
  160.  
  161. <!-- malware info section -->
  162. <section class="info-section section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
  163. <div class="mdl-card mdl-cell mdl-cell--12-col">
  164. <div class="mdl-card__supporting-text mdl-grid mdl-grid--no-spacing">
  165. <h4 class="mdl-cell mdl-cell--12-col">Information</h4>
  166.  
  167. <div class="mal_behaviors section__circle-container mdl-cell mdl-cell--2-col mdl-cell--1-col-phone">
  168. <div class="section__circle-container__circle mdl-color--accent"></div>
  169.  
  170. </div>
  171. <div class="mal_behaviors section__text mdl-cell mdl-cell--10-col-desktop mdl-cell--6-col-tablet mdl-cell--3-col-phone">
  172. <h5>Behaviors</h5>
  173. <div class="mal_behaviors_content">
  174. The malware scans for vulnerable computers (on TCP ports 139 and 445) and sends exploits there in order to infect them. Scans
  175. for .HTM and .HTML files on all local hard disks and infects them by prepending a reference to worm’s CLSID
  176. there. It also performs a DoS attack on three websites located in Estonia
  177.  
  178. </div>
  179. </div>
  180. <div class="mal_tech_description section__circle-container mdl-cell mdl-cell--2-col mdl-cell--1-col-phone">
  181. <div class="section__circle-container__circle mdl-color--primary"></div>
  182. </div>
  183. <div class="mal_tech_description section__text mdl-cell mdl-cell--10-col-desktop mdl-cell--6-col-tablet mdl-cell--3-col-phone">
  184. <h5>Technical description</h5>
  185. <div class="mal_tech_description_content">
  186. The worm's file is polymorphically encrypted, which means every copy of the worm is different.The worm creates a different
  187. CLSID for every copy of itself that it creates on the hard drive. After getting control, the worm creates
  188. a few threads.
  189. <ul>
  190. 1. One thread scans for vulnerable computers (on TCP ports 139 and 445) and sends exploits there in order to infect them.
  191. <br> (1)Microsoft Security Bulletin MS06-040,利用Server 服務中的弱點可能會允許遠端執行程式碼
  192. <br> (2)字典破解弱密碼
  193. </ul>
  194.  
  195. <ul>
  196. 2. The other thread scans for .HTM and .HTML files on all local hard disks and infects them by prepending a reference to
  197. worm's CLSID there.
  198. <div>
  199. <img class="fit-img" src="https://i.imgur.com/VUCwgxA.png" />
  200. </div>
  201.  
  202. </ul>
  203. <ul>
  204. 3. One of the remaining threads performs a DoS attack on three websites located in Estonia.
  205. </ul>
  206. </div>
  207. </div>
  208.  
  209. <div class="mal_symptons section__circle-container mdl-cell mdl-cell--2-col mdl-cell--1-col-phone">
  210. <div class="section__circle-container__circle mdl-color--red"></div>
  211. </div>
  212. <div class="mal_symptons section__text mdl-cell mdl-cell--10-col-desktop mdl-cell--6-col-tablet mdl-cell--3-col-phone">
  213. <h5>Symptons</h5>
  214. <div class="mal_symptons_content">
  215. The following symptoms may be indicative of a Worm:Win32/Allaple.A infection:
  216. <ul>
  217. 1. Unexpected presence of arandomly named .EXE file in folders containing files with .HTML and .HTM file extensions
  218. </ul>
  219. <ul>
  220. 2. Presence of the following registry modification: ImagePath =
  221. <system folder>\
  222. <filename> /service Insubkey:
  223. <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSWindows</code>
  224. </ul>
  225. <ul>
  226. 3. The only constant aspect of the worm’s code is the size of its executable file - 57856 bytes.Large copies of 57856 bytes
  227. files in disk.
  228. </ul>
  229. </div>
  230.  
  231.  
  232. </div>
  233.  
  234. </div>
  235. <div class="mdl-card__actions">
  236. <span class="mdl-chip mdl-chip--contact pointer ms-tab">
  237. <span class="mdl-chip__contact mdl-color--blue mdl-color-text--white">M</span>
  238. <span class="mdl-chip__text">Microsoft</span>
  239. </span>
  240. <span class="mdl-chip mdl-chip--contact pointer">
  241. <span class="mdl-chip__contact mdl-color--teal mdl-color-text--white">F</span>
  242. <span class="mdl-chip__text">F-secure</span>
  243. </span>
  244. </div>
  245. </div>
  246. <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon" id="btn2">
  247. <i class="material-icons">more_vert</i>
  248. </button>
  249. <ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right" for="btn2">
  250. <li class="mdl-menu__item"> All</li>
  251. <li class="mdl-menu__item">Microsft</li>
  252. <li class="mdl-menu__item">F-secure</li>
  253. </ul>
  254. </section>
  255.  
  256.  
  257. <section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
  258. <div class="mdl-card mdl-cell mdl-cell--12-col">
  259. <div class="mdl-card__supporting-text">
  260. <h4>More Information</h4>
  261.  
  262. </div>
  263. <div class="mdl-card__actions">
  264. <a href="#" class="mdl-button">Read our features</a>
  265. </div>
  266. </div>
  267. <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon" id="btn3">
  268. <i class="material-icons">more_vert</i>
  269. </button>
  270. <ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right" for="btn3">
  271. <li class="mdl-menu__item">Lorem</li>
  272. <li class="mdl-menu__item" disabled>Ipsum</li>
  273. <li class="mdl-menu__item">Dolor</li>
  274. </ul>
  275. </section>
  276. <section class="section--footer mdl-color--white mdl-grid">
  277.  
  278. <div class="section__circle-container mdl-cell mdl-cell--2-col mdl-cell--1-col-phone">
  279. <div class="section__circle-container__circle mdl-color--accent section__circle--big"></div>
  280. </div>
  281. <div class="section__text mdl-cell mdl-cell--4-col-desktop mdl-cell--6-col-tablet mdl-cell--3-col-phone">
  282. <h5>Tracelog Analysis</h5>
  283. Tracelog Analysis description text here
  284. </div>
  285.  
  286.  
  287. <div class="table-container">
  288. <table id="tracelog-tb" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp ta-left">
  289. <thead>
  290. <tr>
  291. <th>Timestamp</th>
  292. <th>Stage</th>
  293. <th>Technical Description</th>
  294. <th>Observerd Behavior</th>
  295. <th>Tracelog</th>
  296. </tr>
  297. </thead>
  298. <tbody>
  299.  
  300. </tbody>
  301. </table>
  302.  
  303. </div>
  304. </section>
  305. </div>
  306. <div class="mdl-layout__tab-panel" id="features">
  307. <section class="section--center mdl-grid mdl-grid--no-spacing">
  308. <div class="mdl-cell mdl-cell--12-col">
  309. <h4>Features</h4>
  310. Minim duis incididunt est cillum est ex occaecat consectetur. Qui sint ut et qui nisi cupidatat. Reprehenderit nostrud proident
  311. officia exercitation anim et pariatur ex.
  312. <ul class="toc">
  313. <h4>Contents</h4>
  314. <a href="#lorem1">Lorem ipsum</a>
  315. <a href="#lorem2">Lorem ipsum</a>
  316. <a href="#lorem3">Lorem ipsum</a>
  317. <a href="#lorem4">Lorem ipsum</a>
  318. <a href="#lorem5">Lorem ipsum</a>
  319. </ul>
  320.  
  321. <h5 id="lorem1">Lorem ipsum dolor sit amet</h5>
  322. Excepteur et pariatur officia veniam anim culpa cupidatat consequat ad velit culpa est non.
  323. <ul>
  324. <li>Nisi qui nisi duis commodo duis reprehenderit consequat velit aliquip.</li>
  325. <li>Dolor consectetur incididunt in ipsum laborum non et irure pariatur excepteur anim occaecat officia sint.</li>
  326. <li>Lorem labore proident officia excepteur do.</li>
  327. </ul>
  328.  
  329.  
  330. </div>
  331. </section>
  332. </div>
  333. <footer class="mdl-mega-footer">
  334. <div class="mdl-mega-footer--middle-section">
  335. <div class="mdl-mega-footer--drop-down-section">
  336. <input class="mdl-mega-footer--heading-checkbox" type="checkbox" checked>
  337. <h1 class="mdl-mega-footer--heading">Features</h1>
  338. <ul class="mdl-mega-footer--link-list">
  339. <li>
  340. <a href="#">About</a>
  341. </li>
  342. <li>
  343. <a href="#">Terms</a>
  344. </li>
  345. <li>
  346. <a href="#">Partners</a>
  347. </li>
  348. <li>
  349. <a href="#">Updates</a>
  350. </li>
  351. </ul>
  352. </div>
  353. <div class="mdl-mega-footer--drop-down-section">
  354. <input class="mdl-mega-footer--heading-checkbox" type="checkbox" checked>
  355. <h1 class="mdl-mega-footer--heading">Details</h1>
  356. <ul class="mdl-mega-footer--link-list">
  357. <li>
  358. <a href="#">Spec</a>
  359. </li>
  360. <li>
  361. <a href="#">Tools</a>
  362. </li>
  363. <li>
  364. <a href="#">Resources</a>
  365. </li>
  366. </ul>
  367. </div>
  368. <div class="mdl-mega-footer--drop-down-section">
  369. <input class="mdl-mega-footer--heading-checkbox" type="checkbox" checked>
  370. <h1 class="mdl-mega-footer--heading">Technology</h1>
  371. <ul class="mdl-mega-footer--link-list">
  372. <li>
  373. <a href="#">How it works</a>
  374. </li>
  375. <li>
  376. <a href="#">Patterns</a>
  377. </li>
  378. <li>
  379. <a href="#">Usage</a>
  380. </li>
  381. <li>
  382. <a href="#">Products</a>
  383. </li>
  384. <li>
  385. <a href="#">Contracts</a>
  386. </li>
  387. </ul>
  388. </div>
  389. <div class="mdl-mega-footer--drop-down-section">
  390. <input class="mdl-mega-footer--heading-checkbox" type="checkbox" checked>
  391. <h1 class="mdl-mega-footer--heading">FAQ</h1>
  392. <ul class="mdl-mega-footer--link-list">
  393. <li>
  394. <a href="#">Questions</a>
  395. </li>
  396. <li>
  397. <a href="#">Answers</a>
  398. </li>
  399. <li>
  400. <a href="#">Contact us</a>
  401. </li>
  402. </ul>
  403. </div>
  404. </div>
  405. <div class="mdl-mega-footer--bottom-section">
  406. <div class="mdl-logo">
  407. More Information
  408. </div>
  409. <ul class="mdl-mega-footer--link-list">
  410. <li>
  411. <a href="https://developers.google.com/web/starter-kit/">Web Starter Kit</a>
  412. </li>
  413. <li>
  414. <a href="#">Help</a>
  415. </li>
  416. <li>
  417. <a href="#">Privacy and Terms</a>
  418. </li>
  419. </ul>
  420. </div>
  421. </footer>
  422. <dialog class="mdl-dialog dll-dialog">
  423. <h4 class="mdl-dialog__title">DLL</h4>
  424. <div class="mdl-dialog__content">
  425. <p>
  426. DLL stuff
  427. </p>
  428. </div>
  429. <div class="mdl-dialog__actions">
  430. <!-- <button type="button" class="mdl-button close">Agree</button> -->
  431. <button type="button" class="mdl-button close">Close</button>
  432. </div>
  433. </dialog>
  434. </main>
  435.  
  436.  
  437.  
  438. </div>
  439. <a href="https://github.com/google/material-design-lite/blob/mdl-1.x/templates/text-only/" target="_blank" id="view-source"
  440. class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-color--accent mdl-color-text--accent-contrast">View Source</a>
  441. <script src="https://code.getmdl.io/1.3.0/material.min.js"></script>
  442. <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
  443. </body>
  444.  
  445. <script>
  446.  
  447. function dialog_registry(dll_data) {
  448. var dll_dialog = document.querySelector('.mdl-dialog.dll-dialog');
  449. dll_dialog.querySelector('.close').addEventListener('click', function () {
  450. dll_dialog.close();
  451. });
  452. $('.dll').click(function () {
  453. var dll = $(this).text().toLowerCase();
  454. if (dll_data[dll]) {
  455. // console.log(dll, dll_data[dll]);
  456. dll_dialog.querySelector('.mdl-dialog__title').innerHTML = dll;
  457. dll_dialog.querySelector('p').innerHTML = dll_data[dll];
  458. dll_dialog.showModal();
  459. }
  460. });
  461. }
  462.  
  463. $(window).ready(function () {
  464. $.ajax({
  465. url: "data.json",
  466. dataType: 'json',
  467. async: false,
  468. success: function (data) {
  469. console.log(data.length);
  470. var $tbody = $('#tracelog-tb tbody');
  471. for (var i = 0; i < data.length; ++i) {
  472.  
  473. var tb_row = "";
  474. // index
  475. tb_row += '<td>' + (i+1).toString() + '</td>';
  476.  
  477. // stage
  478. var stage;
  479. if (i <= 23)
  480. stage = '1';
  481. else if (i <= 91)
  482. stage = '2';
  483. else if (i <= 96)
  484. stage = '3';
  485. else
  486. stage = '4';
  487. tb_row += '<td>' + stage + '</td>';
  488.  
  489. // technical description
  490. tb_row += '<td>' + 'TD' + '</td>';
  491.  
  492. // observed behavior
  493. tb_row += '<td>' + 'OB' + '</td>';
  494. var tracelog = "";
  495.  
  496. tracelog += '<strong>' + data[i]['action_name'] + '</strong> <br>';
  497.  
  498. if (data[i]['actions'].length > 0) {
  499. for (var j = 0; j < data[i]['actions'].length; ++j) {
  500. tracelog += data[i]['actions'][j][0] + ": ";
  501. if (data[i]['actions'][j][1].toLowerCase().includes("dll")) {
  502. tracelog += '<span class="dll">' + data[i]['actions'][j][1] + '</span><br>';
  503. }
  504. else{
  505. tracelog += data[i]['actions'][j][1] + '<br>';
  506.  
  507. }
  508. }
  509. }
  510. tracelog += "Return:" + data[i]['return'];
  511.  
  512. tb_row += '<td >' + tracelog + '</td>';
  513. var tr = "<tr>" + tb_row + '</tr>';
  514. $tbody.append(tr);
  515.  
  516. }
  517. }
  518.  
  519. });
  520. var dll_data;
  521. $.ajax({
  522. url: "dll.json",
  523. dataType: 'json',
  524. async: false,
  525. success: function (data) {
  526. dll_data = data;
  527. }
  528. });
  529. var malware_data;
  530. $.ajax({
  531. url: "malware_info.json",
  532. dataType: 'json',
  533. async: false,
  534. success: function (data) {
  535. malware_data = data;
  536. // malware_data = malware_data['allaple'];
  537. malware_data = malware_data[0]['content'][0];
  538. console.log(malware_data);
  539.  
  540. }
  541. });
  542. $('.ms-tab').click(function name(params) {
  543. $('.info-section .mal_tech_description_content').html(malware_data['tech']);
  544. $('.info-section .mal_symptons_content').html(malware_data['symptoms']);
  545.  
  546. console.log($(this));
  547. });
  548.  
  549. dialog_registry(dll_data);
  550. });
  551.  
  552.  
  553.  
  554. </script>
  555.  
  556. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement