{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Generate AMITT github files\n", "\n", "Generate all the AMITT github files from the AMITT master spreadsheet, being careful to reatin any comments people have made below the \"don't write above this\" line in them. " ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "scrolled": true }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "updated ../amitt_red_framework.md\n", "updated ../amitt_red_framework_clickable.html\n", "updated ../amitt_blue_framework.md\n", "updated ../amitt_blue_framework_clickable.html\n", "updated ../phases_index.md\n", "updated ../tactics_index.md\n", "updated ../techniques_index.md\n", "updated ../tasks_index.md\n", "updated ../incidents_index.md\n", "updated ../counters_index.md\n", "updated ../metatechniques_index.md\n", "updated ../actortypes_index.md\n", "updated ../responsetype_index.md\n", "updated ../detections_index.md\n", "updated ../tactics_by_responsetype_table.md\n", "updated ../metatechniques_by_responsetype_table.md\n" ] } ], "source": [ "import pandas as pd\n", "from generate_amitt_ttps import Amitt\n", "amitt = Amitt()\n", "amitt.generate_and_write_datafiles()" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
amitt_idnamemetatechniquesummaryactortypesresources_neededhow_foundreferencesincident_idstacticresponsetypenotestechniqueslongnametactic_idtactic_namemetatechnique_idmetatechnique_name
0C00006Charge for social mediaM004 - frictionInclude a paid-for privacy option, e.g. pay Fa...A033 - social media platform owner2019-11-workshopTA01 Strategic PlanningD2 DenyT0007 - Create fake Social Media Profiles / Pa...C00006 - Charge for social mediaTA01Strategic PlanningM004- friction
1C00008Create shared fact-checking databaseM006 - scoringShare fact-checking resources - tips, response...A007 - factchecker2019-11-workshop\\n2019-11-searchI00049,I00050TA01 Strategic PlanningD4 DegradeT0001 - 5Ds (dismiss, distort, distract, disma...C00008 - Create shared fact-checking databaseTA01Strategic PlanningM006- scoring
2C00009Educate high profile influencers on best pract...M001 - resilienceFind online influencers. Provide training in t...A016 - influencer,A006 - educator2019-11-workshopTA02 Objective PlanningD2 DenyT0010 - Cultivate ignorant agents\\nT0039 - Bai...C00009 - Educate high profile influencers on b...TA02Objective PlanningM001- resilience
3C00010Enhanced privacy regulation for social mediaM004 - frictionImplement stronger privacy standards, to reduc...A020 - policy maker2019-11-workshopTA01 Strategic PlanningD2 DenyT0005 - Center of gravity analysis\\nT0018 - Pa...C00010 - Enhanced privacy regulation for socia...TA01Strategic PlanningM004- friction
4C00011Media literacy. Games to identify fake newsM001 - resilienceCreate and use games to show people the mechan...A006 - educator,A026 - games designer,A024 - d...2019-11-workshopTA02 Objective PlanningD2 DenyT0001 - 5Ds (dismiss, distort, distract, disma...C00011 - Media literacy. Games to identify fak...TA02Objective PlanningM001- resilience
.........................................................
135C00219Add metadata to content that’s out of the cont...M003 - daylightSteganography. Adding date, signatures etc to ...grugqTA06 Develop ContentD4 DegradeT0024 - Create fake videos and images\\nT0026 -...C00219 - Add metadata to content that’s out of...TA06Develop ContentM003- daylight
136C00220Develop a monitoring and intelligence planM007 - metatechniqueCreate a plan for misinformation and disinform...Counters cleanupTA01 Strategic PlanningD3 DisruptC00220 - Develop a monitoring and intelligence...TA01Strategic PlanningM007- metatechnique
137C00221Run a disinformation red team, and design miti...M007 - metatechniqueInclude PACE plans - Primary, Alternate, Conti...Counters cleanupTA01 Strategic PlanningD3 DisruptC00221 - Run a disinformation red team, and de...TA01Strategic PlanningM007- metatechnique
138C00222Tabletop simulationsM007 - metatechniqueSimulate misinformation and disinformation cam...TA02 Objective PlanningD3 DisruptC00222 - Tabletop simulationsTA02Objective PlanningM007- metatechnique
139C00223Strengthen Trust in social media platformsM001 - resilienceImprove trust in the misinformation responses ...TA01 Strategic PlanningD3 DisruptC00223 - Strengthen Trust in social media plat...TA01Strategic PlanningM001- resilience
\n", "

140 rows × 18 columns

\n", "
" ], "text/plain": [ " amitt_id name \\\n", "0 C00006 Charge for social media \n", "1 C00008 Create shared fact-checking database \n", "2 C00009 Educate high profile influencers on best pract... \n", "3 C00010 Enhanced privacy regulation for social media \n", "4 C00011 Media literacy. Games to identify fake news \n", ".. ... ... \n", "135 C00219 Add metadata to content that’s out of the cont... \n", "136 C00220 Develop a monitoring and intelligence plan \n", "137 C00221 Run a disinformation red team, and design miti... \n", "138 C00222 Tabletop simulations \n", "139 C00223 Strengthen Trust in social media platforms \n", "\n", " metatechnique summary \\\n", "0 M004 - friction Include a paid-for privacy option, e.g. pay Fa... \n", "1 M006 - scoring Share fact-checking resources - tips, response... \n", "2 M001 - resilience Find online influencers. Provide training in t... \n", "3 M004 - friction Implement stronger privacy standards, to reduc... \n", "4 M001 - resilience Create and use games to show people the mechan... \n", ".. ... ... \n", "135 M003 - daylight Steganography. Adding date, signatures etc to ... \n", "136 M007 - metatechnique Create a plan for misinformation and disinform... \n", "137 M007 - metatechnique Include PACE plans - Primary, Alternate, Conti... \n", "138 M007 - metatechnique Simulate misinformation and disinformation cam... \n", "139 M001 - resilience Improve trust in the misinformation responses ... \n", "\n", " actortypes resources_needed \\\n", "0 A033 - social media platform owner \n", "1 A007 - factchecker \n", "2 A016 - influencer,A006 - educator \n", "3 A020 - policy maker \n", "4 A006 - educator,A026 - games designer,A024 - d... \n", ".. ... ... \n", "135 \n", "136 \n", "137 \n", "138 \n", "139 \n", "\n", " how_found references incident_ids \\\n", "0 2019-11-workshop \n", "1 2019-11-workshop\\n2019-11-search I00049,I00050 \n", "2 2019-11-workshop \n", "3 2019-11-workshop \n", "4 2019-11-workshop \n", ".. ... ... ... \n", "135 grugq \n", "136 Counters cleanup \n", "137 Counters cleanup \n", "138 \n", "139 \n", "\n", " tactic responsetype notes \\\n", "0 TA01 Strategic Planning D2 Deny \n", "1 TA01 Strategic Planning D4 Degrade \n", "2 TA02 Objective Planning D2 Deny \n", "3 TA01 Strategic Planning D2 Deny \n", "4 TA02 Objective Planning D2 Deny \n", ".. ... ... ... \n", "135 TA06 Develop Content D4 Degrade \n", "136 TA01 Strategic Planning D3 Disrupt \n", "137 TA01 Strategic Planning D3 Disrupt \n", "138 TA02 Objective Planning D3 Disrupt \n", "139 TA01 Strategic Planning D3 Disrupt \n", "\n", " techniques \\\n", "0 T0007 - Create fake Social Media Profiles / Pa... \n", "1 T0001 - 5Ds (dismiss, distort, distract, disma... \n", "2 T0010 - Cultivate ignorant agents\\nT0039 - Bai... \n", "3 T0005 - Center of gravity analysis\\nT0018 - Pa... \n", "4 T0001 - 5Ds (dismiss, distort, distract, disma... \n", ".. ... \n", "135 T0024 - Create fake videos and images\\nT0026 -... \n", "136 \n", "137 \n", "138 \n", "139 \n", "\n", " longname tactic_id \\\n", "0 C00006 - Charge for social media TA01 \n", "1 C00008 - Create shared fact-checking database TA01 \n", "2 C00009 - Educate high profile influencers on b... TA02 \n", "3 C00010 - Enhanced privacy regulation for socia... TA01 \n", "4 C00011 - Media literacy. Games to identify fak... TA02 \n", ".. ... ... \n", "135 C00219 - Add metadata to content that’s out of... TA06 \n", "136 C00220 - Develop a monitoring and intelligence... TA01 \n", "137 C00221 - Run a disinformation red team, and de... TA01 \n", "138 C00222 - Tabletop simulations TA02 \n", "139 C00223 - Strengthen Trust in social media plat... TA01 \n", "\n", " tactic_name metatechnique_id metatechnique_name \n", "0 Strategic Planning M004 - friction \n", "1 Strategic Planning M006 - scoring \n", "2 Objective Planning M001 - resilience \n", "3 Strategic Planning M004 - friction \n", "4 Objective Planning M001 - resilience \n", ".. ... ... ... \n", "135 Develop Content M003 - daylight \n", "136 Strategic Planning M007 - metatechnique \n", "137 Strategic Planning M007 - metatechnique \n", "138 Objective Planning M007 - metatechnique \n", "139 Strategic Planning M001 - resilience \n", "\n", "[140 rows x 18 columns]" ] }, "execution_count": 8, "metadata": {}, "output_type": "execute_result" } ], "source": [ "amitt.df_counters" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.3" } }, "nbformat": 4, "nbformat_minor": 4 }