diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..50d0c59 --- /dev/null +++ b/Gemfile @@ -0,0 +1,24 @@ +source "https://rubygems.org" + +gem "jekyll", "~> 4.4" +gem "minima", "~> 2.5" + +group :jekyll_plugins do + gem "jekyll-feed", "~> 0.12" + gem "jekyll-sitemap" +end + +# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem +# and associated library. +platforms :mingw, :x64_mingw, :mswin, :jruby do + gem "tzinfo", ">= 1", "< 3" + gem "tzinfo-data" +end + +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] + +# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem +# do not have a Java counterpart. +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] + diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..bf388df --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,107 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + base64 (0.3.0) + colorator (1.1.0) + concurrent-ruby (1.3.5) + csv (3.3.5) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.17.2) + ffi (1.17.2-arm64-darwin) + ffi (1.17.2-x86_64-darwin) + forwardable-extended (2.6.0) + google-protobuf (3.25.8) + google-protobuf (3.25.8-arm64-darwin) + google-protobuf (3.25.8-x86_64-darwin) + google-protobuf (3.25.8-x86_64-linux) + http_parser.rb (0.8.0) + i18n (1.14.7) + concurrent-ruby (~> 1.0) + jekyll (4.4.1) + addressable (~> 2.4) + base64 (~> 0.2) + colorator (~> 1.0) + csv (~> 3.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + json (~> 2.6) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (~> 0.3, >= 0.3.6) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-feed (0.17.0) + jekyll (>= 3.7, < 5.0) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) + jekyll-seo-tag (2.8.0) + jekyll (>= 3.8, < 5.0) + jekyll-sitemap (1.4.0) + jekyll (>= 3.7, < 5.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + json (2.13.2) + kramdown (2.5.1) + rexml (>= 3.3.9) + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.9.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + minima (2.5.2) + jekyll (>= 3.5, < 5.0) + jekyll-feed (~> 0.9) + jekyll-seo-tag (~> 2.1) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (6.0.2) + rake (13.3.0) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) + ffi (~> 1.0) + rexml (3.4.2) + rouge (4.6.0) + safe_yaml (1.0.5) + sass-embedded (1.69.5) + google-protobuf (~> 3.23) + rake (>= 13.0.0) + sass-embedded (1.69.5-arm64-darwin) + google-protobuf (~> 3.23) + sass-embedded (1.69.5-x86_64-darwin) + google-protobuf (~> 3.23) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.6.0) + webrick (1.9.1) + +PLATFORMS + arm64-darwin + ruby + x86_64-darwin + x86_64-linux + +DEPENDENCIES + http_parser.rb (~> 0.6.0) + jekyll (~> 4.4) + jekyll-feed (~> 0.12) + jekyll-sitemap + minima (~> 2.5) + tzinfo (>= 1, < 3) + tzinfo-data + wdm (~> 0.1.1) + +BUNDLED WITH + 2.5.23 diff --git a/_chapters/chapter-1.md b/_chapters/chapter-1.md new file mode 100644 index 0000000..bd879ef --- /dev/null +++ b/_chapters/chapter-1.md @@ -0,0 +1,477 @@ +--- +layout: default +title: "Chapter 1: Core Security Principles" +description: "The five fundamental principles that must guide all resistance security decisions" +section_number: "1-1 to 1-5" +prev_page: + title: "Part I: Foundations" + url: "/parts/part-1/" +next_page: + title: "Chapter 2: Threat Assessment" + url: "/chapters/chapter-2/" +--- + +# Chapter 1: Core Security Principles + +## Chapter Overview + +This chapter establishes the five fundamental principles that must guide all resistance security decisions. These principles, derived from decades of resistance experience and modern security research, provide the conceptual framework for evaluating threats, designing countermeasures, and making operational decisions under pressure. + +**Sections in this chapter:** +- 1-1: Principle of Least Privilege +- 1-2: Need-to-Know Basis +- 1-3: Compartmentalization and Cell Structure +- 1-4: Zero Trust Verification +- 1-5: Metadata Minimization + +--- + +## Section 1-1: Principle of Least Privilege + +### Definition + +The Principle of Least Privilege states that every person, process, and system should have access only to the minimum resources necessary to perform their legitimate function. In resistance operations, this means limiting access to information, tools, and capabilities to the smallest set required for operational effectiveness. + +### Application in Resistance Operations + +#### Information Access +- **Operational details** are shared only with those who need them for their specific role +- **Contact information** is limited to direct operational relationships +- **Strategic plans** are known only to leadership and those implementing specific components +- **Technical details** are restricted to those responsible for implementation and maintenance + +#### System Access +- **Communication platforms** grant access only to relevant channels and groups +- **File repositories** provide access only to documents needed for specific roles +- **Administrative privileges** are limited to the minimum number of trusted individuals +- **Backup systems** are accessible only to designated recovery personnel + +#### Physical Access +- **Meeting locations** are known only to attendees and necessary support personnel +- **Safe houses** are accessed only by those with operational need +- **Equipment storage** is limited to those responsible for specific tools or supplies +- **Document storage** is restricted to those who create, maintain, or use specific materials + +### Implementation Guidelines + +
+
+

DO

+ +
+
+

DON'T

+ +
+
+ +### Common Violations and Consequences + +**Violation:** Sharing operational plans with all cell members regardless of their role +**Consequence:** Compromise of one member leads to exposure of entire operation + +**Violation:** Using shared accounts for multiple purposes +**Consequence:** Inability to track access or revoke permissions for specific individuals + +**Violation:** Granting administrative access to avoid permission requests +**Consequence:** Accidental or malicious damage to critical systems + +--- + +## Section 1-2: Need-to-Know Basis + +### Definition + +Need-to-Know is an information security principle that restricts access to sensitive information to only those individuals who require it to perform their duties. Unlike Least Privilege, which focuses on access controls, Need-to-Know addresses the content and scope of information sharing. + +### Information Classification + +#### Operational Classifications + +**CRITICAL** - Information whose compromise would cause immediate operational failure +- Real names and personal details of participants +- Specific operational plans and timelines +- Location and access details for safe houses +- Technical vulnerabilities and exploitation methods + +**SENSITIVE** - Information whose compromise would significantly impact operations +- Communication protocols and procedures +- General operational capabilities and resources +- Training materials and educational content +- Historical operational data and lessons learned + +**RESTRICTED** - Information whose compromise would cause limited damage +- General security guidelines and best practices +- Public-facing materials and propaganda +- Non-sensitive logistical information +- Educational resources available from public sources + +**UNCLASSIFIED** - Information that can be shared without operational impact +- Publicly available tools and software +- General security awareness materials +- Historical information about resistance movements +- Legal and political analysis available from public sources + +### Information Sharing Protocols + +#### Vertical Information Flow +- **Upward reporting** includes only information necessary for decision-making +- **Downward direction** provides only information necessary for task execution +- **Status updates** focus on operational requirements rather than comprehensive briefings +- **Emergency communications** may temporarily bypass normal restrictions + +#### Horizontal Information Flow +- **Peer coordination** shares only information necessary for joint operations +- **Cross-cell communication** is limited to specific operational requirements +- **Resource sharing** includes only information necessary for effective utilization +- **Mutual support** provides assistance without unnecessary information disclosure + +### Implementation in Practice + +#### Meeting Protocols +``` +Before sharing information in any meeting: +1. Identify who needs this specific information +2. Determine the minimum detail level required +3. Consider whether the information can be compartmentalized +4. Verify that all attendees have operational need for the information +5. Document what was shared and with whom +``` + +#### Communication Guidelines +- Use **coded language** for sensitive topics even in secure channels +- **Separate conversations** by topic and participant need +- **Time-limit** access to sensitive information when possible +- **Verify recipient identity** before sharing sensitive information + +
+
Information Discipline
+

The natural human tendency is to share information to build trust and demonstrate competence. In resistance operations, this tendency must be consciously overcome. Information discipline requires constant vigilance and may feel antisocial, but it is essential for operational security.

+
+ +--- + +## Section 1-3: Compartmentalization and Cell Structure + +### Definition + +Compartmentalization is the practice of isolating information, people, and operations into discrete units (cells) that can function independently and have limited knowledge of other units. This structure prevents the compromise of one element from cascading through the entire organization. + +### Cell Structure Design + +#### Basic Cell Characteristics +- **Size limitation**: 3-7 members for optimal security and effectiveness +- **Functional focus**: Each cell has a specific operational purpose +- **Limited connectivity**: Minimal connections to other cells +- **Independent capability**: Can operate without external support for extended periods +- **Redundant skills**: Multiple members can perform critical functions + +#### Cell Types + +**Operational Cells** +- Execute specific resistance activities +- Have detailed knowledge of their operations only +- Receive direction through secure channels +- Report results through established protocols + +**Support Cells** +- Provide specialized services (technical, logistical, financial) +- Have broad knowledge of capabilities but limited operational details +- Serve multiple operational cells without knowing their specific activities +- Maintain strict separation between different support functions + +**Communication Cells** +- Facilitate secure communication between other cells +- Know communication protocols but not operational content +- Provide technical infrastructure and training +- Maintain multiple redundant communication channels + +**Leadership Cells** +- Coordinate strategic direction and resource allocation +- Have broad operational awareness but limited tactical details +- Make decisions based on summarized reports rather than raw intelligence +- Maintain multiple independent communication channels + +### Inter-Cell Communication + +#### Communication Protocols +- **Scheduled contacts** at predetermined intervals +- **Emergency procedures** for urgent communication needs +- **Authentication methods** to verify identity and message integrity +- **Fallback procedures** when primary communication channels fail + +#### Information Flow Management +``` +Standard Communication Flow: +Operational Cell → Support Cell → Leadership Cell + +Emergency Communication Flow: +Any Cell → Emergency Contact → Leadership Cell + +Cross-Cell Coordination: +Cell A → Leadership Cell → Cell B +(Direct cell-to-cell communication only for specific authorized operations) +``` + +#### Security Measures +- **Unique communication methods** for each cell relationship +- **Time-delayed communication** to prevent real-time tracking +- **Multiple authentication factors** for sensitive communications +- **Regular communication schedule changes** to prevent pattern analysis + +### Compromise Response + +#### Isolation Procedures +When a cell is compromised: +1. **Immediate isolation** - Cut all communication with compromised cell +2. **Damage assessment** - Determine what information was exposed +3. **Notification protocol** - Alert affected cells through secure channels +4. **Operational adjustment** - Modify plans based on exposed information +5. **Recovery planning** - Develop procedures for reconstituting capabilities + +#### Continuity Planning +- **Redundant capabilities** across multiple cells +- **Succession planning** for key roles and functions +- **Resource distribution** to prevent single points of failure +- **Alternative communication channels** for emergency coordination + +
+
Cell Discipline
+

Effective compartmentalization requires strict discipline from all participants. The temptation to share information across cell boundaries for efficiency or social reasons must be resisted. Remember: the inconvenience of compartmentalization is far less than the consequences of cascade compromise.

+
+ +--- + +## Section 1-4: Zero Trust Verification + +### Definition + +Zero Trust is a security model that assumes no user, device, or communication can be trusted by default, even if they are inside the organization's network or have been previously verified. Every access request must be authenticated, authorized, and continuously validated. + +### Core Zero Trust Principles + +#### Never Trust, Always Verify +- **Identity verification** required for every access request +- **Device authentication** before allowing network access +- **Continuous monitoring** of user and system behavior +- **Regular re-authentication** for ongoing access + +#### Assume Breach +- **Design systems** to function even when partially compromised +- **Limit blast radius** of any potential compromise +- **Monitor for indicators** of compromise continuously +- **Plan response procedures** for various compromise scenarios + +#### Verify Explicitly +- **Multi-factor authentication** for all sensitive access +- **Behavioral analysis** to detect anomalous activity +- **Contextual verification** based on location, time, and access patterns +- **Cryptographic verification** of message and file integrity + +### Implementation in Resistance Operations + +#### Identity Verification +``` +Standard Verification Process: +1. Something you know (password, passphrase, coded response) +2. Something you have (device, token, physical key) +3. Something you are (biometric, behavioral pattern) +4. Somewhere you are (location verification, network analysis) +5. Someone you know (trusted introducer, mutual contact) +``` + +#### Communication Verification +- **Message authentication codes** to verify sender identity +- **Forward secrecy** to limit damage from key compromise +- **Out-of-band verification** for critical communications +- **Regular key rotation** to limit exposure windows + +#### Device Trust +- **Device registration** and authentication before network access +- **Regular security updates** and vulnerability patching +- **Behavioral monitoring** for signs of compromise +- **Remote wipe capabilities** for lost or stolen devices + +#### Network Segmentation +- **Micro-segmentation** to limit lateral movement +- **Encrypted communications** for all network traffic +- **Access logging** and monitoring for all network activity +- **Regular network topology changes** to prevent mapping + +### Continuous Verification + +#### Behavioral Monitoring +- **Baseline establishment** for normal user behavior +- **Anomaly detection** for unusual access patterns +- **Risk scoring** based on multiple behavioral factors +- **Adaptive authentication** based on risk assessment + +#### Regular Re-authentication +- **Time-based re-authentication** for ongoing access +- **Activity-based verification** for sensitive operations +- **Location-based challenges** for access from new locations +- **Privilege escalation verification** for administrative functions + +
+
Paranoia vs. Security
+

Zero Trust may seem paranoid, but it reflects the reality of operating in a hostile environment where compromise is not a matter of if, but when. The goal is not to prevent all compromise, but to limit its impact and maintain operational capability even under adverse conditions.

+
+ +--- + +## Section 1-5: Metadata Minimization + +### Definition + +Metadata is "data about data" - information that describes the characteristics of communications and activities without revealing their content. In resistance operations, metadata analysis can reveal operational patterns, network structures, and behavioral indicators even when all content is encrypted. + +### Types of Metadata + +#### Communication Metadata +- **Sender and recipient** identities and addresses +- **Timestamps** of message creation, transmission, and receipt +- **Message size** and format information +- **Routing information** including intermediate servers and networks +- **Device information** including hardware and software details + +#### Location Metadata +- **GPS coordinates** from mobile devices and applications +- **Network location** data from Wi-Fi and cellular connections +- **Movement patterns** derived from sequential location data +- **Association patterns** based on co-location with other devices + +#### Behavioral Metadata +- **Usage patterns** including timing and frequency of activities +- **Application usage** and feature utilization patterns +- **Network traffic patterns** including volume and timing +- **Device interaction patterns** including typing and usage behaviors + +#### Financial Metadata +- **Transaction timing** and frequency patterns +- **Payment methods** and account relationships +- **Geographic patterns** of financial activity +- **Association patterns** with other financial accounts + +### Metadata Analysis Capabilities + +#### Pattern Recognition +Modern data analysis can identify: +- **Communication networks** and hierarchical structures +- **Operational cycles** and planning timelines +- **Geographic patterns** and safe house locations +- **Behavioral signatures** unique to specific individuals + +#### Predictive Analysis +Metadata can be used to: +- **Predict future activities** based on historical patterns +- **Identify key individuals** based on network centrality +- **Detect operational planning** through communication pattern changes +- **Locate physical meetings** through device co-location analysis + +### Minimization Strategies + +#### Communication Minimization +
+
+

DO

+ +
+
+

DON'T

+ +
+
+ +#### Location Minimization +- **Disable location services** on all devices used for resistance activities +- **Use public Wi-Fi** from locations unconnected to your identity +- **Vary locations** for different types of activities +- **Avoid patterns** in movement and location choices +- **Use transportation methods** that don't create digital records + +#### Temporal Minimization +- **Randomize timing** of communications and activities +- **Use time delays** to break real-time correlation +- **Avoid regular schedules** that create predictable patterns +- **Coordinate timing** to create false patterns when beneficial +- **Use automated systems** to decouple activity timing from human schedules + +#### Technical Minimization +``` +Technical Metadata Reduction: +1. Use Tor or similar anonymization networks +2. Employ VPNs with no-logging policies +3. Use disposable email addresses and accounts +4. Regularly change device identifiers when possible +5. Use different devices for different operational purposes +``` + +### Metadata-Aware Operational Planning + +#### Communication Planning +- **Map metadata exposure** for all planned communications +- **Design communication flows** to minimize revealing patterns +- **Plan for metadata analysis** by adversaries +- **Develop cover stories** for unavoidable metadata patterns + +#### Activity Planning +- **Consider metadata implications** of all operational activities +- **Design operations** to create misleading metadata when possible +- **Plan timing** to minimize correlation opportunities +- **Coordinate activities** to distribute metadata across multiple participants + +
+
Metadata Discipline
+

Effective metadata minimization requires thinking about the digital traces of every action before taking it. This becomes second nature with practice, but initially requires conscious effort and planning. The investment in metadata discipline pays dividends in operational security and longevity.

+
+ +--- + +## Chapter Summary + +The five core security principles covered in this chapter provide the foundation for all resistance security operations: + +1. **Least Privilege** limits access to the minimum necessary for operational effectiveness +2. **Need-to-Know** restricts information sharing to operational requirements +3. **Compartmentalization** isolates operations to prevent cascade compromise +4. **Zero Trust** assumes compromise and requires continuous verification +5. **Metadata Minimization** reduces digital traces that reveal operational patterns + +These principles must be applied consistently across all aspects of resistance operations, from technical tool selection to operational planning to daily security practices. They are not merely guidelines but operational requirements for survival in a hostile environment. + +### Integration and Balance + +While each principle is important individually, their real power comes from integrated application. Effective resistance security requires balancing these principles against operational requirements and human limitations. Perfect adherence to all principles simultaneously may be impossible, but conscious application of each principle to every security decision will dramatically improve operational security. + +### Next Steps + +Chapter 2 builds on these foundational principles by providing systematic approaches to threat assessment and operational environment analysis. Understanding these principles is essential preparation for the practical threat modeling exercises that follow. + +--- + +**Next:** [Chapter 2: Threat Assessment and Operational Environment →](/chapters/chapter-2/) + diff --git a/_chapters/chapter-2.md b/_chapters/chapter-2.md new file mode 100644 index 0000000..224da43 --- /dev/null +++ b/_chapters/chapter-2.md @@ -0,0 +1,698 @@ +--- +layout: default +title: "Chapter 2: Threat Assessment and Operational Environment" +description: "Systematic approaches to understanding and responding to threats in resistance operations" +section_number: "2-1 to 2-4" +prev_page: + title: "Chapter 1: Core Security Principles" + url: "/chapters/chapter-1/" +next_page: + title: "Part II: Communication Systems" + url: "/parts/part-2/" +--- + +# Chapter 2: Threat Assessment and Operational Environment + +## Chapter Overview + +This chapter provides systematic methodologies for understanding and responding to threats in resistance operations. Effective threat assessment is the foundation of all security planning, enabling resistance practitioners to allocate resources appropriately and design countermeasures that address actual rather than imagined risks. + +**Sections in this chapter:** +- 2-1: Understanding Your Adversary +- 2-2: Threat Model Development +- 2-3: Risk Assessment Framework +- 2-4: Operational Security (OpSec) Fundamentals + +--- + +## Section 2-1: Understanding Your Adversary + +### Definition + +Adversary analysis is the systematic study of hostile forces to understand their capabilities, motivations, limitations, and likely courses of action. In resistance operations, this analysis must encompass both state and non-state actors who pose threats to operational security and participant safety. + +### Adversary Categories + +#### State Security Services +**Capabilities:** +- Mass surveillance infrastructure and legal authorities +- Advanced technical capabilities including cyber operations +- Extensive human intelligence networks and informant recruitment +- Legal powers including arrest, detention, and asset seizure +- International cooperation and intelligence sharing agreements + +**Motivations:** +- Maintaining regime stability and suppressing dissent +- Protecting state secrets and critical infrastructure +- Demonstrating effectiveness to political leadership +- Career advancement and institutional prestige + +**Limitations:** +- Bureaucratic constraints and inter-agency competition +- Resource limitations and competing priorities +- Legal and political constraints (even in authoritarian systems) +- Technical limitations and skill gaps +- Public scrutiny and accountability mechanisms + +#### Law Enforcement Agencies +**Capabilities:** +- Local surveillance and investigation resources +- Access to criminal justice system and prosecution powers +- Community informant networks and public cooperation +- Specialized units for cybercrime and domestic terrorism +- Coordination with federal and international agencies + +**Motivations:** +- Enforcing existing laws and maintaining public order +- Responding to political pressure and public concerns +- Protecting institutional reputation and effectiveness +- Career advancement and performance metrics + +**Limitations:** +- Legal constraints and constitutional protections +- Resource limitations and competing priorities +- Training gaps in technical and political areas +- Public accountability and oversight mechanisms +- Jurisdictional limitations and coordination challenges + +#### Private Intelligence Contractors +**Capabilities:** +- Specialized technical capabilities and cutting-edge tools +- Flexibility and rapid response capabilities +- Access to commercial data sources and partnerships +- International operations with minimal oversight +- Experienced personnel recruited from government agencies + +**Motivations:** +- Financial profit and contract renewal +- Demonstrating value to government and corporate clients +- Expanding market share and capabilities +- Maintaining competitive advantage + +**Limitations:** +- Profit motive may conflict with thoroughness +- Limited legal authorities and powers +- Dependence on client relationships and contracts +- Potential for exposure and public scrutiny +- Competition with other contractors and agencies + +#### Hostile Political Organizations +**Capabilities:** +- Grassroots networks and community presence +- Media access and propaganda capabilities +- Political influence and institutional connections +- Volunteer networks and ideological motivation +- Potential for violence and intimidation + +**Motivations:** +- Advancing political ideology and agenda +- Suppressing opposition movements and activities +- Demonstrating power and influence +- Protecting organizational interests and reputation + +**Limitations:** +- Limited resources compared to state actors +- Legal constraints and public scrutiny +- Internal divisions and competing priorities +- Dependence on volunteer networks and public support +- Vulnerability to infiltration and disruption + +### Capability Assessment Framework + +#### Technical Capabilities +``` +Assessment Matrix: +1. Surveillance Infrastructure + - Mass data collection capabilities + - Real-time monitoring systems + - Data analysis and correlation tools + - International cooperation agreements + +2. Cyber Operations + - Offensive cyber capabilities + - Defensive monitoring systems + - Technical expertise and resources + - Legal authorities and constraints + +3. Human Intelligence + - Informant recruitment and management + - Infiltration capabilities + - Social engineering expertise + - Community presence and influence +``` + +#### Operational Capabilities +- **Geographic reach** and jurisdictional authority +- **Response time** and deployment capabilities +- **Coordination mechanisms** between different agencies +- **Resource allocation** and priority setting processes +- **Legal authorities** and operational constraints + +#### Intelligence Capabilities +- **Collection methods** and information sources +- **Analysis capabilities** and expertise levels +- **Dissemination networks** and information sharing +- **Retention policies** and data management systems +- **Quality control** and verification processes + +### Motivation Analysis + +#### Primary Motivations +Understanding what drives adversary actions helps predict their behavior and identify potential vulnerabilities: + +**Institutional Interests:** +- Organizational survival and growth +- Budget allocation and resource competition +- Performance metrics and success measures +- Reputation and public perception + +**Individual Motivations:** +- Career advancement and professional recognition +- Financial incentives and job security +- Ideological commitment and personal beliefs +- Social pressure and peer expectations + +**Political Factors:** +- Electoral considerations and public opinion +- Policy priorities and resource allocation +- International relationships and obligations +- Crisis response and emergency authorities + +### Limitation Assessment + +#### Resource Constraints +- **Budget limitations** and competing priorities +- **Personnel shortages** and skill gaps +- **Technical limitations** and equipment constraints +- **Time pressures** and operational demands + +#### Legal and Political Constraints +- **Constitutional protections** and legal precedents +- **Oversight mechanisms** and accountability requirements +- **Public scrutiny** and media attention +- **Political considerations** and policy constraints + +#### Operational Constraints +- **Bureaucratic processes** and approval requirements +- **Coordination challenges** between agencies +- **Information sharing** limitations and restrictions +- **Geographic limitations** and jurisdictional boundaries + +
+
Intelligence Gathering
+

Adversary analysis requires ongoing intelligence collection through open sources, operational observation, and network reporting. This information must be systematically collected, analyzed, and updated to maintain accuracy and relevance.

+
+ +--- + +## Section 2-2: Threat Model Development + +### Definition + +A threat model is a structured representation of potential threats to an organization, operation, or individual, including the assets being protected, potential attackers, attack vectors, and consequences of successful attacks. Threat modeling provides the analytical foundation for security planning and resource allocation. + +### Threat Modeling Process + +#### Step 1: Asset Identification +**Information Assets:** +- Operational plans and strategic documents +- Communication records and contact information +- Financial records and resource information +- Technical documentation and system configurations +- Personal information about participants and supporters + +**Physical Assets:** +- Personnel safety and freedom +- Equipment and technology resources +- Financial resources and funding sources +- Safe houses and meeting locations +- Communication infrastructure and networks + +**Operational Assets:** +- Network relationships and trust connections +- Operational capabilities and expertise +- Reputation and public support +- Legal protections and political cover +- Time and opportunity windows + +#### Step 2: Threat Actor Identification +For each asset category, identify potential threat actors: + +``` +Threat Actor Analysis Template: +Actor: [Name/Type] +Motivation: [Why they would target this asset] +Capability: [What they can do to compromise it] +Opportunity: [When/how they could act] +Impact: [Consequences of successful attack] +Likelihood: [Probability assessment] +``` + +#### Step 3: Attack Vector Analysis +**Technical Attack Vectors:** +- Network intrusion and system compromise +- Communication interception and analysis +- Device compromise and malware deployment +- Data theft and information exfiltration +- Service disruption and denial of service + +**Human Attack Vectors:** +- Social engineering and manipulation +- Infiltration and insider threats +- Coercion and blackmail +- Recruitment and turning of participants +- Information gathering through relationships + +**Physical Attack Vectors:** +- Surveillance and tracking +- Search and seizure operations +- Physical intimidation and violence +- Asset seizure and resource disruption +- Location compromise and raid operations + +#### Step 4: Impact Assessment +**Immediate Impacts:** +- Operational disruption and mission failure +- Personnel safety and security compromise +- Resource loss and financial damage +- Information disclosure and intelligence loss +- Legal consequences and prosecution + +**Long-term Impacts:** +- Network compromise and relationship damage +- Reputation loss and public support erosion +- Capability degradation and skill loss +- Strategic disadvantage and position weakness +- Movement suppression and broader impact + +### Threat Modeling Methodologies + +#### STRIDE Framework +**Spoofing:** Impersonating legitimate users or systems +**Tampering:** Modifying data or systems without authorization +**Repudiation:** Denying actions or transactions +**Information Disclosure:** Exposing sensitive information +**Denial of Service:** Preventing legitimate access to resources +**Elevation of Privilege:** Gaining unauthorized access or permissions + +#### PASTA (Process for Attack Simulation and Threat Analysis) +1. **Define Objectives:** Establish scope and goals +2. **Define Technical Scope:** Identify systems and components +3. **Application Decomposition:** Break down into components +4. **Threat Analysis:** Identify potential threats +5. **Weakness and Vulnerability Analysis:** Find security gaps +6. **Attack Modeling:** Simulate attack scenarios +7. **Risk and Impact Analysis:** Assess consequences + +#### OCTAVE (Operationally Critical Threat, Asset, and Vulnerability Evaluation) +- **Organizational View:** Internal security practices and policies +- **Technological View:** Technical vulnerabilities and weaknesses +- **Strategy and Plan View:** Risk mitigation and security strategy + +### Threat Scenario Development + +#### Scenario Template +``` +Threat Scenario: [Descriptive Name] + +Background: +- Current operational context +- Recent events and triggers +- Adversary capabilities and motivations + +Attack Sequence: +1. Initial access or opportunity +2. Escalation and exploitation +3. Impact and consequences +4. Potential responses and countermeasures + +Indicators: +- Early warning signs +- Detection opportunities +- Confirmation methods + +Mitigation: +- Preventive measures +- Response procedures +- Recovery plans +``` + +#### Example Scenarios + +**Scenario 1: Communication Compromise** +- Adversary intercepts encrypted communications +- Traffic analysis reveals network structure +- Key participants identified and targeted +- Operational plans exposed and disrupted + +**Scenario 2: Infiltration Operation** +- Hostile agent joins resistance network +- Gains trust and access over time +- Collects intelligence on operations and participants +- Provides information for coordinated arrests + +**Scenario 3: Technical Surveillance** +- Mass surveillance system deployed +- Communication metadata collected and analyzed +- Behavioral patterns identified and tracked +- Predictive analysis enables preemptive action + +
+
Scenario Planning
+

Threat scenarios should be realistic and based on actual adversary capabilities and historical precedents. Avoid both underestimating threats (leading to inadequate security) and overestimating them (leading to paralysis and ineffective operations).

+
+ +--- + +## Section 2-3: Risk Assessment Framework + +### Definition + +Risk assessment is the systematic evaluation of potential threats to determine their likelihood and impact, enabling informed decisions about security investments and operational procedures. Risk assessment translates threat models into actionable priorities for security planning. + +### Risk Calculation Methodology + +#### Basic Risk Formula +``` +Risk = Threat × Vulnerability × Impact + +Where: +- Threat = Likelihood of attack occurring +- Vulnerability = Probability of attack succeeding +- Impact = Consequences of successful attack +``` + +#### Qualitative Risk Assessment +**Likelihood Scale:** +- **Very High (5):** Almost certain to occur within 1 month +- **High (4):** Likely to occur within 6 months +- **Medium (3):** Possible within 1 year +- **Low (2):** Unlikely within 2 years +- **Very Low (1):** Rare or theoretical + +**Impact Scale:** +- **Critical (5):** Mission failure, life-threatening consequences +- **High (4):** Major operational disruption, serious legal consequences +- **Medium (3):** Moderate disruption, manageable consequences +- **Low (2):** Minor inconvenience, limited impact +- **Very Low (1):** Negligible impact + +**Risk Matrix:** +``` +Impact → VL L M H C +Likelihood ↓ +Very High M H H C C +High L M H H C +Medium L L M H H +Low VL L L M H +Very Low VL VL L L M + +Legend: VL=Very Low, L=Low, M=Medium, H=High, C=Critical +``` + +### Risk Assessment Process + +#### Step 1: Threat Inventory +Create comprehensive list of identified threats from threat modeling process: +- Categorize by threat actor and attack vector +- Document current intelligence and evidence +- Assess threat actor capabilities and motivations +- Identify information gaps and uncertainties + +#### Step 2: Vulnerability Assessment +For each threat, assess organizational vulnerabilities: + +**Technical Vulnerabilities:** +- Unpatched software and system weaknesses +- Insecure configurations and default settings +- Weak encryption and authentication mechanisms +- Inadequate monitoring and detection capabilities + +**Procedural Vulnerabilities:** +- Inadequate security policies and procedures +- Insufficient training and awareness programs +- Poor access control and permission management +- Weak incident response and recovery capabilities + +**Human Vulnerabilities:** +- Social engineering susceptibility +- Insider threat potential +- Security culture weaknesses +- Stress and pressure responses + +#### Step 3: Impact Analysis +Assess potential consequences of successful attacks: + +**Operational Impact:** +- Mission disruption and failure +- Capability loss and degradation +- Resource depletion and damage +- Timeline delays and setbacks + +**Security Impact:** +- Personnel safety and freedom +- Information disclosure and intelligence loss +- Network compromise and relationship damage +- Legal consequences and prosecution + +**Strategic Impact:** +- Movement effectiveness and credibility +- Public support and political position +- Long-term viability and sustainability +- Broader resistance movement impact + +#### Step 4: Risk Prioritization +Rank risks based on calculated scores and strategic importance: + +**Priority Categories:** +- **Critical Risks:** Immediate attention required +- **High Risks:** Address within 30 days +- **Medium Risks:** Address within 90 days +- **Low Risks:** Address as resources permit +- **Accepted Risks:** Monitor but no immediate action + +### Risk Treatment Strategies + +#### Risk Mitigation +Reduce likelihood or impact through security controls: +- **Preventive Controls:** Block or deter attacks +- **Detective Controls:** Identify attacks in progress +- **Corrective Controls:** Respond to and recover from attacks +- **Compensating Controls:** Alternative measures when primary controls fail + +#### Risk Transfer +Shift risk to other parties or systems: +- **Insurance:** Financial protection against losses +- **Outsourcing:** Transfer operational risks to service providers +- **Partnerships:** Share risks with allied organizations +- **Legal Protections:** Use legal mechanisms to limit exposure + +#### Risk Acceptance +Consciously accept certain risks: +- **Residual Risk:** Remaining risk after mitigation measures +- **Strategic Risk:** Risks necessary for mission accomplishment +- **Resource Constraints:** Risks that cannot be addressed with available resources +- **Temporary Acceptance:** Short-term acceptance pending future mitigation + +#### Risk Avoidance +Eliminate risk by avoiding the activity: +- **Operational Changes:** Modify operations to eliminate risk +- **Technology Alternatives:** Use different tools or methods +- **Geographic Relocation:** Move operations to safer locations +- **Timing Adjustments:** Delay operations until risks decrease + +
+
Risk Management
+

Effective risk management is an ongoing process that requires regular review and updates. Risk assessments should be updated whenever significant changes occur in the threat environment, organizational capabilities, or operational requirements.

+
+ +--- + +## Section 2-4: Operational Security (OpSec) Fundamentals + +### Definition + +Operational Security (OpSec) is the process of protecting critical information and activities from adversary intelligence collection and analysis. OpSec focuses on identifying and controlling information that could be used to compromise operations, rather than just protecting classified information. + +### OpSec Process + +#### Step 1: Identify Critical Information +**Critical Information Categories:** +- **Who:** Personnel identities, roles, and relationships +- **What:** Operational objectives, methods, and capabilities +- **When:** Timing, schedules, and deadlines +- **Where:** Locations, routes, and geographic areas +- **Why:** Motivations, strategies, and decision-making processes +- **How:** Methods, procedures, and technical details + +**Critical Information Examples:** +``` +Personnel Information: +- Real names and personal details +- Communication addresses and identifiers +- Role assignments and responsibilities +- Skill sets and expertise areas +- Personal vulnerabilities and pressure points + +Operational Information: +- Mission objectives and success criteria +- Operational timelines and milestones +- Resource requirements and allocations +- Coordination mechanisms and protocols +- Contingency plans and alternatives + +Technical Information: +- Communication methods and frequencies +- Security procedures and protocols +- Equipment specifications and capabilities +- Software configurations and vulnerabilities +- Network architecture and access points +``` + +#### Step 2: Analyze Threats +Apply threat modeling to identify how adversaries might collect and use critical information: + +**Collection Methods:** +- **Technical Collection:** Electronic surveillance and monitoring +- **Human Collection:** Informants, infiltration, and social engineering +- **Open Source Collection:** Public information and social media +- **Physical Collection:** Surveillance and document recovery + +**Analysis Capabilities:** +- **Pattern Analysis:** Identifying trends and behaviors +- **Network Analysis:** Mapping relationships and structures +- **Predictive Analysis:** Forecasting future activities +- **Correlation Analysis:** Connecting disparate information sources + +#### Step 3: Analyze Vulnerabilities +Identify how critical information might be exposed: + +**Information Leakage Points:** +- **Communication Channels:** Insecure or monitored communications +- **Behavioral Patterns:** Predictable activities and routines +- **Physical Evidence:** Documents, equipment, and traces +- **Social Interactions:** Casual conversations and relationships +- **Digital Footprints:** Online activities and data trails + +**Vulnerability Assessment Questions:** +``` +For each piece of critical information: +1. Who has access to this information? +2. How is this information stored and transmitted? +3. What activities might reveal this information? +4. What patterns might indicate this information? +5. How could an adversary collect this information? +6. What would an adversary do with this information? +``` + +#### Step 4: Assess Risk +Evaluate the likelihood and impact of information compromise: + +**Risk Factors:** +- **Information Value:** How useful is this to adversaries? +- **Collection Difficulty:** How hard is it for adversaries to obtain? +- **Analysis Complexity:** How difficult is it to interpret and use? +- **Operational Impact:** What happens if this is compromised? +- **Mitigation Cost:** How expensive is it to protect? + +#### Step 5: Apply Countermeasures +Implement measures to protect critical information: + +**Information Control Measures:** +- **Classification:** Formal information protection levels +- **Compartmentalization:** Limiting access on need-to-know basis +- **Sanitization:** Removing sensitive details from communications +- **Disinformation:** Providing false information to confuse adversaries + +**Activity Control Measures:** +- **Pattern Breaking:** Varying routines and procedures +- **Timing Control:** Coordinating activities to minimize exposure +- **Location Security:** Protecting meeting places and safe houses +- **Communication Security:** Using secure channels and protocols + +### OpSec Planning + +#### OpSec Plan Template +``` +1. Mission Overview + - Objectives and scope + - Timeline and milestones + - Success criteria + +2. Critical Information List + - Information categories + - Sensitivity levels + - Access requirements + +3. Threat Assessment + - Adversary capabilities + - Collection methods + - Analysis capabilities + +4. Vulnerability Analysis + - Exposure points + - Risk factors + - Mitigation priorities + +5. Countermeasure Plan + - Protective measures + - Implementation timeline + - Responsibility assignments + +6. Monitoring and Review + - Effectiveness metrics + - Review schedule + - Update procedures +``` + +#### Implementation Guidelines + +**Training and Awareness:** +- **OpSec Education:** Understanding principles and importance +- **Threat Briefings:** Current adversary capabilities and methods +- **Procedure Training:** Specific protective measures and protocols +- **Regular Updates:** Ongoing education and reinforcement + +**Monitoring and Enforcement:** +- **Compliance Monitoring:** Checking adherence to OpSec procedures +- **Incident Reporting:** Documenting OpSec failures and near-misses +- **Corrective Action:** Addressing violations and weaknesses +- **Continuous Improvement:** Updating procedures based on experience + +**Integration with Operations:** +- **Planning Integration:** OpSec considerations in all operational planning +- **Execution Monitoring:** Real-time OpSec awareness during operations +- **Post-Operation Review:** Analyzing OpSec effectiveness and lessons learned +- **Feedback Loop:** Incorporating lessons into future planning + +
+
OpSec Discipline
+

OpSec is only as strong as its weakest link. All participants must understand and consistently apply OpSec principles. A single careless action can compromise an entire operation and endanger all participants.

+
+ +--- + +## Chapter Summary + +Chapter 2 has provided the analytical framework necessary for understanding and responding to threats in resistance operations: + +**Section 2-1** established methodologies for analyzing adversary capabilities, motivations, and limitations across different threat actor categories. + +**Section 2-2** introduced systematic threat modeling approaches for identifying and analyzing potential attacks against resistance operations. + +**Section 2-3** provided risk assessment frameworks for prioritizing threats and allocating security resources effectively. + +**Section 2-4** covered operational security fundamentals for protecting critical information and activities from adversary intelligence collection. + +### Integration with Security Planning + +The threat assessment and OpSec methodologies covered in this chapter provide the analytical foundation for all subsequent security planning and implementation. The communication systems, operational procedures, and advanced techniques covered in later parts of this manual should be selected and configured based on the threat assessment and risk analysis conducted using these frameworks. + +### Continuous Process + +Threat assessment and OpSec are not one-time activities but ongoing processes that must be regularly updated as the operational environment changes. New threats emerge, adversary capabilities evolve, and operational requirements shift, requiring continuous monitoring and adaptation of security measures. + +--- + +**Next:** [Part II: Secure Communication Systems →](/parts/part-2/) + diff --git a/_chapters/chapter-3.md b/_chapters/chapter-3.md new file mode 100644 index 0000000..aa4a6b4 --- /dev/null +++ b/_chapters/chapter-3.md @@ -0,0 +1,980 @@ +--- +layout: default +title: "Chapter 3: Communication Layer Architecture" +description: "Multi-layer communication strategy and protocol selection for resistance operations" +section_number: "3-1 to 3-6" +prev_page: + title: "Part II: Communication Systems" + url: "/parts/part-2/" +next_page: + title: "Chapter 4: Secure Messaging" + url: "/chapters/chapter-4/" +--- + +# Chapter 3: Communication Layer Architecture + +## Chapter Overview + +This chapter establishes the multi-layer communication architecture that forms the backbone of secure resistance communications. Rather than relying on a single communication method, effective resistance networks employ multiple complementary systems, each optimized for specific security requirements and operational scenarios. + +**Sections in this chapter:** +- 3-1: Multi-Layer Communication Strategy +- 3-2: High-Risk Real-Time Communication (Layer 1) +- 3-3: Secure Collaboration Systems (Layer 2) +- 3-4: Failsafe and Offline Methods (Layer 3) +- 3-5: Anonymous Broadcasting (Layer 4) +- 3-6: Communication Protocol Selection + +--- + +## Section 3-1: Multi-Layer Communication Strategy + +### Architectural Principles + +The multi-layer communication architecture is based on several key principles derived from both historical resistance experience and modern security research: + +#### Defense in Depth +No single communication system can address all security requirements and operational scenarios. Multiple layers provide redundancy and ensure that compromise of one system does not eliminate all communication capabilities. + +#### Appropriate Security +Different communications require different security levels. Using maximum security for all communications is both unnecessary and operationally ineffective, while using insufficient security for critical communications is dangerous. + +#### Operational Effectiveness +Communication systems must support actual operational requirements. Systems that are too complex, slow, or unreliable will be abandoned in favor of less secure but more usable alternatives. + +#### Metadata Minimization +Each layer employs different strategies for minimizing metadata exposure, from onion routing to time delays to broadcast methods that eliminate recipient identification. + +### Layer Selection Criteria + +#### Security Requirements +``` +Security Level Assessment: +1. Content Sensitivity + - Public information (low security) + - Internal coordination (medium security) + - Operational details (high security) + - Critical intelligence (maximum security) + +2. Participant Risk + - Public supporters (low risk) + - Active participants (medium risk) + - Cell leaders (high risk) + - Key operatives (maximum risk) + +3. Adversary Capabilities + - Local law enforcement (basic capabilities) + - Federal agencies (advanced capabilities) + - Intelligence services (sophisticated capabilities) + - Authoritarian regimes (comprehensive capabilities) +``` + +#### Operational Requirements +- **Timing:** Real-time vs. asynchronous communication needs +- **Participants:** One-to-one, small group, or broadcast requirements +- **Content:** Text, files, voice, or multimedia sharing needs +- **Reliability:** Tolerance for delays, failures, or service interruptions +- **Accessibility:** Technical skill requirements and device compatibility + +#### Resource Constraints +- **Technical Resources:** Server infrastructure and maintenance capabilities +- **Financial Resources:** Software licensing and hosting costs +- **Human Resources:** Technical expertise and training requirements +- **Time Constraints:** Implementation timeline and operational deadlines + +### Layer Architecture Overview + +#### Layer 1: High-Risk Real-Time Communication +**Primary Tools:** Session Messenger, Briar +**Security Features:** +- Onion routing for metadata protection +- Peer-to-peer architecture with no central servers +- Ephemeral messaging with automatic deletion +- Offline mesh networking capabilities + +**Use Cases:** +- Time-sensitive operational coordination +- Emergency communications during active operations +- High-risk participant communications +- Situations requiring maximum anonymity + +#### Layer 2: Secure Collaboration Systems +**Primary Tools:** Element/Matrix (self-hosted), CryptPad +**Security Features:** +- End-to-end encryption with forward secrecy +- Self-hosted infrastructure under resistance control +- Rich collaboration features with security +- Persistent storage with access controls + +**Use Cases:** +- Ongoing operational planning and coordination +- Document collaboration and version control +- Group communications and decision-making +- Resource sharing and logistical coordination + +#### Layer 3: Failsafe and Offline Methods +**Primary Tools:** OnionShare, encrypted email, physical methods +**Security Features:** +- No dependence on internet infrastructure +- Asynchronous communication with time delays +- Multiple redundant channels and methods +- Resistance to network disruption and censorship + +**Use Cases:** +- Emergency communications when other systems fail +- Backup channels for critical information +- Communications in areas with limited internet access +- Long-term information storage and retrieval + +#### Layer 4: Anonymous Broadcasting +**Primary Tools:** Tor hidden services, distributed platforms +**Security Features:** +- Strong sender anonymity protection +- Censorship resistance and high availability +- One-to-many communication model +- Public accessibility without authentication + +**Use Cases:** +- Public communications and propaganda +- Information distribution to supporters +- Coordination of public actions and events +- Counter-narrative and information warfare + +### Implementation Strategy + +#### Phased Deployment +``` +Phase 1: Foundation (Weeks 1-4) +- Implement basic secure messaging (Signal/Session) +- Establish fundamental security procedures +- Train core participants in basic tools + +Phase 2: Collaboration (Weeks 5-8) +- Deploy self-hosted Matrix server +- Implement CryptPad for document collaboration +- Establish group communication protocols + +Phase 3: Advanced Security (Weeks 9-12) +- Implement Briar for high-risk scenarios +- Establish OnionShare for file transfers +- Deploy emergency communication channels + +Phase 4: Full Architecture (Weeks 13-16) +- Integrate all layers into coherent system +- Implement advanced security protocols +- Establish training and support systems +``` + +#### Integration Planning +- **Tool Selection:** Choose specific tools for each layer based on requirements +- **Protocol Development:** Establish procedures for using each layer appropriately +- **Training Programs:** Ensure all participants can use required tools effectively +- **Maintenance Planning:** Establish ongoing support and update procedures + +
+
Layer Coordination
+

The four layers are designed to work together, not in isolation. Effective implementation requires clear protocols for when to use each layer and how to coordinate between them while maintaining security.

+
+ +--- + +## Section 3-2: High-Risk Real-Time Communication (Layer 1) + +### Purpose and Requirements + +Layer 1 provides maximum security for time-sensitive communications during high-risk operations. This layer prioritizes security and anonymity over convenience and features, making it suitable for: + +- Coordination during active operations +- Emergency communications under surveillance +- Communications between high-value targets +- Situations where compromise would have immediate severe consequences + +### Technical Architecture + +#### Onion Routing +Layer 1 systems use onion routing (similar to Tor) to protect communication metadata: + +``` +Communication Path: +User A → Entry Node → Middle Node → Exit Node → User B + +Each hop only knows: +- Entry Node: User A's identity, Middle Node's identity +- Middle Node: Entry Node's identity, Exit Node's identity +- Exit Node: Middle Node's identity, User B's identity + +No single node knows both sender and recipient +``` + +#### Peer-to-Peer Architecture +- **No Central Servers:** Eliminates single points of failure and control +- **Distributed Routing:** Messages route through multiple peer nodes +- **Mesh Networking:** Devices can communicate directly when in proximity +- **Offline Capability:** Store-and-forward messaging when network unavailable + +#### Ephemeral Messaging +- **Automatic Deletion:** Messages deleted after reading or time expiration +- **No Persistent Storage:** No long-term message history maintained +- **Forward Secrecy:** Compromise of current keys doesn't expose past messages +- **Deniable Authentication:** Cannot prove who sent specific messages + +### Primary Tools + +#### Session Messenger +**Strengths:** +- Built on Signal Protocol with onion routing +- No phone number or personal information required +- Automatic message deletion and forward secrecy +- Desktop and mobile applications available + +**Configuration:** +``` +Security Settings: +- Enable disappearing messages (shortest duration) +- Disable read receipts and typing indicators +- Use random Session ID, not linked to identity +- Enable onion routing for all communications +- Disable message notifications and previews +``` + +**Operational Procedures:** +- Create new Session ID for each operation or role +- Use only on dedicated devices not linked to identity +- Communicate only through Tor or VPN connections +- Delete and recreate Session ID regularly + +#### Briar Messenger +**Strengths:** +- True peer-to-peer with no servers required +- Bluetooth and WiFi direct communication capability +- Tor integration for internet communications +- Open source with strong security audit history + +**Configuration:** +``` +Network Settings: +- Enable Tor for internet connections +- Enable Bluetooth for local mesh networking +- Enable WiFi for local area networking +- Disable location services and contact access +``` + +**Operational Procedures:** +- Use only on dedicated devices with clean identities +- Enable mesh networking only in secure environments +- Regularly update contact lists and remove old contacts +- Use time-limited contact sharing for new connections + +### Security Protocols + +#### Identity Management +- **Compartmentalized Identities:** Different identities for different operations +- **Identity Rotation:** Regular creation of new identities and retirement of old ones +- **Identity Verification:** Out-of-band verification of contact identities +- **Identity Separation:** No linking between different operational identities + +#### Communication Protocols +``` +Standard Communication Protocol: +1. Verify recipient identity through out-of-band channel +2. Establish secure session using verified identity +3. Communicate using coded language even in encrypted channels +4. Confirm message receipt through separate channel if critical +5. Delete conversation and rotate identity if compromised +``` + +#### Emergency Procedures +- **Duress Codes:** Predetermined signals indicating compromise or coercion +- **Emergency Contacts:** Backup communication methods for crisis situations +- **Burn Procedures:** Rapid deletion of all communication evidence +- **Fallback Channels:** Alternative communication methods when primary fails + +### Operational Considerations + +#### Performance Limitations +- **Slower Message Delivery:** Onion routing introduces latency +- **Limited Features:** Focus on security over convenience features +- **Battery Drain:** Mesh networking and encryption consume more power +- **Network Dependencies:** Requires sufficient peer nodes for routing + +#### Training Requirements +- **Technical Complexity:** Requires understanding of security concepts +- **Operational Discipline:** Strict adherence to security protocols required +- **Emergency Procedures:** All participants must know emergency protocols +- **Regular Practice:** Skills must be maintained through regular use + +#### Use Case Guidelines +
+
+

DO Use Layer 1 For:

+ +
+
+

DON'T Use Layer 1 For:

+ +
+
+ +--- + +## Section 3-3: Secure Collaboration Systems (Layer 2) + +### Purpose and Requirements + +Layer 2 balances security with collaboration functionality, providing encrypted group communications, file sharing, and document collaboration while maintaining strong security protections. This layer supports: + +- Ongoing operational planning and coordination +- Secure document collaboration and version control +- Group decision-making and consensus building +- Resource sharing and logistical coordination + +### Technical Architecture + +#### Self-Hosted Infrastructure +Layer 2 systems use self-hosted infrastructure to maintain control over security and data: + +``` +Infrastructure Components: +- Matrix Homeserver (Element/Synapse) +- CryptPad Collaboration Server +- File Storage Server (Nextcloud/ownCloud) +- VPN Server for secure access +- Backup and Recovery Systems +``` + +#### End-to-End Encryption +- **Message Encryption:** All messages encrypted before leaving sender device +- **File Encryption:** Documents encrypted both in transit and at rest +- **Key Management:** Cryptographic keys managed by participants, not servers +- **Forward Secrecy:** Regular key rotation prevents retroactive decryption + +#### Access Control +- **Role-Based Access:** Different permission levels for different participants +- **Room/Channel Security:** Separate encrypted spaces for different purposes +- **Invitation-Only:** New participants require invitation from existing members +- **Audit Logging:** Secure logging of access and administrative actions + +### Primary Tools + +#### Element/Matrix (Self-Hosted) +**Capabilities:** +- Encrypted group messaging and voice/video calls +- File sharing with encryption and access controls +- Room-based organization with different security levels +- Federation capability for connecting multiple servers + +**Server Setup:** +``` +Synapse Server Configuration: +- Deploy on dedicated server with full disk encryption +- Configure behind VPN with restricted access +- Enable end-to-end encryption for all rooms +- Disable federation with public Matrix servers +- Implement strong authentication and access controls +``` + +**Client Configuration:** +``` +Element Security Settings: +- Enable cross-signing for device verification +- Verify all room participants and their devices +- Enable secure backup for encryption keys +- Disable read receipts and typing notifications +- Use strong, unique passwords with 2FA +``` + +#### CryptPad Collaboration Platform +**Capabilities:** +- Real-time collaborative document editing +- Spreadsheets, presentations, and forms +- File storage with encryption and sharing controls +- Anonymous usage without account requirements + +**Server Setup:** +``` +CryptPad Configuration: +- Self-host on secure server infrastructure +- Configure with strong encryption settings +- Disable analytics and external connections +- Implement access controls and user limits +- Regular security updates and monitoring +``` + +**Usage Protocols:** +``` +Document Security Procedures: +1. Create documents only on self-hosted instance +2. Use strong passwords for document protection +3. Share access links only through secure channels +4. Regularly review and revoke document access +5. Export and backup important documents securely +``` + +### Security Protocols + +#### Server Security +- **Hardened Operating System:** Minimal installation with security updates +- **Network Security:** Firewall configuration and intrusion detection +- **Access Control:** Strong authentication and limited administrative access +- **Monitoring:** Security logging and anomaly detection +- **Backup Security:** Encrypted backups with secure key management + +#### Operational Security +``` +Communication Security Procedures: +1. Verify participant identities before adding to groups +2. Use coded language for sensitive topics +3. Regularly rotate encryption keys and passwords +4. Monitor for unusual activity or access patterns +5. Implement incident response procedures for compromise +``` + +#### Data Management +- **Data Classification:** Different security levels for different information types +- **Retention Policies:** Automatic deletion of old messages and files +- **Export Controls:** Secure procedures for data export and migration +- **Sanitization:** Secure deletion of sensitive data when no longer needed + +### Operational Procedures + +#### Group Management +``` +Secure Group Creation Process: +1. Define group purpose and security requirements +2. Identify necessary participants and their roles +3. Create encrypted room/channel with appropriate settings +4. Invite participants through secure out-of-band verification +5. Establish group communication protocols and procedures +6. Regular review of membership and access permissions +``` + +#### Document Collaboration +- **Version Control:** Track document changes and maintain version history +- **Access Management:** Control who can view, edit, and share documents +- **Review Processes:** Establish procedures for document review and approval +- **Security Marking:** Clear labeling of document sensitivity levels + +#### File Sharing +- **Secure Upload:** Encrypt files before uploading to shared storage +- **Access Controls:** Limit file access to authorized participants only +- **Download Security:** Verify file integrity and scan for malware +- **Sharing Protocols:** Secure procedures for sharing files with external parties + +
+
Server Compromise
+

Self-hosted infrastructure requires ongoing security maintenance and monitoring. Server compromise can expose all communications and files, making proper security hardening and incident response planning essential.

+
+ +--- + +## Section 3-4: Failsafe and Offline Methods (Layer 3) + +### Purpose and Requirements + +Layer 3 provides backup communication channels that function independently of internet infrastructure and resist network disruption, censorship, and surveillance. This layer ensures communication capability when other systems fail and provides: + +- Emergency communications during network outages +- Backup channels for critical information transfer +- Communications in areas with limited internet access +- Long-term information storage and dead drop systems + +### Technical Architecture + +#### Asynchronous Communication +Layer 3 systems use store-and-forward methods that don't require simultaneous online presence: + +``` +Asynchronous Communication Flow: +Sender → Intermediate Storage → Recipient + +Benefits: +- No real-time correlation between sender and recipient +- Resistance to network timing analysis +- Functionality during partial network outages +- Time delays that complicate surveillance +``` + +#### Multiple Transport Methods +- **Internet-Based:** OnionShare, encrypted email, file hosting +- **Physical Media:** USB drives, SD cards, printed materials +- **Radio Communications:** Shortwave, amateur radio, mesh networks +- **Human Couriers:** Trusted individuals carrying messages or media + +#### Redundant Channels +- **Primary Channel:** Main method for routine backup communications +- **Secondary Channels:** Alternative methods for different scenarios +- **Emergency Channels:** Last-resort methods for crisis situations +- **Verification Channels:** Separate methods for confirming message receipt + +### Primary Tools and Methods + +#### OnionShare +**Capabilities:** +- Anonymous file sharing over Tor network +- No central servers or account requirements +- Automatic deletion after download or time expiration +- Website hosting for anonymous information distribution + +**Configuration:** +``` +OnionShare Security Settings: +- Use Tor Browser for all access +- Enable automatic shutdown after download +- Set short expiration times for shared files +- Use strong passwords for protected shares +- Access only from secure, anonymous devices +``` + +**Operational Procedures:** +``` +Secure File Transfer Process: +1. Create encrypted archive of files to share +2. Generate OnionShare link with password protection +3. Share link and password through separate secure channels +4. Monitor for successful download and automatic shutdown +5. Verify receipt through separate communication channel +``` + +#### Encrypted Email Systems +**Recommended Services:** +- ProtonMail with Tor access +- Tutanota with anonymous signup +- Self-hosted email with PGP encryption +- Temporary email services for one-time use + +**Security Configuration:** +``` +Email Security Setup: +- Create accounts using Tor and anonymous information +- Use strong, unique passwords with 2FA when available +- Enable PGP encryption for all sensitive communications +- Configure automatic message deletion +- Access only through Tor or secure VPN +``` + +#### Physical Dead Drops +**Digital Dead Drops:** +- Hidden USB drives in public locations +- QR codes with encrypted data in public spaces +- Steganography in publicly posted images +- Data hidden in public file sharing services + +**Physical Dead Drops:** +- Traditional spy craft methods adapted for resistance +- Predetermined locations for leaving messages or materials +- Signal systems for indicating message availability +- Security protocols for dead drop servicing + +### Security Protocols + +#### Time Delay Security +``` +Operational Time Delays: +- Minimum 24-hour delay between message creation and pickup +- Random additional delays to prevent pattern analysis +- Staggered access times to avoid correlation +- Multiple intermediate steps to break timing chains +``` + +#### Channel Separation +- **Different Channels for Different Purposes:** No single channel used for multiple types of communication +- **Identity Separation:** Different identities and accounts for each channel +- **Geographic Separation:** Different physical locations for different channels +- **Temporal Separation:** Different time periods for different channel usage + +#### Verification Procedures +``` +Message Verification Process: +1. Cryptographic signatures to verify sender authenticity +2. Predetermined code words or phrases for verification +3. Separate channel confirmation of message receipt +4. Cross-reference with other intelligence sources +5. Verification of message integrity and completeness +``` + +### Operational Procedures + +#### Emergency Communication Protocols +``` +Emergency Communication Sequence: +1. Attempt primary communication channels (Layers 1-2) +2. If primary channels fail, activate Layer 3 protocols +3. Use predetermined emergency contact methods +4. Implement duress codes if under coercion +5. Activate backup communication networks +6. Establish new primary channels when possible +``` + +#### Dead Drop Management +- **Location Security:** Choose locations that are publicly accessible but not under surveillance +- **Servicing Protocols:** Establish regular schedules for checking and maintaining dead drops +- **Signal Systems:** Use predetermined signals to indicate message availability or compromise +- **Backup Locations:** Maintain multiple dead drop locations for redundancy + +#### Long-Term Storage +- **Encrypted Archives:** Create encrypted backups of critical information +- **Distributed Storage:** Store copies in multiple secure locations +- **Access Procedures:** Establish protocols for accessing stored information +- **Update Procedures:** Regular updates and verification of stored information + +
+
Resilience Planning
+

Layer 3 methods require advance planning and preparation. Emergency communication channels must be established and tested before they are needed, as crisis situations provide no time for setup and configuration.

+
+ +--- + +## Section 3-5: Anonymous Broadcasting (Layer 4) + +### Purpose and Requirements + +Layer 4 provides one-to-many communication capabilities with strong sender anonymity and censorship resistance. This layer supports public-facing communications while protecting the identity and location of the sender: + +- Public communications and propaganda distribution +- Information sharing with supporters and sympathizers +- Coordination of public actions and demonstrations +- Counter-narrative and information warfare operations + +### Technical Architecture + +#### Anonymity Networks +Layer 4 systems use anonymity networks to protect sender identity: + +``` +Tor Hidden Services Architecture: +Publisher → Tor Network → Hidden Service → Public Access + +Anonymity Features: +- Publisher identity hidden from readers +- Publisher location hidden from network operators +- Content hosted on distributed network +- Censorship resistance through multiple access points +``` + +#### Content Distribution Networks +- **Distributed Hosting:** Content replicated across multiple servers and networks +- **Mirror Sites:** Multiple copies of content on different platforms +- **Peer-to-Peer Distribution:** Content shared through BitTorrent and similar networks +- **Social Media Integration:** Automated posting to multiple social media platforms + +#### Censorship Resistance +- **Domain Fronting:** Hide destination of web traffic behind legitimate services +- **Decentralized Platforms:** Use blockchain and peer-to-peer publishing platforms +- **Multiple Access Methods:** Provide various ways to access the same content +- **Rapid Migration:** Ability to quickly move content to new platforms + +### Primary Tools and Platforms + +#### Tor Hidden Services +**Capabilities:** +- Anonymous website hosting with .onion addresses +- Protection against traffic analysis and censorship +- No central authority or registration required +- Integration with standard web technologies + +**Setup Procedures:** +``` +Hidden Service Configuration: +1. Install and configure Tor on secure server +2. Generate .onion address and private keys +3. Configure web server to serve content locally +4. Test access through Tor Browser +5. Implement security hardening and monitoring +``` + +#### Distributed Publishing Platforms +**IPFS (InterPlanetary File System):** +- Decentralized file storage and distribution +- Content-addressed storage with cryptographic verification +- Peer-to-peer distribution without central servers +- Integration with blockchain naming systems + +**Blockchain Platforms:** +- Ethereum-based publishing platforms +- Bitcoin blockchain data storage +- Decentralized autonomous organization (DAO) governance +- Cryptocurrency-based incentive systems + +#### Social Media Automation +**Multi-Platform Publishing:** +- Automated posting to Twitter, Facebook, Telegram, etc. +- Content adaptation for different platform requirements +- Scheduled publishing and content calendars +- Analytics and engagement monitoring + +**Account Management:** +``` +Anonymous Account Creation: +1. Use Tor Browser for all account creation +2. Use temporary email addresses for registration +3. Provide minimal or false personal information +4. Use VPN or proxy for additional protection +5. Maintain separate identities for different purposes +``` + +### Security Protocols + +#### Publisher Anonymity +- **Identity Separation:** Complete separation between publisher identity and real identity +- **Location Security:** Publish only from secure, anonymous locations +- **Device Security:** Use dedicated devices not linked to real identity +- **Network Security:** Always use Tor or VPN for all publishing activities + +#### Content Security +``` +Content Publication Security: +1. Remove metadata from all files before publication +2. Use generic writing style to avoid stylometric analysis +3. Avoid revealing specific knowledge or experiences +4. Use stock images or create original graphics +5. Review content for operational security implications +``` + +#### Platform Security +- **Account Security:** Strong passwords, 2FA, and secure recovery methods +- **Platform Diversity:** Use multiple platforms to avoid single points of failure +- **Backup Systems:** Maintain copies of all content and account information +- **Migration Planning:** Prepare for rapid migration if platforms are compromised + +### Operational Procedures + +#### Content Planning +``` +Publication Planning Process: +1. Define target audience and communication objectives +2. Develop content calendar and publication schedule +3. Create content following security and anonymity guidelines +4. Review content for operational security implications +5. Coordinate publication across multiple platforms +6. Monitor engagement and adjust strategy as needed +``` + +#### Crisis Communication +- **Rapid Response:** Ability to quickly publish time-sensitive information +- **Emergency Protocols:** Predetermined procedures for crisis communications +- **Backup Channels:** Alternative publication methods if primary channels fail +- **Coordination:** Integration with other resistance communication efforts + +#### Audience Engagement +- **Feedback Channels:** Secure methods for receiving audience feedback +- **Community Building:** Foster engagement while maintaining security +- **Information Verification:** Procedures for verifying and fact-checking information +- **Counter-Narrative:** Respond to hostile propaganda and disinformation + +
+
Attribution Risk
+

Even with strong technical anonymity, writing style, content knowledge, and publication patterns can potentially identify authors. Careful attention to operational security is essential for maintaining publisher anonymity.

+
+ +--- + +## Section 3-6: Communication Protocol Selection + +### Decision Framework + +Selecting appropriate communication protocols requires systematic evaluation of security requirements, operational needs, and available resources. This section provides frameworks for making these decisions systematically rather than ad hoc. + +### Security Requirements Assessment + +#### Threat Level Analysis +``` +Threat Level Matrix: + Low Medium High Critical +Content Risk L1-4 L1-3 L1-2 L1 Only +Participant L2-4 L1-3 L1-2 L1 Only +Timing Risk L2-4 L1-3 L1-2 L1 Only +Network Risk L3-4 L2-4 L1-3 L1-2 + +Legend: L1=Layer 1, L2=Layer 2, etc. +``` + +#### Risk Factor Evaluation +**Content Sensitivity:** +- **Public Information:** Can be disclosed without operational impact +- **Internal Coordination:** Useful to adversaries but not immediately damaging +- **Operational Details:** Could compromise specific operations if disclosed +- **Critical Intelligence:** Would cause immediate severe damage if compromised + +**Participant Risk Level:** +- **Public Supporters:** Known association with resistance but not operational roles +- **Active Participants:** Involved in resistance activities but not leadership +- **Cell Leaders:** Responsible for operational coordination and planning +- **Key Operatives:** Critical to resistance operations and high-value targets + +**Timing Sensitivity:** +- **Routine Communications:** No time pressure for delivery +- **Coordination Required:** Timely delivery important for effectiveness +- **Time-Critical Operations:** Immediate delivery required for success +- **Emergency Situations:** Delay could result in immediate harm + +### Operational Requirements Assessment + +#### Communication Characteristics +``` +Requirement Assessment: +1. Participants + - One-to-one communication + - Small group (3-10 participants) + - Large group (10+ participants) + - Broadcast (one-to-many) + +2. Content Type + - Text messages only + - File sharing required + - Voice/video communication + - Collaborative editing + +3. Timing Requirements + - Real-time communication required + - Near real-time acceptable (minutes) + - Asynchronous acceptable (hours) + - Delayed acceptable (days) + +4. Reliability Requirements + - Mission-critical (must not fail) + - Important (failure causes problems) + - Useful (failure is inconvenient) + - Optional (failure is acceptable) +``` + +#### Technical Constraints +- **Device Capabilities:** Smartphone, computer, or specialized hardware requirements +- **Network Requirements:** Internet, cellular, or offline capability needs +- **Technical Expertise:** User skill level and training requirements +- **Infrastructure:** Server hosting and maintenance capabilities + +### Protocol Selection Matrix + +#### Layer 1 Selection Criteria +**Use Layer 1 When:** +- Content sensitivity is high or critical +- Participants are high-risk or key operatives +- Real-time communication is required under surveillance +- Maximum anonymity and metadata protection needed + +**Layer 1 Tool Selection:** +``` +Session Messenger: +- Best for: Routine high-security communications +- Strengths: Easy to use, good mobile support +- Limitations: Requires internet connection + +Briar: +- Best for: Offline and mesh networking scenarios +- Strengths: No servers, offline capability +- Limitations: More complex setup and usage +``` + +#### Layer 2 Selection Criteria +**Use Layer 2 When:** +- Collaboration features are required +- Group communication with multiple participants +- File sharing and document collaboration needed +- Persistent communication history is valuable + +**Layer 2 Tool Selection:** +``` +Element/Matrix: +- Best for: Group communications and coordination +- Strengths: Rich features, federation capability +- Limitations: Requires server infrastructure + +CryptPad: +- Best for: Document collaboration and editing +- Strengths: Real-time collaboration, no accounts required +- Limitations: Limited to document-based collaboration +``` + +#### Layer 3 Selection Criteria +**Use Layer 3 When:** +- Backup communication channels needed +- Network disruption or censorship expected +- Asynchronous communication is acceptable +- Maximum reliability and availability required + +#### Layer 4 Selection Criteria +**Use Layer 4 When:** +- Public communication and information distribution +- Sender anonymity is critical +- Censorship resistance is required +- One-to-many communication model needed + +### Implementation Guidelines + +#### Protocol Transition Procedures +``` +Escalation Procedures: +Normal Operations → Layer 2 (Collaboration) +Increased Surveillance → Layer 1 (High Security) +Network Disruption → Layer 3 (Failsafe) +Public Communications → Layer 4 (Broadcasting) + +De-escalation Procedures: +Emergency → Layer 3 → Layer 1 → Layer 2 +Crisis → Layer 1 → Layer 2 → Normal Operations +``` + +#### Multi-Layer Coordination +- **Layer Integration:** Use multiple layers simultaneously for different purposes +- **Information Flow:** Establish procedures for moving information between layers +- **Verification:** Cross-verify critical information through multiple layers +- **Backup Activation:** Automatic failover to backup layers when primary fails + +#### Training and Adoption +- **Progressive Training:** Start with basic tools before introducing complex systems +- **Scenario-Based Practice:** Train using realistic operational scenarios +- **Regular Exercises:** Maintain skills through regular practice and drills +- **Feedback Integration:** Incorporate user feedback into protocol refinement + +
+
Protocol Evolution
+

Communication protocols must evolve as threats change, technology advances, and operational requirements shift. Regular review and updating of protocol selection criteria ensures continued effectiveness and security.

+
+ +--- + +## Chapter Summary + +Chapter 3 has established the multi-layer communication architecture that provides the foundation for secure resistance communications: + +**Section 3-1** introduced the strategic framework and principles underlying the multi-layer approach to communication security. + +**Section 3-2** detailed Layer 1 systems for high-risk real-time communication with maximum security and anonymity protection. + +**Section 3-3** covered Layer 2 systems that balance security with collaboration functionality for ongoing operational coordination. + +**Section 3-4** described Layer 3 failsafe and offline methods that provide backup communication capabilities independent of internet infrastructure. + +**Section 3-5** explained Layer 4 anonymous broadcasting systems for public communications with sender anonymity and censorship resistance. + +**Section 3-6** provided systematic frameworks for selecting appropriate communication protocols based on security requirements and operational needs. + +### Integration and Implementation + +The multi-layer architecture provides a comprehensive framework for resistance communications, but effective implementation requires: + +- **Systematic Assessment:** Regular evaluation of security requirements and operational needs +- **Progressive Implementation:** Gradual deployment starting with basic tools and building complexity +- **Ongoing Training:** Continuous education and skill development for all participants +- **Regular Review:** Periodic assessment and updating of communication protocols and procedures + +### Next Steps + +Chapter 4 builds on this architectural foundation by providing detailed configuration and operational guidance for the secure messaging systems that form the core of Layers 1 and 2. Understanding the architectural principles covered in this chapter is essential preparation for the practical implementation guidance that follows. + +--- + +**Next:** [Chapter 4: Secure Messaging and Voice Communications →](/chapters/chapter-4/) + diff --git a/_chapters/chapter-4.md b/_chapters/chapter-4.md new file mode 100644 index 0000000..bdf3dc7 --- /dev/null +++ b/_chapters/chapter-4.md @@ -0,0 +1,1592 @@ +--- +layout: default +title: "Chapter 4: Secure Messaging and Voice Communications" +description: "Detailed configuration and operational guidance for secure messaging systems" +section_number: "4-1 to 4-8" +prev_page: + title: "Chapter 3: Communication Architecture" + url: "/chapters/chapter-3/" +next_page: + title: "Chapter 5: File Sharing" + url: "/chapters/chapter-5/" +--- + +# Chapter 4: Secure Messaging and Voice Communications + +## Chapter Overview + +This chapter provides detailed configuration and operational guidance for implementing secure messaging systems within the multi-layer communication architecture. Each messaging system covered here serves specific security requirements and operational scenarios, from maximum-security real-time coordination to secure group collaboration. + +**Sections in this chapter:** +- 4-1: Session Messenger Configuration +- 4-2: Element/Matrix Self-Hosted Setup +- 4-3: Briar Peer-to-Peer Messaging +- 4-4: Signal Security Best Practices +- 4-5: Voice Communication Security +- 4-6: Group Communication Management +- 4-7: Message Verification and Authentication +- 4-8: Communication Scheduling and Protocols + +--- + +## Section 4-1: Session Messenger Configuration + +### Overview + +Session Messenger provides maximum security messaging through onion routing and the Signal Protocol, making it ideal for Layer 1 high-risk communications. Session eliminates phone number requirements and metadata collection while providing strong encryption and anonymity protection. + +### Installation and Initial Setup + +#### Download and Verification +```bash +# Download Session from official sources only +# Desktop: https://getsession.org/download +# Mobile: Official app stores or F-Droid + +# Verify download integrity (desktop) +gpg --verify session-desktop-linux-x86_64-*.AppImage.sig +``` + +#### Initial Configuration +``` +Security Settings Checklist: +□ Disable read receipts +□ Disable typing indicators +□ Enable disappearing messages (shortest duration) +□ Disable message notifications +□ Disable message previews +□ Enable screen security (mobile) +□ Disable automatic media downloads +``` + +#### Session ID Creation +``` +Session ID Best Practices: +1. Generate new Session ID for each operational role +2. Use random Session ID, not recovery phrase +3. Record Session ID securely for sharing with contacts +4. Never link Session ID to real identity or other accounts +5. Rotate Session IDs regularly (monthly or per operation) +``` + +### Advanced Security Configuration + +#### Network Security +``` +Network Configuration: +- Always use Tor Browser or Tor proxy for desktop access +- Enable VPN on mobile devices before using Session +- Disable automatic updates to prevent traffic analysis +- Use public WiFi from locations unconnected to identity +- Avoid using Session on home or work networks +``` + +#### Device Security +``` +Device Hardening for Session: +1. Use dedicated device not linked to real identity +2. Enable full disk encryption +3. Use strong device lock screen password +4. Disable biometric authentication +5. Install minimal additional software +6. Regular security updates through secure channels +``` + +#### Operational Security +``` +Session OpSec Procedures: +1. Create new Session ID for each operation or role +2. Share Session ID only through secure out-of-band channels +3. Verify contact identity before sensitive communications +4. Use coded language even in encrypted messages +5. Delete conversations regularly +6. Monitor for unusual behavior or timing +``` + +### Contact Management + +#### Adding Contacts Securely +``` +Secure Contact Addition Process: +1. Generate Session ID and share through secure channel +2. Verify recipient received correct Session ID +3. Send test message with predetermined verification phrase +4. Confirm identity through separate communication channel +5. Establish communication protocols and schedules +``` + +#### Contact Verification +``` +Identity Verification Methods: +- Out-of-band verification through trusted intermediary +- Predetermined code words or phrases +- Reference to shared experiences or knowledge +- Voice verification through separate secure channel +- Physical meeting for high-value contacts +``` + +#### Contact Hygiene +- **Regular Review:** Periodically review and clean contact lists +- **Role Separation:** Different Session IDs for different operational roles +- **Contact Rotation:** Regular replacement of Session IDs and re-verification +- **Compromise Response:** Immediate contact deletion if compromise suspected + +### Message Security + +#### Disappearing Messages +``` +Message Retention Settings: +- Use shortest available timer (5 seconds to 1 week) +- Adjust based on message sensitivity and operational needs +- Ensure all participants understand and enable feature +- Verify messages actually disappear on all devices +- Use manual deletion for immediate removal +``` + +#### Message Content Security +``` +Secure Messaging Practices: +1. Use coded language for sensitive topics +2. Avoid specific names, locations, or times +3. Break complex information into multiple messages +4. Use predetermined code words for common concepts +5. Verify critical information through separate channels +``` + +#### Emergency Procedures +``` +Emergency Response Protocols: +1. Duress Codes: Predetermined phrases indicating compromise +2. Burn Procedures: Rapid deletion of all Session data +3. Emergency Contacts: Backup communication methods +4. Fallback Protocols: Alternative communication channels +5. Recovery Procedures: Re-establishing secure communications +``` + +
+
Session Limitations
+

Session provides excellent security but has limitations: slower message delivery due to onion routing, limited group messaging features, and dependency on network connectivity. Plan accordingly for operational requirements.

+
+ +--- + +## Section 4-2: Element/Matrix Self-Hosted Setup + +### Overview + +Element/Matrix provides secure group communications and collaboration features through self-hosted infrastructure, making it ideal for Layer 2 secure collaboration systems. Self-hosting ensures complete control over security and data while providing rich communication features. + +### Server Infrastructure Setup + +#### Hardware Requirements +``` +Minimum Server Specifications: +- CPU: 2 cores, 2.4 GHz +- RAM: 4 GB (8 GB recommended) +- Storage: 50 GB SSD (100 GB+ for larger deployments) +- Network: Reliable internet connection with static IP +- OS: Ubuntu 20.04 LTS or Debian 11 (recommended) +``` + +#### Initial Server Hardening +```bash +# Update system and install security updates +sudo apt update && sudo apt upgrade -y + +# Install fail2ban for intrusion prevention +sudo apt install fail2ban ufw -y + +# Configure firewall +sudo ufw default deny incoming +sudo ufw default allow outgoing +sudo ufw allow ssh +sudo ufw allow 80 +sudo ufw allow 443 +sudo ufw enable + +# Disable root login and password authentication +sudo sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config +sudo sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config +sudo systemctl restart ssh +``` + +#### Synapse Installation +```bash +# Install Synapse Matrix server +sudo apt install matrix-synapse -y + +# Generate configuration +sudo -u matrix-synapse /usr/bin/python3 -m synapse.app.homeserver \ + --server-name your-domain.com \ + --config-path /etc/matrix-synapse/homeserver.yaml \ + --generate-config \ + --report-stats=no +``` + +#### Database Configuration +```bash +# Install PostgreSQL for better performance +sudo apt install postgresql postgresql-contrib -y + +# Create Matrix database and user +sudo -u postgres createuser --pwprompt synapse_user +sudo -u postgres createdb --encoding=UTF8 --locale=C --template=template0 --owner=synapse_user synapse + +# Configure Synapse to use PostgreSQL +sudo nano /etc/matrix-synapse/homeserver.yaml +``` + +```yaml +# Database configuration in homeserver.yaml +database: + name: psycopg2 + args: + user: synapse_user + password: your_secure_password + database: synapse + host: localhost + cp_min: 5 + cp_max: 10 +``` + +### Security Configuration + +#### Encryption Settings +```yaml +# Enable end-to-end encryption in homeserver.yaml +encryption_enabled_by_default_for_room_type: all +trusted_key_servers: + - server_name: "matrix.org" + verify_keys: + "ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw" + +# Disable federation for security +federation_domain_whitelist: [] +``` + +#### Access Control +```yaml +# Registration and access control +enable_registration: false +registration_shared_secret: "your_very_long_random_string" +allow_guest_access: false +enable_registration_captcha: false + +# Rate limiting +rc_message: + per_second: 0.2 + burst_count: 10 + +rc_registration: + per_second: 0.17 + burst_count: 3 +``` + +#### Privacy Settings +```yaml +# Privacy and security settings +enable_metrics: false +report_stats: false +enable_media_repo: true +max_upload_size: 50M + +# Disable unnecessary features +enable_group_creation: false +autocreate_auto_join_rooms: false +``` + +### Element Web Client Setup + +#### Installation +```bash +# Download and install Element Web +cd /var/www +sudo wget https://github.com/vector-im/element-web/releases/download/v1.11.8/element-v1.11.8.tar.gz +sudo tar -xzf element-v1.11.8.tar.gz +sudo mv element-v1.11.8 element +sudo chown -R www-data:www-data element +``` + +#### Configuration +```json +{ + "default_server_config": { + "m.homeserver": { + "base_url": "https://your-domain.com", + "server_name": "your-domain.com" + } + }, + "disable_custom_urls": true, + "disable_guests": true, + "disable_login_language_selector": true, + "disable_3pid_login": true, + "brand": "Resistance Communications", + "integrations_ui_url": "", + "integrations_rest_url": "", + "bug_report_endpoint_url": "", + "features": { + "feature_pinning": "disable", + "feature_custom_status": "disable", + "feature_custom_tags": "disable" + } +} +``` + +### Operational Procedures + +#### User Management +```bash +# Create admin user +register_new_matrix_user -c /etc/matrix-synapse/homeserver.yaml http://localhost:8008 + +# Create regular users (admin only) +# Use Element admin interface or command line tools +``` + +#### Room Creation and Management +``` +Secure Room Setup: +1. Create private, invite-only rooms +2. Enable end-to-end encryption for all rooms +3. Set appropriate power levels for participants +4. Configure message retention policies +5. Establish room-specific communication protocols +``` + +#### Backup and Recovery +```bash +# Database backup script +#!/bin/bash +BACKUP_DIR="/backup/matrix" +DATE=$(date +%Y%m%d_%H%M%S) + +# Create backup directory +mkdir -p $BACKUP_DIR + +# Backup database +sudo -u postgres pg_dump synapse > $BACKUP_DIR/synapse_$DATE.sql + +# Backup media files +tar -czf $BACKUP_DIR/media_$DATE.tar.gz /var/lib/matrix-synapse/media + +# Encrypt backups +gpg --cipher-algo AES256 --compress-algo 1 --s2k-mode 3 \ + --s2k-digest-algo SHA512 --s2k-count 65536 --symmetric \ + --output $BACKUP_DIR/synapse_$DATE.sql.gpg $BACKUP_DIR/synapse_$DATE.sql + +# Remove unencrypted backup +rm $BACKUP_DIR/synapse_$DATE.sql +``` + +
+
Server Maintenance
+

Self-hosted Matrix servers require ongoing maintenance including security updates, monitoring, backup verification, and performance optimization. Plan for dedicated technical resources or consider managed hosting with trusted providers.

+
+ +--- + +## Section 4-3: Briar Peer-to-Peer Messaging + +### Overview + +Briar provides true peer-to-peer messaging without central servers, making it ideal for high-security scenarios and situations where internet infrastructure is unreliable or compromised. Briar supports Bluetooth, WiFi, and Tor connections for maximum flexibility. + +### Installation and Setup + +#### Download and Installation +``` +Official Sources: +- F-Droid: https://f-droid.org/packages/org.briarproject.briar.android/ +- Google Play: https://play.google.com/store/apps/details?id=org.briarproject.briar.android +- Direct APK: https://briarproject.org/download-briar/ + +Desktop Beta: +- Available for testing but not recommended for operational use +- Mobile version provides full functionality +``` + +#### Initial Configuration +``` +Setup Checklist: +□ Create strong password for Briar account +□ Enable screen lock on device +□ Configure network settings (Tor, WiFi, Bluetooth) +□ Disable automatic backups to cloud services +□ Review and adjust privacy settings +□ Test connectivity through different network types +``` + +#### Network Configuration +``` +Network Settings: +1. Tor: Enable for internet connections + - Provides anonymity and censorship resistance + - Required for remote contact connections + - May be slower but more secure + +2. WiFi: Enable for local area networking + - Direct device-to-device connections + - Faster than Tor for local communications + - Use only in secure environments + +3. Bluetooth: Enable for close-proximity messaging + - Works without internet or WiFi + - Very short range (10-30 meters) + - Useful for covert meetings and mesh networking +``` + +### Contact Management + +#### Adding Contacts +``` +Contact Addition Methods: +1. QR Code Exchange: + - Generate QR code in Briar + - Scan contact's QR code in person + - Most secure method for initial contact + +2. Briar Link Sharing: + - Generate Briar link for contact + - Share through secure out-of-band channel + - Verify identity after connection + +3. Introduction by Mutual Contact: + - Existing contact introduces new contact + - Provides verification through trusted intermediary + - Useful for expanding secure networks +``` + +#### Contact Verification +``` +Identity Verification Process: +1. Exchange contact information through secure channel +2. Verify identity through predetermined questions or codes +3. Confirm connection through separate communication method +4. Establish communication protocols and schedules +5. Regular re-verification for high-value contacts +``` + +#### Contact Security +``` +Contact Management Security: +- Use aliases instead of real names +- Regularly review and clean contact lists +- Remove contacts who are no longer active +- Monitor for unusual behavior or timing +- Implement contact rotation for high-risk operations +``` + +### Messaging Security + +#### Message Types and Features +``` +Briar Message Features: +1. Private Messages: + - One-to-one encrypted messaging + - Automatic forward secrecy + - Message deletion and retention controls + +2. Private Groups: + - Small group messaging (recommended <10 people) + - Invitation-only membership + - Shared group keys and forward secrecy + +3. Forums: + - Larger group discussions + - Topic-based organization + - Moderation and access controls + +4. Blogs: + - One-to-many publishing + - RSS-like feed functionality + - Comment and discussion features +``` + +#### Security Best Practices +``` +Briar Security Procedures: +1. Use coded language for sensitive topics +2. Enable message deletion timers when available +3. Regularly clear message history +4. Monitor contact online status patterns +5. Use different devices for different operational roles +6. Implement emergency deletion procedures +``` + +### Mesh Networking + +#### Local Mesh Setup +``` +Mesh Network Configuration: +1. Enable WiFi and Bluetooth on all devices +2. Ensure devices are within range (WiFi: 100m, Bluetooth: 30m) +3. Configure Briar to use local networks +4. Test message routing through intermediate devices +5. Establish mesh network protocols and procedures +``` + +#### Mesh Security Considerations +``` +Mesh Network Security: +- Only enable mesh in secure, controlled environments +- Monitor for unauthorized devices joining network +- Use temporary mesh networks for specific operations +- Disable mesh when not needed to reduce attack surface +- Implement physical security for mesh network areas +``` + +#### Offline Message Storage +``` +Store-and-Forward Messaging: +- Messages stored locally when contacts offline +- Automatic delivery when contacts come online +- Configurable storage limits and retention +- Encrypted storage on device +- Manual message deletion for sensitive content +``` + +### Operational Procedures + +#### Communication Protocols +``` +Briar Communication Protocols: +1. Regular Check-ins: + - Scheduled online times for message exchange + - Staggered schedules to avoid pattern analysis + - Emergency contact procedures + +2. Message Handling: + - Immediate reading and response to urgent messages + - Delayed response for routine communications + - Message verification for critical information + +3. Group Management: + - Clear roles and responsibilities + - Invitation and removal procedures + - Conflict resolution and moderation +``` + +#### Emergency Procedures +``` +Emergency Response with Briar: +1. Emergency Contacts: + - Predetermined emergency contact procedures + - Multiple backup contacts for redundancy + - Emergency message formats and codes + +2. Compromise Response: + - Immediate contact removal if compromise suspected + - Message deletion and device sanitization + - Alternative contact methods activation + +3. Network Disruption: + - Mesh networking activation for local communications + - Store-and-forward for delayed message delivery + - Physical meeting coordination through Briar +``` + +
+
Briar Advantages
+

Briar's peer-to-peer architecture provides unique advantages: no central servers to compromise, offline messaging capability, and mesh networking for local communications. These features make it invaluable for high-security scenarios and network disruption situations.

+
+ +--- + +## Section 4-4: Signal Security Best Practices + +### Overview + +While Signal is not recommended for the highest-security resistance communications due to phone number requirements and centralized infrastructure, it remains widely used and can be secured for medium-risk communications when properly configured and used with appropriate operational security. + +### Secure Installation and Setup + +#### Installation Security +``` +Secure Signal Installation: +1. Download only from official sources: + - iOS: Apple App Store + - Android: Google Play Store or Signal.org + - Desktop: signal.org/download + +2. Verify installation integrity: + - Check app signatures and certificates + - Verify download checksums when available + - Use clean device for installation +``` + +#### Registration Security +``` +Phone Number Considerations: +1. Use dedicated phone number not linked to real identity: + - Prepaid phone with cash purchase + - VoIP number from privacy-focused provider + - Temporary number for specific operations + +2. Registration Process: + - Use VPN or Tor during registration + - Register from location unconnected to identity + - Disable SMS backup and cloud sync +``` + +#### Initial Configuration +``` +Signal Security Settings: +□ Enable registration lock with strong PIN +□ Disable read receipts +□ Disable typing indicators +□ Enable disappearing messages (shortest duration) +□ Disable message notifications and previews +□ Enable screen lock and screen security +□ Disable automatic media downloads +□ Turn off contact discovery +□ Disable link previews +``` + +### Advanced Security Configuration + +#### Privacy Settings +``` +Privacy Configuration: +1. Profile Settings: + - Use pseudonym instead of real name + - Avoid identifying profile photos + - Disable profile sharing with contacts + +2. Contact Management: + - Manually add contacts instead of syncing + - Use contact names that don't reveal identity + - Regularly review and clean contact list + +3. Group Settings: + - Disable group link sharing + - Require admin approval for new members + - Use descriptive but non-identifying group names +``` + +#### Network Security +``` +Network Protection: +1. VPN Usage: + - Always use VPN when using Signal + - Choose VPN provider with no-logging policy + - Use different VPN servers for different operations + +2. Tor Integration: + - Use Signal through Tor proxy when possible + - Configure Orbot on Android for Tor routing + - Accept slower performance for better anonymity + +3. Network Monitoring: + - Monitor for unusual network activity + - Use network analysis tools to verify Tor routing + - Avoid using Signal on monitored networks +``` + +### Operational Security + +#### Communication Protocols +``` +Signal OpSec Procedures: +1. Contact Verification: + - Verify safety numbers for all contacts + - Re-verify after app updates or device changes + - Use out-of-band verification for critical contacts + +2. Message Security: + - Use coded language for sensitive topics + - Enable disappearing messages for all conversations + - Manually delete sensitive messages immediately + - Avoid sending identifying information + +3. Group Management: + - Limit group size to operational necessity + - Use separate groups for different purposes + - Regularly review group membership + - Remove inactive or compromised members +``` + +#### Device Security +``` +Device Hardening for Signal: +1. Physical Security: + - Use strong device lock screen + - Enable remote wipe capability + - Avoid leaving device unattended + - Use device encryption + +2. App Security: + - Keep Signal updated to latest version + - Enable app-specific lock if available + - Disable Signal in app switcher/recent apps + - Clear app cache regularly + +3. Backup Security: + - Disable automatic cloud backups + - Use local encrypted backups only if necessary + - Regularly delete old backup files + - Secure backup storage and access +``` + +### Limitations and Risks + +#### Signal Limitations +``` +Known Signal Limitations: +1. Metadata Collection: + - Phone numbers linked to accounts + - Message timing and frequency data + - Contact discovery information + - Server connection logs + +2. Centralized Infrastructure: + - Single point of failure and control + - Subject to legal demands and pressure + - Potential for service disruption + - Limited user control over security + +3. Phone Number Requirement: + - Links account to identity verification system + - Enables contact discovery and correlation + - Difficult to maintain anonymity + - Vulnerable to SIM swapping attacks +``` + +#### Risk Mitigation +``` +Signal Risk Mitigation: +1. Use for medium-risk communications only +2. Combine with other communication layers +3. Implement strong operational security +4. Regular account rotation and cleanup +5. Monitor for service changes and updates +6. Prepare alternative communication methods +``` + +
+
Signal Limitations
+

Signal's phone number requirement and centralized infrastructure make it unsuitable for high-risk resistance communications. Use Signal only for medium-risk scenarios and always in combination with more secure alternatives.

+
+ +--- + +## Section 4-5: Voice Communication Security + +### Overview + +Voice communications present unique security challenges due to real-time requirements, voice recognition possibilities, and the difficulty of implementing strong encryption. This section covers secure voice communication methods and operational security procedures. + +### Secure Voice Technologies + +#### VoIP Security +``` +Secure VoIP Configuration: +1. Signal Voice Calls: + - End-to-end encrypted voice calls + - Verify safety numbers before sensitive calls + - Use coded language and predetermined phrases + - Keep calls brief and focused + +2. Element/Matrix Voice: + - Encrypted voice calls through Matrix protocol + - Self-hosted infrastructure for maximum control + - Group voice calls with access controls + - Integration with text messaging + +3. Briar Voice (Future): + - Peer-to-peer voice calls without servers + - Currently in development + - Will provide maximum security when available +``` + +#### Traditional Phone Security +``` +Landline and Mobile Security: +1. Operational Phones: + - Use dedicated phones not linked to identity + - Prepaid phones purchased with cash + - Regular phone rotation and disposal + - Physical security and access controls + +2. Call Security: + - Assume all traditional calls are monitored + - Use only for non-sensitive communications + - Implement coded language and phrases + - Keep calls brief and infrequent + +3. Location Security: + - Disable GPS and location services + - Use phones only in secure locations + - Avoid patterns in call timing and location + - Physical separation from personal devices +``` + +### Voice Operational Security + +#### Call Planning +``` +Secure Call Procedures: +1. Pre-Call Planning: + - Determine necessity of voice communication + - Prepare coded language and key points + - Verify recipient identity and availability + - Choose secure location and timing + +2. Call Execution: + - Verify recipient identity at call start + - Use predetermined identification phrases + - Speak clearly but avoid identifying characteristics + - Keep calls brief and focused on essential information + +3. Post-Call Security: + - Verify information received through separate channel + - Document essential information securely + - Clear call logs and temporary data + - Monitor for signs of interception or compromise +``` + +#### Voice Disguise and Security +``` +Voice Security Techniques: +1. Voice Modification: + - Speak in different pitch or tone + - Use accent or speech pattern changes + - Employ voice changing software when possible + - Practice consistent voice modifications + +2. Language Security: + - Use coded language for sensitive topics + - Avoid names, locations, and specific details + - Employ predetermined phrases and responses + - Implement duress codes for emergency situations + +3. Content Security: + - Limit sensitive information in voice calls + - Use voice for coordination, text for details + - Verify critical information through separate channels + - Avoid discussing operational specifics +``` + +### Emergency Voice Communications + +#### Emergency Protocols +``` +Emergency Voice Procedures: +1. Emergency Identification: + - Predetermined emergency phrases + - Duress codes indicating compromise + - Authentication challenges and responses + - Emergency contact escalation procedures + +2. Emergency Information: + - Essential information only + - Predetermined emergency message formats + - Location and timing information + - Resource and assistance requirements + +3. Emergency Response: + - Immediate response protocols + - Backup communication activation + - Security assessment and adjustment + - Follow-up verification procedures +``` + +#### Backup Voice Systems +``` +Backup Voice Communication: +1. Amateur Radio: + - Licensed amateur radio operations + - Digital modes for text over radio + - Mesh networking and repeater systems + - Emergency communication networks + +2. Satellite Communications: + - Satellite phones for remote areas + - Satellite internet for VoIP calls + - Emergency satellite communication services + - Cost and availability considerations + +3. Mesh Voice Networks: + - Local mesh networking with voice capability + - Peer-to-peer voice over WiFi + - Offline voice communication systems + - Integration with existing mesh networks +``` + +
+
Voice Communication Limits
+

Voice communications should be used sparingly in resistance operations due to security limitations. Prioritize text-based communications for most coordination, using voice only when real-time interaction is essential and cannot be achieved through other means.

+
+ +--- + +## Section 4-6: Group Communication Management + +### Overview + +Group communications present amplified security challenges due to multiple participants, varied security practices, and increased metadata exposure. This section provides frameworks for managing group communications securely while maintaining operational effectiveness. + +### Group Security Architecture + +#### Group Types and Security Levels +``` +Group Classification: +1. High-Security Cells (3-7 members): + - Operational planning and coordination + - Maximum security protocols required + - Layer 1 communications (Session, Briar) + - Strict access controls and verification + +2. Coordination Groups (8-15 members): + - Cross-cell coordination and resource sharing + - High security with collaboration features + - Layer 2 communications (Matrix/Element) + - Role-based access and permissions + +3. Support Networks (16+ members): + - Broader support and resource networks + - Medium security with usability focus + - Layer 2/3 communications + - Moderated access and content controls + +4. Public Communications (unlimited): + - Public outreach and information sharing + - Layer 4 broadcasting systems + - Anonymous participation options + - Open access with moderation +``` + +#### Group Formation Protocols +``` +Secure Group Creation: +1. Purpose Definition: + - Clear operational purpose and scope + - Security requirements assessment + - Participant role definitions + - Communication protocols establishment + +2. Member Selection: + - Operational necessity verification + - Security clearance and vetting + - Role-appropriate access levels + - Ongoing membership review + +3. Technical Setup: + - Appropriate platform selection + - Security configuration implementation + - Access controls and permissions + - Backup and recovery procedures + +4. Operational Procedures: + - Communication protocols and schedules + - Information sharing guidelines + - Conflict resolution procedures + - Emergency response protocols +``` + +### Group Access Controls + +#### Role-Based Permissions +``` +Group Role Structure: +1. Administrators: + - Full group management permissions + - Member addition and removal authority + - Security configuration control + - Emergency response coordination + +2. Moderators: + - Content moderation and enforcement + - Limited member management + - Protocol enforcement authority + - Conflict resolution responsibility + +3. Active Members: + - Full participation in group discussions + - File sharing and collaboration access + - Voice in group decisions + - Operational task assignments + +4. Observers: + - Read-only access to group content + - Limited participation in discussions + - No access to sensitive materials + - Probationary or support role status +``` + +#### Access Control Implementation +``` +Technical Access Controls: +1. Matrix/Element Groups: + - Power level configuration for different roles + - Room encryption and access controls + - Invitation-only membership + - Message retention and deletion policies + +2. Signal Groups: + - Admin approval for new members + - Disappearing messages for all participants + - Group link sharing disabled + - Regular membership review and cleanup + +3. Briar Groups: + - Invitation-only private groups + - Peer-to-peer verification required + - Local group management + - Offline capability maintenance +``` + +### Group Communication Protocols + +#### Information Sharing Guidelines +``` +Group Information Security: +1. Classification Levels: + - Public: Shareable without restriction + - Internal: Group members only + - Restricted: Specific roles only + - Classified: Administrators only + +2. Sharing Protocols: + - Clear marking of information sensitivity + - Verification of recipient authorization + - Secure transmission methods + - Access logging and monitoring + +3. Content Guidelines: + - No personal identifying information + - Coded language for sensitive topics + - Operational security considerations + - Legal and safety implications +``` + +#### Discussion Management +``` +Group Discussion Protocols: +1. Topic Management: + - Separate channels for different topics + - Clear topic guidelines and scope + - Moderation of off-topic discussions + - Archive and retention policies + +2. Participation Guidelines: + - Respectful and professional communication + - Constructive contribution requirements + - Conflict resolution procedures + - Enforcement and consequences + +3. Security Reminders: + - Regular security awareness messages + - Operational security reminders + - Protocol updates and changes + - Emergency procedure reviews +``` + +### Group Compromise Response + +#### Compromise Detection +``` +Compromise Indicators: +1. Technical Indicators: + - Unusual login patterns or locations + - Unexpected message deletions or modifications + - New members without proper authorization + - System configuration changes + +2. Behavioral Indicators: + - Unusual communication patterns + - Inappropriate information requests + - Violation of established protocols + - Suspicious timing or coordination + +3. External Indicators: + - Law enforcement activity + - Media attention or exposure + - Adversary knowledge of group activities + - Correlation with other security incidents +``` + +#### Response Procedures +``` +Group Compromise Response: +1. Immediate Actions: + - Suspend group communications + - Notify all members through backup channels + - Assess scope and impact of compromise + - Implement emergency security measures + +2. Investigation: + - Determine source and method of compromise + - Assess information exposed or stolen + - Identify affected members and operations + - Document lessons learned + +3. Recovery: + - Create new secure group with updated security + - Re-verify all member identities + - Implement additional security measures + - Resume operations with enhanced protocols + +4. Prevention: + - Update security procedures based on lessons learned + - Provide additional training to group members + - Implement monitoring and detection improvements + - Regular security assessments and reviews +``` + +
+
Group Security Challenges
+

Group communications are inherently less secure than one-to-one communications due to multiple participants, varied security practices, and increased attack surface. Implement strict security protocols and regular security reviews for all group communications.

+
+ +--- + +## Section 4-7: Message Verification and Authentication + +### Overview + +Message verification and authentication ensure that communications are genuine, unmodified, and from verified senders. This is critical in resistance operations where disinformation, impersonation, and message manipulation are common adversary tactics. + +### Cryptographic Verification + +#### Digital Signatures +``` +Message Signing Process: +1. PGP/GPG Signatures: + - Generate PGP key pair for signing + - Sign all sensitive messages with private key + - Recipients verify with public key + - Maintain secure key management practices + +2. Signal Protocol Verification: + - Automatic cryptographic signatures + - Safety number verification between contacts + - Forward secrecy and message authentication + - Regular verification of contact keys + +3. Matrix/Element Verification: + - Cross-signing device verification + - Message authentication codes + - Key verification through multiple channels + - Regular key rotation and verification +``` + +#### Key Management +``` +Cryptographic Key Security: +1. Key Generation: + - Use secure random number generation + - Generate keys on secure, offline systems + - Use strong key lengths (RSA 4096, ECC 384) + - Implement proper key backup and recovery + +2. Key Distribution: + - Verify key fingerprints through out-of-band channels + - Use key signing parties for verification + - Implement web of trust for key validation + - Regular key rotation and update procedures + +3. Key Storage: + - Encrypt private keys with strong passphrases + - Store keys on secure, encrypted devices + - Implement key escrow for critical operations + - Regular backup and recovery testing +``` + +### Authentication Protocols + +#### Identity Verification +``` +Contact Authentication Methods: +1. Out-of-Band Verification: + - Phone calls to verify identity + - In-person meetings for key exchange + - Trusted intermediary introductions + - Physical document verification + +2. Challenge-Response Authentication: + - Predetermined questions and answers + - Shared secret verification + - Historical knowledge verification + - Behavioral pattern recognition + +3. Multi-Factor Authentication: + - Something you know (password/passphrase) + - Something you have (device/token) + - Something you are (biometric/behavioral) + - Somewhere you are (location verification) +``` + +#### Message Authentication +``` +Message Verification Procedures: +1. Content Verification: + - Cryptographic signature verification + - Message integrity checking + - Timestamp validation + - Source authentication + +2. Context Verification: + - Message content consistency + - Timing and sequence verification + - Cross-reference with other sources + - Operational context validation + +3. Behavioral Verification: + - Writing style and pattern analysis + - Communication timing patterns + - Operational knowledge verification + - Relationship context validation +``` + +### Anti-Spoofing Measures + +#### Impersonation Detection +``` +Impersonation Prevention: +1. Technical Measures: + - Strong cryptographic authentication + - Device fingerprinting and verification + - Network analysis and monitoring + - Automated anomaly detection + +2. Procedural Measures: + - Regular identity verification + - Predetermined authentication protocols + - Suspicious activity reporting + - Cross-verification through multiple channels + +3. Human Factors: + - Training in impersonation detection + - Awareness of social engineering tactics + - Verification of unusual requests + - Reporting of suspicious communications +``` + +#### Message Integrity Protection +``` +Integrity Verification: +1. Cryptographic Protection: + - Message authentication codes (MAC) + - Digital signatures for non-repudiation + - Hash verification for content integrity + - Timestamp verification for freshness + +2. Operational Protection: + - Message sequence numbering + - Duplicate message detection + - Replay attack prevention + - Message correlation and validation + +3. Recovery Procedures: + - Integrity failure response protocols + - Message re-transmission procedures + - Alternative verification methods + - Incident reporting and investigation +``` + +### Verification Protocols + +#### Routine Verification +``` +Regular Verification Procedures: +1. Daily Operations: + - Verify sender identity for all sensitive messages + - Check message signatures and authentication + - Cross-reference with expected communications + - Report anomalies and suspicious activity + +2. Weekly Reviews: + - Review all contact verifications + - Update authentication credentials + - Assess verification procedure effectiveness + - Train participants in verification techniques + +3. Monthly Audits: + - Comprehensive verification system review + - Update verification procedures and protocols + - Assess and address verification failures + - Implement improvements and enhancements +``` + +#### Emergency Verification +``` +Emergency Authentication: +1. Duress Codes: + - Predetermined phrases indicating compromise + - Subtle indicators of coercion + - Emergency authentication procedures + - Backup verification methods + +2. Emergency Contacts: + - Alternative contact methods for verification + - Trusted intermediaries for authentication + - Emergency communication protocols + - Rapid response verification procedures + +3. Crisis Response: + - Immediate verification of emergency communications + - Rapid authentication of crisis information + - Emergency decision-making protocols + - Post-crisis verification and assessment +``` + +
+
Verification Culture
+

Effective message verification requires developing a culture where verification is routine and expected. All participants must understand the importance of verification and consistently apply verification procedures without exception.

+
+ +--- + +## Section 4-8: Communication Scheduling and Protocols + +### Overview + +Communication scheduling and protocols provide the operational framework for secure communications, defining when, how, and under what circumstances different communication methods should be used. Proper scheduling minimizes metadata exposure while ensuring operational effectiveness. + +### Communication Scheduling + +#### Timing Security +``` +Temporal Security Principles: +1. Pattern Avoidance: + - Avoid regular communication schedules + - Randomize communication timing + - Use predetermined time windows + - Implement communication blackout periods + +2. Time Delays: + - Introduce random delays between messages + - Use store-and-forward for non-urgent communications + - Implement minimum delay periods + - Coordinate timing across multiple participants + +3. Operational Timing: + - Align communications with operational requirements + - Avoid communications during high-risk periods + - Coordinate timing with other operational activities + - Plan for emergency communication needs +``` + +#### Schedule Development +``` +Communication Schedule Planning: +1. Operational Requirements: + - Identify communication needs and timing + - Assess urgency and priority levels + - Determine participant availability + - Plan for contingencies and emergencies + +2. Security Considerations: + - Assess surveillance and monitoring risks + - Implement timing randomization + - Plan for communication security measures + - Coordinate with other security protocols + +3. Resource Allocation: + - Assign communication responsibilities + - Allocate technical resources and infrastructure + - Plan for backup and redundancy + - Implement monitoring and maintenance +``` + +### Protocol Development + +#### Communication Protocols +``` +Protocol Framework: +1. Purpose and Scope: + - Define communication objectives + - Identify participants and roles + - Establish security requirements + - Determine success criteria + +2. Technical Specifications: + - Select appropriate communication tools + - Configure security settings + - Implement access controls + - Establish backup procedures + +3. Operational Procedures: + - Define communication workflows + - Establish authentication procedures + - Implement verification protocols + - Plan for emergency situations + +4. Monitoring and Review: + - Implement effectiveness monitoring + - Regular protocol review and updates + - Incident response and improvement + - Training and compliance enforcement +``` + +#### Protocol Implementation +``` +Implementation Process: +1. Planning Phase: + - Develop detailed implementation plan + - Identify required resources and training + - Assess risks and mitigation strategies + - Establish timeline and milestones + +2. Testing Phase: + - Test protocols in safe environments + - Verify technical functionality + - Train participants in procedures + - Identify and address issues + +3. Deployment Phase: + - Gradual rollout of new protocols + - Monitor implementation effectiveness + - Provide ongoing support and training + - Adjust protocols based on experience + +4. Maintenance Phase: + - Regular protocol review and updates + - Ongoing training and compliance monitoring + - Incident response and improvement + - Long-term effectiveness assessment +``` + +### Emergency Communication Protocols + +#### Emergency Procedures +``` +Emergency Communication Framework: +1. Emergency Classification: + - Immediate threat to personnel safety + - Operational compromise or exposure + - Communication system failure + - External crisis or disruption + +2. Emergency Response: + - Immediate notification procedures + - Emergency contact activation + - Backup communication system deployment + - Crisis coordination and management + +3. Emergency Recovery: + - Damage assessment and analysis + - System restoration and recovery + - Lessons learned and improvement + - Return to normal operations +``` + +#### Contingency Planning +``` +Contingency Communication Plans: +1. System Failure: + - Primary system backup procedures + - Alternative communication methods + - Emergency contact protocols + - Service restoration procedures + +2. Compromise Response: + - Immediate isolation and containment + - Alternative system activation + - Participant notification and protection + - Investigation and recovery + +3. External Disruption: + - Network outage response + - Censorship and blocking countermeasures + - Physical security threats + - Legal and regulatory challenges +``` + +### Protocol Compliance and Enforcement + +#### Compliance Monitoring +``` +Protocol Compliance Framework: +1. Monitoring Systems: + - Automated compliance checking + - Regular audit and review procedures + - Participant self-assessment + - Peer review and feedback + +2. Compliance Metrics: + - Protocol adherence rates + - Security incident frequency + - Communication effectiveness measures + - Participant satisfaction and feedback + +3. Improvement Process: + - Regular protocol review and updates + - Training and education programs + - Incentive and recognition systems + - Corrective action procedures +``` + +#### Enforcement Procedures +``` +Protocol Enforcement: +1. Education and Training: + - Initial protocol training for all participants + - Regular refresher training and updates + - Specialized training for specific roles + - Ongoing education and awareness + +2. Monitoring and Feedback: + - Regular compliance monitoring + - Constructive feedback and guidance + - Recognition of good practices + - Early intervention for issues + +3. Corrective Action: + - Progressive discipline for violations + - Additional training and support + - Temporary restriction of access + - Removal from communication systems + +4. Continuous Improvement: + - Regular protocol effectiveness review + - Participant feedback integration + - Best practice identification and sharing + - Protocol updates and enhancements +``` + +
+
Protocol Evolution
+

Communication protocols must evolve continuously as threats change, technology advances, and operational requirements shift. Regular review and updating of protocols ensures continued effectiveness and security.

+
+ +--- + +## Chapter Summary + +Chapter 4 has provided comprehensive guidance for implementing secure messaging and voice communications within the multi-layer communication architecture: + +**Section 4-1** covered Session Messenger configuration for maximum-security real-time communications with onion routing and metadata protection. + +**Section 4-2** detailed Element/Matrix self-hosted setup for secure collaboration systems with end-to-end encryption and rich features. + +**Section 4-3** explained Briar peer-to-peer messaging for decentralized communications without central servers. + +**Section 4-4** provided Signal security best practices for medium-risk communications with proper operational security. + +**Section 4-5** addressed voice communication security challenges and secure voice communication methods. + +**Section 4-6** covered group communication management with appropriate security controls and access management. + +**Section 4-7** detailed message verification and authentication procedures to ensure communication integrity and authenticity. + +**Section 4-8** established communication scheduling and protocols for operational effectiveness while maintaining security. + +### Implementation Priorities + +For new resistance networks, implement secure messaging capabilities in this order: + +1. **Basic Secure Messaging:** Start with Signal or Session for immediate secure communication needs +2. **Group Collaboration:** Deploy Matrix/Element for group coordination and collaboration +3. **High-Security Communications:** Implement Briar for maximum-security scenarios +4. **Voice Communications:** Add secure voice capabilities as operationally required +5. **Advanced Protocols:** Develop sophisticated communication protocols and procedures + +### Integration with File Sharing + +The messaging systems covered in this chapter provide the foundation for secure communications, but many resistance operations also require secure file sharing and collaboration capabilities. Chapter 5 builds on these messaging foundations to provide comprehensive file sharing and collaboration security. + +--- + +**Next:** [Chapter 5: File Sharing and Collaboration →](/chapters/chapter-5/) + diff --git a/_chapters/chapter-5.md b/_chapters/chapter-5.md new file mode 100644 index 0000000..f720100 --- /dev/null +++ b/_chapters/chapter-5.md @@ -0,0 +1,1323 @@ +--- +layout: default +title: "Chapter 5: File Sharing and Collaboration" +description: "Secure systems for document collaboration and file sharing in resistance operations" +section_number: "5-1 to 5-6" +prev_page: + title: "Chapter 4: Secure Messaging" + url: "/chapters/chapter-4/" +next_page: + title: "Part III: Operational Security" + url: "/parts/part-3/" +--- + +# Chapter 5: File Sharing and Collaboration + +## Chapter Overview + +This chapter provides comprehensive guidance for implementing secure file sharing and collaboration systems that support resistance operations while maintaining strong security protections. Effective collaboration requires balancing accessibility and usability with security requirements, ensuring that sensitive documents and information remain protected throughout the collaboration lifecycle. + +**Sections in this chapter:** +- 5-1: CryptPad Secure Document Collaboration +- 5-2: OnionShare Anonymous File Transfer +- 5-3: Encrypted Cloud Storage (Mega/Proton) +- 5-4: Digital Dead Drops +- 5-5: Version Control for Sensitive Documents +- 5-6: Collaborative Security Protocols + +--- + +## Section 5-1: CryptPad Secure Document Collaboration + +### Overview + +CryptPad provides real-time collaborative document editing with client-side encryption, making it ideal for secure document collaboration in resistance operations. Unlike traditional cloud office suites, CryptPad encrypts all content in the browser before transmission, ensuring that even the server operators cannot access document contents. + +### CryptPad Architecture + +#### Security Model +``` +CryptPad Security Architecture: +1. Client-Side Encryption: + - All encryption/decryption occurs in browser + - Server never sees unencrypted content + - Zero-knowledge architecture + - User controls all cryptographic keys + +2. Document Access Control: + - Cryptographic access control + - Share links contain encryption keys + - No server-side access management + - Perfect forward secrecy for documents + +3. Anonymous Usage: + - No account required for basic usage + - Optional accounts for additional features + - No personal information collection + - IP address protection through Tor +``` + +#### Self-Hosted Deployment + +##### Server Requirements +``` +CryptPad Server Specifications: +- CPU: 2+ cores, 2.4 GHz minimum +- RAM: 4 GB minimum, 8 GB recommended +- Storage: 50 GB SSD minimum +- Network: Reliable internet with static IP +- OS: Ubuntu 20.04 LTS or Debian 11 +``` + +##### Installation Process +```bash +# Install Node.js and dependencies +curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - +sudo apt-get install -y nodejs git + +# Clone CryptPad repository +git clone https://github.com/xwiki-labs/cryptpad.git +cd cryptpad + +# Install dependencies +npm install --production + +# Copy and configure settings +cp config/config.example.js config/config.js +``` + +##### Security Configuration +```javascript +// config/config.js security settings +module.exports = { + httpUnsafeOrigin: 'https://your-domain.com', + httpSafeOrigin: 'https://your-sandbox-domain.com', + + // Disable analytics and external connections + logToStdout: false, + logLevel: 'error', + logFeedback: false, + + // Security headers + httpHeaders: { + "X-XSS-Protection": "1; mode=block", + "X-Content-Type-Options": "nosniff", + "Access-Control-Allow-Origin": "*" + }, + + // Disable registration for private instances + disableEmbedding: true, + restrictRegistration: true, + + // File upload limits + maxUploadSize: 20 * 1024 * 1024, // 20 MB + + // Disable external services + adminEmail: false, + supportMailbox: false +}; +``` + +### Operational Usage + +#### Document Creation and Sharing +``` +Secure Document Workflow: +1. Document Creation: + - Access CryptPad through Tor Browser + - Create document without account registration + - Use strong password for document protection + - Configure appropriate access permissions + +2. Collaboration Setup: + - Generate secure sharing link + - Share link through secure communication channel + - Verify collaborator identity before sharing + - Establish collaboration protocols and guidelines + +3. Access Management: + - Use view-only links for read-only access + - Implement edit permissions carefully + - Regular review of document access + - Revoke access when no longer needed +``` + +#### Document Security +``` +CryptPad Security Practices: +1. Password Protection: + - Use strong, unique passwords for sensitive documents + - Share passwords through separate secure channels + - Regular password rotation for long-term documents + - Document password management procedures + +2. Access Control: + - Limit sharing to necessary participants only + - Use appropriate permission levels (view/edit/own) + - Regular review and cleanup of shared documents + - Monitor document access and activity + +3. Content Security: + - Avoid including identifying information + - Use coded language for sensitive topics + - Regular content review and sanitization + - Secure deletion of obsolete documents +``` + +#### Collaboration Protocols +``` +Secure Collaboration Procedures: +1. Document Standards: + - Consistent naming conventions + - Clear version identification + - Standardized formatting and structure + - Security classification markings + +2. Editing Protocols: + - Coordinated editing schedules + - Change tracking and documentation + - Conflict resolution procedures + - Review and approval processes + +3. Communication Integration: + - Coordinate document work through secure messaging + - Use separate channels for document discussion + - Verify changes through multiple channels + - Document decision-making processes +``` + +### Advanced Features + +#### Document Types and Capabilities +``` +CryptPad Document Types: +1. Rich Text Documents: + - Collaborative word processing + - Real-time editing and comments + - Export to various formats + - Version history and restoration + +2. Spreadsheets: + - Collaborative data analysis + - Formula and calculation support + - Chart and graph creation + - Data import and export + +3. Presentations: + - Collaborative slide creation + - Real-time presentation mode + - Media embedding and formatting + - Export and sharing options + +4. Code Editor: + - Collaborative code development + - Syntax highlighting and formatting + - Multiple programming language support + - Version control integration + +5. Kanban Boards: + - Project management and task tracking + - Collaborative workflow management + - Progress monitoring and reporting + - Team coordination and communication +``` + +#### Integration and Workflow +``` +CryptPad Integration: +1. Communication Integration: + - Link CryptPad with secure messaging + - Coordinate document work through Matrix/Element + - Use OnionShare for large file transfers + - Integrate with project management workflows + +2. Backup and Export: + - Regular document backup procedures + - Export to encrypted archives + - Offline document storage + - Recovery and restoration procedures + +3. Workflow Automation: + - Document templates and standards + - Automated backup and archiving + - Integration with other collaboration tools + - Workflow monitoring and optimization +``` + +
+
CryptPad Limitations
+

While CryptPad provides excellent security for document collaboration, it has limitations: requires JavaScript enabled, limited offline functionality, and potential browser-based attacks. Use in combination with other security measures and maintain offline backups of critical documents.

+
+ +--- + +## Section 5-2: OnionShare Anonymous File Transfer + +### Overview + +OnionShare provides anonymous file sharing over the Tor network without requiring central servers or user accounts. This makes it ideal for secure file transfers where sender anonymity is critical and traditional file sharing services pose security risks. + +### OnionShare Architecture + +#### Security Model +``` +OnionShare Security Features: +1. Tor Hidden Services: + - Anonymous file sharing over Tor network + - No central servers or intermediaries + - Sender location and identity protection + - Censorship resistance and availability + +2. Ephemeral Sharing: + - Automatic shutdown after download + - Time-limited sharing windows + - One-time download capability + - No persistent file storage + +3. Access Control: + - Password protection for shared files + - Custom URLs for additional security + - Download monitoring and logging + - Automatic security measures +``` + +#### Installation and Setup +```bash +# Install OnionShare on Ubuntu/Debian +sudo apt update +sudo apt install onionshare + +# Install from Flatpak (alternative) +flatpak install flathub org.onionshare.OnionShare + +# Verify Tor installation and configuration +sudo apt install tor +sudo systemctl enable tor +sudo systemctl start tor +``` + +### File Sharing Operations + +#### Basic File Sharing +``` +OnionShare File Sharing Process: +1. File Preparation: + - Create encrypted archive of files to share + - Remove metadata from files + - Verify file integrity and content + - Organize files for efficient sharing + +2. OnionShare Configuration: + - Launch OnionShare application + - Add files or folders to share + - Configure security settings + - Generate sharing URL and password + +3. Secure Distribution: + - Share URL through secure communication channel + - Share password through separate secure channel + - Provide download instructions and verification + - Monitor for successful download completion + +4. Post-Sharing Security: + - Verify automatic shutdown after download + - Clear OnionShare logs and temporary files + - Confirm recipient received files successfully + - Document transfer for operational records +``` + +#### Advanced Sharing Options +``` +OnionShare Advanced Features: +1. Website Hosting: + - Host static websites anonymously + - Share information without file downloads + - Temporary website deployment + - Anonymous content distribution + +2. Receive Mode: + - Anonymous file upload capability + - Secure submission systems + - Whistleblower and leak platforms + - Anonymous feedback collection + +3. Chat Mode: + - Anonymous chat rooms + - Temporary communication channels + - Group coordination without accounts + - Emergency communication systems +``` + +### Security Configuration + +#### OnionShare Security Settings +``` +Security Configuration Checklist: +□ Enable password protection for all shares +□ Set automatic shutdown after download +□ Configure short expiration times +□ Disable public mode for sensitive files +□ Enable stealth mode for additional security +□ Use custom titles and descriptions carefully +□ Monitor download activity and logs +□ Clear temporary files after sharing +``` + +#### Operational Security +``` +OnionShare OpSec Procedures: +1. File Preparation: + - Encrypt files before adding to OnionShare + - Remove all metadata and identifying information + - Use generic filenames and folder structures + - Verify file content for security implications + +2. Sharing Security: + - Generate strong passwords for file protection + - Use secure channels for URL and password distribution + - Verify recipient identity before sharing + - Monitor sharing activity for anomalies + +3. Post-Sharing Cleanup: + - Verify automatic shutdown and file deletion + - Clear OnionShare application logs + - Remove temporary files and caches + - Document successful transfer completion +``` + +### Integration with Other Systems + +#### Workflow Integration +``` +OnionShare Integration Strategies: +1. Communication Integration: + - Coordinate file sharing through secure messaging + - Use Matrix/Element for sharing coordination + - Integrate with CryptPad for document collaboration + - Link with project management workflows + +2. Backup and Archiving: + - Use OnionShare for secure backup distribution + - Anonymous archival and storage systems + - Emergency document distribution + - Disaster recovery file sharing + +3. Operational Integration: + - Intelligence sharing and distribution + - Resource and material distribution + - Training material and documentation sharing + - Emergency communication and coordination +``` + +#### Automation and Scripting +```bash +# OnionShare command-line automation +#!/bin/bash + +# Prepare files for sharing +SHARE_DIR="/tmp/secure_share" +mkdir -p "$SHARE_DIR" + +# Copy and encrypt files +cp sensitive_files/* "$SHARE_DIR/" +gpg --cipher-algo AES256 --compress-algo 1 --s2k-mode 3 \ + --s2k-digest-algo SHA512 --s2k-count 65536 --symmetric \ + --output "$SHARE_DIR/encrypted_files.gpg" "$SHARE_DIR/*" + +# Remove unencrypted files +rm "$SHARE_DIR"/*.txt "$SHARE_DIR"/*.pdf + +# Start OnionShare with security settings +onionshare-cli --receive --public --auto-stop-timer 3600 \ + --password "$(openssl rand -base64 32)" "$SHARE_DIR" +``` + +
+
OnionShare Considerations
+

OnionShare requires both sender and recipient to use Tor Browser for access. Ensure all participants understand Tor usage and have secure access to Tor network. Monitor for network analysis attacks and use additional encryption for highly sensitive files.

+
+ +--- + +## Section 5-3: Encrypted Cloud Storage (Mega/Proton) + +### Overview + +Encrypted cloud storage services provide convenient file storage and sharing with client-side encryption, making them suitable for medium-security file storage and collaboration when properly configured and used with appropriate operational security measures. + +### Service Selection and Evaluation + +#### Recommended Services +``` +Encrypted Cloud Storage Options: +1. Mega: + - Client-side encryption with user-controlled keys + - 20 GB free storage, paid plans available + - File sharing with password protection + - Browser and mobile app access + +2. Proton Drive: + - Zero-access encryption architecture + - Integration with ProtonMail ecosystem + - Swiss privacy laws and jurisdiction + - End-to-end encrypted file sharing + +3. Tresorit: + - Business-focused encrypted storage + - Advanced access controls and permissions + - Compliance with privacy regulations + - Enterprise security features + +4. SpiderOak: + - Zero-knowledge architecture + - Cross-platform synchronization + - Version history and backup features + - Business and enterprise plans +``` + +#### Security Evaluation Criteria +``` +Cloud Storage Security Assessment: +1. Encryption Implementation: + - Client-side encryption with user-controlled keys + - Zero-knowledge architecture + - Strong encryption algorithms and key lengths + - Secure key management and storage + +2. Privacy and Jurisdiction: + - Privacy-friendly legal jurisdiction + - No data retention or sharing requirements + - Transparent privacy policies + - Independent security audits + +3. Access Controls: + - Strong authentication and access controls + - Two-factor authentication support + - Granular sharing permissions + - Activity monitoring and logging + +4. Operational Security: + - Secure account creation and management + - Anonymous payment options + - Tor and VPN compatibility + - Data portability and export options +``` + +### Secure Account Setup + +#### Anonymous Account Creation +``` +Anonymous Account Setup: +1. Network Security: + - Use Tor Browser for account creation + - Connect through VPN for additional protection + - Use public WiFi unconnected to identity + - Avoid home or work network connections + +2. Account Information: + - Use temporary email address for registration + - Provide minimal or false personal information + - Use strong, unique passwords + - Enable two-factor authentication + +3. Payment Security: + - Use anonymous payment methods when possible + - Cryptocurrency payments for anonymity + - Prepaid cards purchased with cash + - Avoid linking to personal financial accounts +``` + +#### Security Configuration +``` +Cloud Storage Security Settings: +□ Enable two-factor authentication +□ Use strong, unique passwords +□ Configure secure recovery options +□ Enable login notifications and monitoring +□ Review and configure sharing permissions +□ Set up secure backup and recovery +□ Configure automatic logout and session timeouts +□ Review privacy and security settings regularly +``` + +### File Management and Security + +#### File Preparation +``` +Secure File Preparation: +1. Encryption: + - Encrypt sensitive files before upload + - Use strong encryption algorithms (AES-256) + - Implement secure key management + - Regular key rotation for long-term storage + +2. Metadata Removal: + - Strip metadata from all files + - Use generic filenames and folder structures + - Remove identifying information and traces + - Sanitize file content for security implications + +3. Organization: + - Use consistent naming conventions + - Implement logical folder structures + - Apply security classifications + - Document file organization and access +``` + +#### Access Control and Sharing +``` +Secure Sharing Procedures: +1. Permission Management: + - Use minimum necessary permissions + - Implement time-limited access when possible + - Regular review and cleanup of shared files + - Monitor file access and download activity + +2. Sharing Security: + - Use password protection for shared files + - Share access credentials through secure channels + - Verify recipient identity before sharing + - Monitor sharing activity for anomalies + +3. Collaboration Protocols: + - Establish clear collaboration guidelines + - Coordinate file access and editing + - Implement version control procedures + - Document collaboration activities +``` + +### Operational Procedures + +#### Backup and Synchronization +``` +Cloud Storage Backup Strategy: +1. Local Backups: + - Maintain encrypted local copies of critical files + - Regular backup verification and testing + - Secure backup storage and access controls + - Offline backup for maximum security + +2. Multi-Provider Strategy: + - Use multiple cloud storage providers + - Distribute files across different services + - Implement redundancy for critical files + - Regular synchronization and consistency checks + +3. Recovery Procedures: + - Document recovery procedures and access + - Test recovery procedures regularly + - Maintain secure access to recovery credentials + - Plan for provider service disruption +``` + +#### Monitoring and Maintenance +``` +Cloud Storage Monitoring: +1. Access Monitoring: + - Regular review of account activity logs + - Monitor for unauthorized access attempts + - Track file access and sharing activity + - Investigate anomalies and suspicious activity + +2. Security Maintenance: + - Regular password and credential updates + - Security setting review and updates + - Software and application updates + - Provider security update monitoring + +3. Compliance and Cleanup: + - Regular file review and cleanup + - Remove obsolete and unnecessary files + - Update access permissions and sharing + - Document retention and disposal procedures +``` + +
+
Cloud Storage Benefits
+

Encrypted cloud storage provides convenient access and collaboration features while maintaining reasonable security for medium-sensitivity files. Use in combination with other security measures and maintain local encrypted backups of critical files.

+
+ +--- + +## Section 5-4: Digital Dead Drops + +### Overview + +Digital dead drops provide asynchronous file sharing without direct contact between sender and recipient, using various online and offline methods to transfer files while minimizing metadata exposure and maintaining operational security. + +### Dead Drop Methodologies + +#### Online Dead Drop Systems +``` +Online Dead Drop Methods: +1. Temporary File Hosting: + - Anonymous file upload services + - Time-limited file availability + - Password protection and encryption + - No registration or account requirements + +2. Public File Sharing: + - Anonymous uploads to public platforms + - Steganography in public images + - Hidden data in public documents + - Coded filenames and locations + +3. Email Dead Drops: + - Shared email accounts with draft messages + - Temporary email services + - Encrypted email with delayed delivery + - Anonymous email forwarding services + +4. Social Media Dead Drops: + - Hidden data in social media posts + - Steganography in public images + - Coded messages in public forums + - Anonymous file sharing through platforms +``` + +#### Offline Dead Drop Systems +``` +Offline Dead Drop Methods: +1. Physical Media: + - USB drives in predetermined locations + - SD cards hidden in public spaces + - Encrypted data on physical media + - QR codes with encrypted data + +2. Network Dead Drops: + - WiFi networks with shared files + - Bluetooth file sharing in public spaces + - Local network file sharing + - Mesh network file distribution + +3. Hybrid Systems: + - Combination of online and offline methods + - Multiple redundant channels + - Backup and verification systems + - Emergency fallback procedures +``` + +### Implementation Procedures + +#### Dead Drop Setup +``` +Dead Drop Establishment: +1. Location Selection: + - Choose publicly accessible locations + - Avoid surveillance and monitoring + - Ensure reliable access for all parties + - Plan for multiple backup locations + +2. Security Configuration: + - Implement strong encryption for all data + - Use secure authentication and verification + - Establish access protocols and timing + - Plan for compromise detection and response + +3. Communication Protocols: + - Establish signaling systems for availability + - Coordinate access timing and procedures + - Implement verification and confirmation + - Plan for emergency communication +``` + +#### Operational Security +``` +Dead Drop OpSec Procedures: +1. Access Security: + - Use different identities for different drops + - Vary access timing and patterns + - Monitor for surveillance and compromise + - Implement counter-surveillance measures + +2. Data Security: + - Encrypt all data before placement + - Use strong authentication and verification + - Implement data integrity checking + - Plan for secure data destruction + +3. Communication Security: + - Use coded language for coordination + - Separate channels for different purposes + - Verify all communications and instructions + - Monitor for interception and compromise +``` + +### Technical Implementation + +#### Steganography Techniques +``` +Data Hiding Methods: +1. Image Steganography: + - Hide data in image files + - Use steganography tools (steghide, outguess) + - Embed in publicly posted images + - Maintain image quality and appearance + +2. Document Steganography: + - Hide data in document metadata + - Use invisible text and formatting + - Embed in publicly available documents + - Maintain document functionality + +3. Audio/Video Steganography: + - Hide data in multimedia files + - Use least significant bit encoding + - Embed in publicly shared media + - Maintain media quality and playback +``` + +#### Automation and Tools +```bash +# Steganography automation script +#!/bin/bash + +# Hide encrypted file in image +steghide embed -cf cover_image.jpg -ef secret_file.gpg -sf output_image.jpg -p "password" + +# Extract hidden file from image +steghide extract -sf output_image.jpg -xf extracted_file.gpg -p "password" + +# Verify file integrity +sha256sum secret_file.gpg extracted_file.gpg +``` + +### Dead Drop Management + +#### Monitoring and Maintenance +``` +Dead Drop Management: +1. Regular Monitoring: + - Check dead drop status and availability + - Monitor for compromise or interference + - Verify data integrity and accessibility + - Update security measures as needed + +2. Maintenance Procedures: + - Regular cleanup and sanitization + - Update encryption and security measures + - Refresh locations and access methods + - Test backup and recovery procedures + +3. Incident Response: + - Detect and respond to compromise + - Implement emergency procedures + - Activate backup systems and locations + - Investigate and document incidents +``` + +#### Lifecycle Management +``` +Dead Drop Lifecycle: +1. Establishment: + - Plan and configure dead drop systems + - Test functionality and security + - Train participants in procedures + - Document access and protocols + +2. Operation: + - Regular use and monitoring + - Maintenance and security updates + - Incident response and recovery + - Performance optimization + +3. Retirement: + - Secure decommissioning procedures + - Data sanitization and destruction + - Location cleanup and restoration + - Documentation and lessons learned +``` + +
+
Dead Drop Risks
+

Digital dead drops require careful planning and execution to maintain security. Physical dead drops pose additional risks including discovery, surveillance, and physical compromise. Use multiple redundant systems and maintain strict operational security.

+
+ +--- + +## Section 5-5: Version Control for Sensitive Documents + +### Overview + +Version control systems track changes to documents over time, enabling collaboration while maintaining security and accountability. For resistance operations, version control must balance collaboration needs with security requirements, ensuring that document history and changes remain protected. + +### Version Control Principles + +#### Security-First Version Control +``` +Secure Version Control Requirements: +1. Encryption: + - All document versions encrypted at rest + - Secure transmission of changes and updates + - Client-side encryption when possible + - Strong key management and protection + +2. Access Control: + - Role-based access to documents and versions + - Granular permissions for different operations + - Authentication and authorization controls + - Audit logging and monitoring + +3. Anonymity and Privacy: + - Anonymous or pseudonymous contributions + - Metadata protection and minimization + - Location and timing privacy + - Identity separation and compartmentalization + +4. Integrity and Authenticity: + - Cryptographic verification of changes + - Digital signatures for accountability + - Tamper detection and prevention + - Change attribution and verification +``` + +#### Version Control Models +``` +Version Control Approaches: +1. Centralized Model: + - Single authoritative repository + - Centralized access control and management + - Simplified coordination and synchronization + - Single point of failure and control + +2. Distributed Model: + - Multiple repository copies + - Decentralized collaboration and synchronization + - Resilience and redundancy + - Complex coordination and conflict resolution + +3. Hybrid Model: + - Combination of centralized and distributed features + - Flexible access and collaboration options + - Balanced security and usability + - Adaptable to different operational requirements +``` + +### Technical Implementation + +#### Git-Based Version Control +```bash +# Initialize secure Git repository +git init --bare secure-docs.git +cd secure-docs.git + +# Configure security settings +git config core.sharedRepository group +git config receive.denyNonFastForwards true +git config receive.denyDeletes true + +# Set up encryption with git-crypt +git-crypt init +git-crypt add-gpg-user user@example.com + +# Configure .gitattributes for encryption +echo "*.txt filter=git-crypt diff=git-crypt" >> .gitattributes +echo "*.md filter=git-crypt diff=git-crypt" >> .gitattributes +``` + +#### Document Workflow +``` +Secure Document Workflow: +1. Document Creation: + - Create documents in secure environment + - Apply appropriate security classifications + - Remove metadata and identifying information + - Initialize version control tracking + +2. Collaboration: + - Clone repository to secure local environment + - Make changes using secure editing tools + - Commit changes with descriptive messages + - Push changes through secure channels + +3. Review and Approval: + - Review changes through secure communication + - Approve changes through established procedures + - Merge approved changes to main branch + - Document approval and decision-making + +4. Distribution: + - Export approved versions for distribution + - Apply final security measures and encryption + - Distribute through secure channels + - Monitor access and usage +``` + +### Collaboration Protocols + +#### Change Management +``` +Document Change Management: +1. Change Proposal: + - Identify need for document changes + - Propose changes through secure channels + - Review and approve change proposals + - Assign responsibility for implementation + +2. Change Implementation: + - Create feature branch for changes + - Implement changes following security guidelines + - Test and verify changes + - Submit changes for review and approval + +3. Change Review: + - Review changes for content and security + - Verify compliance with guidelines and standards + - Approve or request modifications + - Merge approved changes to main branch + +4. Change Documentation: + - Document changes and rationale + - Update version numbers and metadata + - Communicate changes to stakeholders + - Archive change documentation +``` + +#### Conflict Resolution +``` +Document Conflict Resolution: +1. Conflict Detection: + - Identify conflicting changes and versions + - Assess impact and implications + - Notify affected parties and stakeholders + - Initiate resolution procedures + +2. Conflict Analysis: + - Analyze conflicting changes and requirements + - Identify root causes and contributing factors + - Assess options and alternatives + - Develop resolution strategy + +3. Conflict Resolution: + - Implement agreed-upon resolution + - Update documents and version control + - Communicate resolution to stakeholders + - Document lessons learned and improvements + +4. Prevention: + - Improve coordination and communication + - Update procedures and guidelines + - Provide additional training and support + - Monitor for recurring issues +``` + +### Security Considerations + +#### Repository Security +``` +Version Control Security: +1. Repository Protection: + - Encrypt repository data at rest + - Secure transmission and access protocols + - Strong authentication and access controls + - Regular security audits and monitoring + +2. Access Management: + - Role-based access controls + - Principle of least privilege + - Regular access review and cleanup + - Secure credential management + +3. Backup and Recovery: + - Regular encrypted backups + - Secure backup storage and access + - Tested recovery procedures + - Disaster recovery planning + +4. Monitoring and Auditing: + - Access logging and monitoring + - Change tracking and attribution + - Security incident detection and response + - Compliance monitoring and reporting +``` + +#### Operational Security +``` +Version Control OpSec: +1. Identity Management: + - Use pseudonyms for version control + - Separate identities for different projects + - Avoid linking to real identities + - Regular identity rotation and cleanup + +2. Communication Security: + - Coordinate version control through secure channels + - Separate communication for different purposes + - Verify all communications and instructions + - Monitor for interception and compromise + +3. Device Security: + - Use dedicated devices for version control + - Secure device configuration and management + - Regular security updates and maintenance + - Secure disposal and sanitization +``` + +
+
Version Control Benefits
+

Secure version control provides accountability, collaboration, and change tracking while maintaining security. Implement appropriate security measures and operational procedures to protect sensitive documents throughout the collaboration lifecycle.

+
+ +--- + +## Section 5-6: Collaborative Security Protocols + +### Overview + +Collaborative security protocols provide the operational framework for secure file sharing and collaboration, defining roles, responsibilities, procedures, and security measures that ensure effective collaboration while maintaining security and operational security requirements. + +### Protocol Framework + +#### Collaboration Security Model +``` +Collaborative Security Framework: +1. Roles and Responsibilities: + - Document owners and administrators + - Content contributors and editors + - Reviewers and approvers + - Security officers and monitors + +2. Access Controls: + - Role-based access permissions + - Document classification and handling + - Time-limited and conditional access + - Regular access review and cleanup + +3. Security Procedures: + - Document creation and classification + - Secure sharing and distribution + - Change management and approval + - Incident response and recovery + +4. Monitoring and Compliance: + - Activity monitoring and logging + - Compliance verification and auditing + - Security incident detection and response + - Continuous improvement and optimization +``` + +#### Protocol Development +``` +Protocol Development Process: +1. Requirements Analysis: + - Identify collaboration needs and objectives + - Assess security requirements and constraints + - Analyze stakeholder roles and responsibilities + - Define success criteria and metrics + +2. Protocol Design: + - Develop security architecture and controls + - Design operational procedures and workflows + - Create training and documentation materials + - Plan implementation and deployment + +3. Testing and Validation: + - Test protocols in safe environments + - Validate security and operational effectiveness + - Identify and address issues and gaps + - Refine protocols based on testing results + +4. Implementation and Monitoring: + - Deploy protocols in operational environment + - Monitor effectiveness and compliance + - Provide ongoing training and support + - Continuously improve and optimize +``` + +### Document Classification and Handling + +#### Classification System +``` +Document Classification Framework: +1. Classification Levels: + - Public: No restrictions on distribution + - Internal: Organization members only + - Restricted: Specific roles and need-to-know + - Classified: Highest security, minimal access + +2. Handling Requirements: + - Storage and transmission security + - Access controls and permissions + - Sharing and distribution procedures + - Retention and disposal requirements + +3. Marking and Labeling: + - Clear classification markings + - Handling instruction labels + - Distribution and access restrictions + - Review and declassification dates +``` + +#### Document Lifecycle Management +``` +Document Lifecycle Security: +1. Creation: + - Security classification assignment + - Initial access control configuration + - Metadata and content security review + - Version control initialization + +2. Collaboration: + - Secure sharing and access procedures + - Change management and approval + - Version control and tracking + - Security monitoring and compliance + +3. Review and Approval: + - Content review and verification + - Security assessment and clearance + - Approval and authorization procedures + - Final version preparation and distribution + +4. Archival and Disposal: + - Long-term storage and preservation + - Access control maintenance + - Secure disposal and destruction + - Documentation and record keeping +``` + +### Collaboration Workflows + +#### Secure Collaboration Process +``` +Collaboration Workflow: +1. Project Initiation: + - Define collaboration objectives and scope + - Identify participants and roles + - Establish security requirements and procedures + - Set up collaboration infrastructure and tools + +2. Document Development: + - Create initial documents and structure + - Assign roles and responsibilities + - Implement security controls and procedures + - Begin collaborative development process + +3. Review and Revision: + - Regular review and feedback cycles + - Change management and approval + - Version control and tracking + - Quality assurance and verification + +4. Finalization and Distribution: + - Final review and approval + - Security clearance and classification + - Distribution and access management + - Monitoring and maintenance +``` + +#### Quality Assurance +``` +Collaboration Quality Assurance: +1. Content Quality: + - Accuracy and completeness verification + - Consistency and standardization + - Clarity and readability assessment + - Technical and factual review + +2. Security Quality: + - Security classification verification + - Access control validation + - Operational security compliance + - Risk assessment and mitigation + +3. Process Quality: + - Procedure compliance verification + - Workflow efficiency assessment + - Participant satisfaction evaluation + - Continuous improvement identification +``` + +### Training and Support + +#### Collaboration Training +``` +Training Program Components: +1. Security Awareness: + - Document classification and handling + - Operational security procedures + - Threat awareness and mitigation + - Incident reporting and response + +2. Technical Training: + - Collaboration tool usage and configuration + - Security feature implementation + - Troubleshooting and support + - Best practices and optimization + +3. Procedural Training: + - Workflow and process procedures + - Role responsibilities and expectations + - Quality assurance and compliance + - Communication and coordination + +4. Ongoing Support: + - Regular training updates and refreshers + - Technical support and assistance + - Procedure clarification and guidance + - Performance feedback and improvement +``` + +#### Support Infrastructure +``` +Collaboration Support System: +1. Technical Support: + - Help desk and troubleshooting + - System administration and maintenance + - Security monitoring and response + - Performance optimization and tuning + +2. Procedural Support: + - Process guidance and clarification + - Workflow optimization and improvement + - Compliance monitoring and enforcement + - Training and development support + +3. Security Support: + - Security incident response and investigation + - Risk assessment and mitigation + - Security awareness and education + - Compliance auditing and verification +``` + +
+
Protocol Success
+

Effective collaborative security protocols require clear roles, comprehensive procedures, ongoing training, and continuous improvement. Success depends on consistent implementation and participant commitment to security and operational excellence.

+
+ +--- + +## Chapter Summary + +Chapter 5 has provided comprehensive guidance for implementing secure file sharing and collaboration systems that support resistance operations while maintaining strong security protections: + +**Section 5-1** covered CryptPad secure document collaboration with client-side encryption and real-time collaborative editing capabilities. + +**Section 5-2** detailed OnionShare anonymous file transfer over Tor network for secure, ephemeral file sharing without central servers. + +**Section 5-3** explained encrypted cloud storage services (Mega/Proton) for convenient file storage and sharing with appropriate security measures. + +**Section 5-4** described digital dead drop systems for asynchronous file sharing without direct contact between participants. + +**Section 5-5** covered version control systems for sensitive documents, enabling collaboration while maintaining security and accountability. + +**Section 5-6** established collaborative security protocols that provide the operational framework for secure file sharing and collaboration. + +### Implementation Strategy + +For resistance networks implementing secure file sharing and collaboration: + +1. **Start with Basic Tools:** Begin with OnionShare for immediate secure file transfer needs +2. **Add Collaboration:** Implement CryptPad for document collaboration and real-time editing +3. **Enhance with Cloud Storage:** Add encrypted cloud storage for convenient access and backup +4. **Implement Advanced Systems:** Deploy version control and dead drop systems for sophisticated operations +5. **Establish Protocols:** Develop comprehensive collaborative security protocols and procedures + +### Integration with Communication Systems + +The file sharing and collaboration systems covered in this chapter work in conjunction with the secure messaging systems from Chapter 4 to provide comprehensive communication and collaboration capabilities. Together, these systems form the foundation for secure resistance operations covered in Part III. + +--- + +**Next:** [Part III: Operational Security Procedures →](/parts/part-3/) + diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..e4b6617 --- /dev/null +++ b/_config.yml @@ -0,0 +1,123 @@ +# Field Guide for Subversives - Jekyll Configuration + +title: "Field Manual for Resistance Operations" +subtitle: "FM-R1: Secure Communication Networks for Decentralized Resistance" +description: "A comprehensive guide to secure communication and operational security for newcomers to resistance movements" +baseurl: "" +url: "https://guide.resist.is" + +# Organization info +organization: "Department of Internautics" +bureau: "Bureau of Decentralized Resistance" +manual_designation: "FM-R1" +classification: "UNCLASSIFIED" +version: "1.0" +date: "2025-08-28" + +# Build settings +markdown: kramdown +highlighter: rouge +permalink: /:categories/:title/ + +# Collections +collections: + parts: + output: true + permalink: /:collection/:name/ + chapters: + output: true + permalink: /:collection/:name/ + sections: + output: true + permalink: /:collection/:name/ + appendices: + output: true + permalink: /:collection/:name/ + +# Default layouts +defaults: + - scope: + path: "" + type: "pages" + values: + layout: "default" + - scope: + path: "" + type: "parts" + values: + layout: "part" + - scope: + path: "" + type: "chapters" + values: + layout: "chapter" + - scope: + path: "" + type: "sections" + values: + layout: "section" + - scope: + path: "" + type: "appendices" + values: + layout: "appendix" + +# Navigation structure +navigation: + - title: "Table of Contents" + url: "/" + - title: "Preface" + url: "/preface/" + - title: "Introduction" + url: "/introduction/" + - title: "Part I: Foundations" + url: "/parts/part-1/" + children: + - title: "Chapter 1: Core Security Principles" + url: "/chapters/chapter-1/" + - title: "Chapter 2: Threat Assessment" + url: "/chapters/chapter-2/" + - title: "Part II: Communication Systems" + url: "/parts/part-2/" + children: + - title: "Chapter 3: Communication Architecture" + url: "/chapters/chapter-3/" + - title: "Chapter 4: Secure Messaging" + url: "/chapters/chapter-4/" + - title: "Chapter 5: File Sharing" + url: "/chapters/chapter-5/" + - title: "Part III: Operational Security" + url: "/parts/part-3/" + children: + - title: "Chapter 6: Hardware Security" + url: "/chapters/chapter-6/" + - title: "Chapter 7: Digital Hygiene" + url: "/chapters/chapter-7/" + - title: "Chapter 8: Operational Procedures" + url: "/chapters/chapter-8/" + - title: "Part IV: Advanced Operations" + url: "/parts/part-4/" + children: + - title: "Chapter 9: Network Resilience" + url: "/chapters/chapter-9/" + - title: "Chapter 10: Counter-Intelligence" + url: "/chapters/chapter-10/" + - title: "Appendices" + url: "/appendices/" + +# Plugins +plugins: + - jekyll-sitemap + - jekyll-feed + +# Exclude from processing +exclude: + - Gemfile + - Gemfile.lock + - node_modules + - vendor/bundle/ + - vendor/cache/ + - vendor/gems/ + - vendor/ruby/ + - README.md + diff --git a/_includes/navigation.html b/_includes/navigation.html new file mode 100644 index 0000000..298a319 --- /dev/null +++ b/_includes/navigation.html @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..c8600e8 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,96 @@ + + + + + + {% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
{{ site.manual_designation }}: {{ site.subtitle }}
+
{{ site.classification }}
+ {% if page.section_number %} +
Section {{ page.section_number }}
+ {% endif %} +
+ + {{ content }} + + {% if page.prev_page or page.next_page %} + + {% endif %} +
+
+ + + + + + + + diff --git a/_parts/part-1.md b/_parts/part-1.md new file mode 100644 index 0000000..c044f88 --- /dev/null +++ b/_parts/part-1.md @@ -0,0 +1,138 @@ +--- +layout: default +title: "Part I: Foundations of Resistance Security" +description: "Core security principles and threat assessment methodologies for resistance operations" +prev_page: + title: "Introduction" + url: "/introduction/" +next_page: + title: "Chapter 1: Core Security Principles" + url: "/chapters/chapter-1/" +--- + +# Part I: Foundations of Resistance Security + +## Overview + +Part I establishes the theoretical and practical foundations necessary for all resistance security operations. Before implementing any technical measures or operational procedures, resistance practitioners must understand the fundamental principles that govern security in hostile environments and develop the analytical skills necessary to assess threats and design appropriate countermeasures. + +This part addresses the most critical question in resistance security: **How do you think about security in a way that leads to effective protection?** + +## Learning Objectives + +Upon completing Part I, you will be able to: + +- Apply core security principles to evaluate and design resistance operations +- Conduct systematic threat assessments for your specific operational environment +- Develop risk management strategies appropriate to your threat level +- Understand the relationship between security measures and operational effectiveness +- Recognize common security failures and their underlying causes + +## Chapter Overview + +### Chapter 1: Core Security Principles (1-1 to 1-5) + +The five fundamental principles that must guide all resistance security decisions: + +**1-1: Principle of Least Privilege** - Limiting access to the minimum necessary for operational effectiveness + +**1-2: Need-to-Know Basis** - Compartmentalizing information to prevent cascade failures + +**1-3: Compartmentalization and Cell Structure** - Organizing resistance networks to contain compromise + +**1-4: Zero Trust Verification** - Assuming compromise and requiring continuous authentication + +**1-5: Metadata Minimization** - Reducing the digital traces that reveal operational patterns + +### Chapter 2: Threat Assessment and Operational Environment (2-1 to 2-4) + +Systematic approaches to understanding and responding to threats: + +**2-1: Understanding Your Adversary** - Analyzing capabilities, motivations, and limitations of hostile forces + +**2-2: Threat Model Development** - Creating structured assessments of risks and vulnerabilities + +**2-3: Risk Assessment Framework** - Quantifying and prioritizing security investments + +**2-4: Operational Security (OpSec) Fundamentals** - Translating threat assessments into practical procedures + +## The Security Mindset + +Before diving into specific principles and procedures, it's essential to understand the fundamental shift in thinking required for effective resistance security. This shift involves: + +### From Convenience to Security + +In normal life, we optimize for convenience, efficiency, and ease of use. In resistance operations, security becomes the primary consideration, with convenience secondary. This doesn't mean making things unnecessarily difficult, but rather accepting that some inconvenience is the price of safety. + +### From Trust to Verification + +Normal social and professional relationships operate on trust and good faith. Resistance operations must assume that trust can be compromised, either through infiltration or coercion, and build verification mechanisms into all critical processes. + +### From Reactive to Proactive + +Most people respond to security threats after they become apparent. Resistance operations must anticipate threats and implement countermeasures before they're needed, because by the time a threat is obvious, it may be too late to respond effectively. + +### From Individual to Collective + +Personal security practices focus on protecting yourself. Resistance security must consider how your actions affect the safety of others in your network, and how their actions affect your safety. + +## Common Misconceptions + +### "Encryption Solves Everything" + +While encryption is essential, it only protects the content of communications, not the metadata that reveals who is talking to whom, when, and from where. Metadata analysis can reveal network structures and operational patterns even when all communications are encrypted. + +### "If You Have Nothing to Hide..." + +This argument fundamentally misunderstands the nature of authoritarian surveillance. The goal is not just to find evidence of wrongdoing, but to map networks, predict behavior, and suppress dissent before it becomes effective. + +### "They're Too Powerful to Resist" + +While authoritarian regimes have significant advantages, they also have limitations and vulnerabilities. Understanding both their capabilities and their constraints is essential for developing effective resistance strategies. + +### "Perfect Security is Possible" + +No security system is perfect, and pursuing perfect security often leads to systems so complex and restrictive that they cannot be used effectively. The goal is appropriate security for your specific threat environment and operational requirements. + +## Integration with Subsequent Parts + +The principles and methodologies covered in Part I provide the foundation for all subsequent technical and operational guidance: + +- **Part II** applies these principles to design secure communication systems +- **Part III** translates them into practical operational security procedures +- **Part IV** extends them to advanced scenarios and specialized threats + +Each technical recommendation and operational procedure in later parts derives from the fundamental principles established here. Understanding these foundations is essential for adapting the manual's guidance to your specific circumstances and for making sound security decisions when facing novel situations. + +## Study Approach + +### For Individual Study + +1. **Read each section completely** before moving to the next +2. **Take notes** on how principles apply to your specific situation +3. **Work through examples** using scenarios relevant to your operations +4. **Review regularly** as these concepts must become second nature + +### For Group Study + +1. **Discuss each principle** and its implications for your organization +2. **Develop case studies** based on your operational environment +3. **Practice threat modeling** for actual or hypothetical operations +4. **Create reference materials** summarizing key concepts for quick review + +### For Training Others + +1. **Use concrete examples** rather than abstract concepts +2. **Connect principles to practical consequences** of security failures +3. **Encourage questions** and discussion of edge cases +4. **Provide opportunities to practice** threat assessment skills + +
+
Foundation First
+

Do not skip Part I to get to "more practical" technical content. The principles covered here determine whether technical measures will be effective or merely provide a false sense of security. Every security failure can be traced back to a violation of these fundamental principles.

+
+ +--- + +**Ready to begin?** Start with [Chapter 1: Core Security Principles →](/chapters/chapter-1/) + diff --git a/_parts/part-2.md b/_parts/part-2.md new file mode 100644 index 0000000..663c90d --- /dev/null +++ b/_parts/part-2.md @@ -0,0 +1,258 @@ +--- +layout: default +title: "Part II: Secure Communication Systems" +description: "Multi-layer communication architectures and secure messaging systems for resistance operations" +prev_page: + title: "Chapter 2: Threat Assessment" + url: "/chapters/chapter-2/" +next_page: + title: "Chapter 3: Communication Architecture" + url: "/chapters/chapter-3/" +--- + +# Part II: Secure Communication Systems + +## Overview + +Part II addresses the critical challenge of maintaining secure communications within resistance networks operating under advanced surveillance. This part provides comprehensive guidance for implementing multi-layer communication architectures that balance security requirements with operational effectiveness. + +Communication security is the backbone of resistance operations. Without secure communications, resistance networks cannot coordinate activities, share intelligence, or maintain operational security. However, communication also represents the greatest vulnerability, as every communication creates metadata that can be analyzed to reveal network structures, operational patterns, and individual behaviors. + +## Learning Objectives + +Upon completing Part II, you will be able to: + +- Design and implement multi-layer communication architectures appropriate to your threat environment +- Configure and operate secure messaging systems including Session, Element/Matrix, Briar, and Signal +- Establish secure file sharing and collaboration systems using CryptPad, OnionShare, and encrypted cloud storage +- Implement communication protocols that minimize metadata exposure and maximize operational security +- Develop contingency communication plans for various compromise and failure scenarios + +## The Communication Security Challenge + +### The Metadata Problem + +Modern surveillance systems focus less on communication content (which can be encrypted) and more on communication metadata (which reveals patterns even when content is protected). Every digital communication generates metadata including: + +- **Sender and recipient identities** and network addresses +- **Timing information** including send/receive timestamps +- **Location data** from device GPS and network connections +- **Communication patterns** including frequency and duration +- **Device information** including hardware and software details + +This metadata can be analyzed to: +- Map network structures and identify key participants +- Predict operational activities and timing +- Locate physical meetings and safe houses +- Identify behavioral patterns and vulnerabilities + +### The Usability-Security Tension + +Perfect communication security would require: +- No digital communications whatsoever +- Face-to-face meetings only in secure locations +- Perfect operational security from all participants +- No time-sensitive coordination requirements + +Perfect operational effectiveness would require: +- Instant communication between all participants +- Rich multimedia sharing and collaboration +- Real-time coordination and decision-making +- Seamless integration with existing tools and workflows + +Practical resistance communications must balance these competing requirements through carefully designed architectures that provide appropriate security for specific use cases while maintaining operational effectiveness. + +## Multi-Layer Communication Strategy + +Part II is organized around a four-layer communication architecture that provides different security levels for different operational requirements: + +### Layer 1: High-Risk Real-Time Communication +**Use Case:** Time-sensitive coordination during active operations +**Security Level:** Maximum security, minimal metadata +**Tools:** Session Messenger, Briar mesh networking +**Characteristics:** +- Onion routing and metadata protection +- Peer-to-peer architecture with no central servers +- Ephemeral messaging with automatic deletion +- Offline capability and mesh networking + +### Layer 2: Secure Collaboration Systems +**Use Case:** Planning, document sharing, and ongoing coordination +**Security Level:** High security with collaboration features +**Tools:** Element/Matrix (self-hosted), CryptPad +**Characteristics:** +- End-to-end encryption with forward secrecy +- Self-hosted infrastructure under resistance control +- Rich collaboration features including file sharing +- Persistent storage with secure access controls + +### Layer 3: Failsafe and Offline Methods +**Use Case:** Emergency communications and backup channels +**Security Level:** Maximum reliability and availability +**Tools:** OnionShare, encrypted email, physical dead drops +**Characteristics:** +- No dependence on internet infrastructure +- Asynchronous communication with time delays +- Multiple redundant channels and methods +- Resistance to network disruption and censorship + +### Layer 4: Anonymous Broadcasting +**Use Case:** Public communications and propaganda distribution +**Security Level:** Sender anonymity and censorship resistance +**Tools:** Tor hidden services, distributed publishing platforms +**Characteristics:** +- One-to-many communication model +- Strong sender anonymity protection +- Censorship resistance and availability +- Public accessibility without authentication + +## Chapter Overview + +### Chapter 3: Communication Layer Architecture (3-1 to 3-6) + +Establishes the theoretical framework and practical implementation of multi-layer communication systems: + +**3-1: Multi-Layer Communication Strategy** - Overall architecture and layer selection criteria + +**3-2: High-Risk Real-Time Communication (Layer 1)** - Maximum security for time-sensitive operations + +**3-3: Secure Collaboration Systems (Layer 2)** - Balancing security with collaboration needs + +**3-4: Failsafe and Offline Methods (Layer 3)** - Backup and emergency communication channels + +**3-5: Anonymous Broadcasting (Layer 4)** - Public communications and information distribution + +**3-6: Communication Protocol Selection** - Choosing appropriate tools and methods for specific scenarios + +### Chapter 4: Secure Messaging and Voice Communications (4-1 to 4-8) + +Provides detailed configuration and operational guidance for secure messaging systems: + +**4-1: Session Messenger Configuration** - Maximum security messaging with onion routing + +**4-2: Element/Matrix Self-Hosted Setup** - Secure collaboration platform implementation + +**4-3: Briar Peer-to-Peer Messaging** - Decentralized messaging without servers + +**4-4: Signal Security Best Practices** - Operational security for mainstream secure messaging + +**4-5: Voice Communication Security** - Secure voice calls and audio communications + +**4-6: Group Communication Management** - Security protocols for multi-participant communications + +**4-7: Message Verification and Authentication** - Ensuring message integrity and sender verification + +**4-8: Communication Scheduling and Protocols** - Operational procedures for secure communications + +### Chapter 5: File Sharing and Collaboration (5-1 to 5-6) + +Covers secure systems for document collaboration and file sharing: + +**5-1: CryptPad Secure Document Collaboration** - Real-time collaborative editing with encryption + +**5-2: OnionShare Anonymous File Transfer** - Secure file sharing over Tor network + +**5-3: Encrypted Cloud Storage (Mega/Proton)** - Secure cloud storage for resistance operations + +**5-4: Digital Dead Drops** - Asynchronous file sharing without direct contact + +**5-5: Version Control for Sensitive Documents** - Managing document versions and changes securely + +**5-6: Collaborative Security Protocols** - Operational procedures for secure collaboration + +## Implementation Approach + +### Progressive Implementation + +Part II is designed for progressive implementation, allowing resistance networks to start with basic secure communications and gradually add more sophisticated capabilities: + +**Phase 1: Basic Secure Messaging** +- Implement Signal or Session for basic communications +- Establish basic operational security procedures +- Train participants in secure communication practices + +**Phase 2: Collaboration Infrastructure** +- Deploy self-hosted Matrix server for group communications +- Implement CryptPad for document collaboration +- Establish file sharing protocols using OnionShare + +**Phase 3: Advanced Architecture** +- Implement full multi-layer communication strategy +- Deploy Briar for high-security scenarios +- Establish emergency and backup communication channels + +**Phase 4: Operational Integration** +- Integrate communication systems with operational planning +- Implement advanced security protocols and procedures +- Establish training and support systems for network participants + +### Security Considerations + +Each communication system and protocol covered in Part II includes specific security considerations: + +**Technical Security:** +- Encryption strength and implementation quality +- Metadata protection and anonymity features +- Infrastructure security and server hardening +- Software updates and vulnerability management + +**Operational Security:** +- User authentication and access control +- Communication protocols and procedures +- Incident response and compromise recovery +- Training and security awareness + +**Strategic Security:** +- Threat model alignment and risk assessment +- Backup and redundancy planning +- Legal considerations and jurisdiction issues +- Long-term sustainability and maintenance + +
+
Communication Discipline
+

The most sophisticated communication systems are worthless without proper operational discipline. All participants must understand and consistently follow communication protocols, security procedures, and operational security practices.

+
+ +## Integration with Other Parts + +Part II builds directly on the foundational principles and threat assessment methodologies covered in Part I: + +- **Core Security Principles** guide the selection and configuration of communication systems +- **Threat Assessment** determines appropriate security levels and tool selection +- **Risk Assessment** informs decisions about acceptable trade-offs between security and usability +- **OpSec Fundamentals** provide the procedural framework for secure communication operations + +Part II also provides the foundation for the operational security procedures covered in Part III and the advanced techniques covered in Part IV. + +## Getting Started + +### For Technical Implementation + +1. **Start with threat assessment** to determine appropriate security levels +2. **Begin with basic tools** (Signal or Session) before implementing complex systems +3. **Test all systems thoroughly** in safe environments before operational use +4. **Implement gradually** with proper training and support for all participants + +### For Operational Planning + +1. **Map communication requirements** to the four-layer architecture +2. **Develop communication protocols** appropriate to your threat environment +3. **Establish training programs** for all communication tools and procedures +4. **Plan for contingencies** including system compromise and failure scenarios + +### For Network Leadership + +1. **Assess current communication practices** against security requirements +2. **Develop implementation timeline** for improved communication security +3. **Allocate resources** for infrastructure, training, and ongoing maintenance +4. **Establish governance** for communication system management and security + +
+
Implementation Priority
+

Focus first on implementing basic secure messaging (Chapter 4) before attempting to deploy complex multi-layer architectures. Solid implementation of fundamental tools is more valuable than poorly implemented advanced systems.

+
+ +--- + +**Ready to begin?** Start with [Chapter 3: Communication Layer Architecture →](/chapters/chapter-3/) + diff --git a/_site/assets/css/main.css b/_site/assets/css/main.css new file mode 100644 index 0000000..d4dd9ac --- /dev/null +++ b/_site/assets/css/main.css @@ -0,0 +1,411 @@ +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +html { + font-size: 16px; + scroll-behavior: smooth; +} + +body { + font-family: "Courier New", "Monaco", "Menlo", monospace; + font-size: 16px; + line-height: 1.6; + color: #ffffff; + background-color: #000000; + min-height: 100vh; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Arial", "Helvetica", sans-serif; + font-weight: bold; + margin-bottom: 1rem; + line-height: 1.2; +} + +h1 { + font-size: 2.5rem; + color: #00ff00; + text-align: center; + margin-bottom: 2rem; + text-transform: uppercase; + letter-spacing: 2px; +} + +h2 { + font-size: 2rem; + color: #0066ff; + border-bottom: 2px solid #0066ff; + padding-bottom: 0.5rem; + margin-top: 2rem; + margin-bottom: 1.5rem; +} + +h3 { + font-size: 1.5rem; + color: #00ff00; + margin-top: 1.5rem; + margin-bottom: 1rem; +} + +h4 { + font-size: 1.25rem; + color: #ffffff; + margin-top: 1rem; + margin-bottom: 0.75rem; +} + +p { + margin-bottom: 1rem; +} + +a { + color: #0066ff; + text-decoration: none; + transition: color 0.3s ease; +} +a:hover { + color: #00ff00; + text-decoration: underline; +} +a:visited { + color: #66a3ff; +} + +ul, ol { + margin-bottom: 1rem; + padding-left: 2rem; +} +ul li, ol li { + margin-bottom: 0.5rem; +} + +code { + background-color: #1a1a1a; + color: #00ff00; + padding: 0.2rem 0.4rem; + border-radius: 3px; + font-family: "Courier New", "Monaco", "Menlo", monospace; + font-size: 0.9rem; +} + +pre { + background-color: #1a1a1a; + color: #ffffff; + padding: 1rem; + border-radius: 5px; + overflow-x: auto; + margin-bottom: 1rem; + border-left: 4px solid #00ff00; +} +pre code { + background: none; + padding: 0; + color: inherit; +} + +table { + width: 100%; + border-collapse: collapse; + margin-bottom: 1rem; + background-color: #1a1a1a; +} +table th, table td { + padding: 0.75rem; + text-align: left; + border-bottom: 1px solid #333333; +} +table th { + background-color: #333333; + color: #00ff00; + font-weight: bold; +} +table tr:hover { + background-color: #272727; +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 0 1rem; +} + +.header { + background-color: #000000; + border-bottom: 2px solid #00ff00; + padding: 1rem 0; + position: sticky; + top: 0; + z-index: 100; +} +.header .header-content { + display: flex; + justify-content: space-between; + align-items: center; +} +.header .logo { + display: flex; + align-items: center; + font-size: 1.5rem; + font-weight: bold; + color: #00ff00; +} +.header .logo .omega { + font-size: 2rem; + margin-right: 0.5rem; +} +.header .nav-toggle { + display: none; + background: none; + border: none; + color: #ffffff; + font-size: 1.5rem; + cursor: pointer; +} + +.main-layout { + display: flex; + min-height: calc(100vh - 80px); +} + +.sidebar { + width: 300px; + background-color: #0d0d0d; + border-right: 1px solid #333333; + padding: 2rem 1rem; + overflow-y: auto; + position: sticky; + top: 80px; + height: calc(100vh - 80px); +} +.sidebar .nav-section { + margin-bottom: 2rem; +} +.sidebar .nav-section h3 { + color: #00ff00; + font-size: 1rem; + margin-bottom: 0.5rem; + text-transform: uppercase; + letter-spacing: 1px; +} +.sidebar .nav-section ul { + list-style: none; + padding: 0; +} +.sidebar .nav-section ul li { + margin-bottom: 0.25rem; +} +.sidebar .nav-section ul li a { + display: block; + padding: 0.5rem; + border-radius: 3px; + transition: background-color 0.3s ease; +} +.sidebar .nav-section ul li a:hover { + background-color: #333333; + text-decoration: none; +} +.sidebar .nav-section ul li a.active { + background-color: #0066ff; + color: #000000; +} +.sidebar .nav-section ul li ul { + margin-left: 1rem; + margin-top: 0.5rem; +} +.sidebar .nav-section ul li ul a { + font-size: 0.9rem; + color: white; +} + +.content { + flex: 1; + padding: 2rem; + max-width: calc(100% - 300px); +} +.content .content-header { + margin-bottom: 2rem; + padding-bottom: 1rem; + border-bottom: 1px solid #333333; +} +.content .content-header .manual-designation { + color: #00ff00; + font-size: 0.9rem; + text-transform: uppercase; + letter-spacing: 1px; + margin-bottom: 0.5rem; +} +.content .content-header .classification { + color: #ffaa00; + font-size: 0.8rem; + text-transform: uppercase; + font-weight: bold; +} +.content .section-nav { + display: flex; + justify-content: space-between; + margin-top: 3rem; + padding-top: 2rem; + border-top: 1px solid #333333; +} +.content .section-nav .nav-link { + display: flex; + align-items: center; + padding: 0.75rem 1.5rem; + background-color: #1a1a1a; + border: 1px solid #333333; + border-radius: 5px; + transition: all 0.3s ease; +} +.content .section-nav .nav-link:hover { + background-color: #0066ff; + color: #000000; + text-decoration: none; +} +.content .section-nav .nav-link .arrow { + font-size: 1.2rem; + margin: 0 0.5rem; +} + +.warning-box { + background-color: rgba(255, 170, 0, 0.1); + border-left: 4px solid #ffaa00; + padding: 1rem; + margin: 1rem 0; + border-radius: 0 5px 5px 0; +} +.warning-box .warning-title { + color: #ffaa00; + font-weight: bold; + margin-bottom: 0.5rem; + text-transform: uppercase; +} + +.info-box { + background-color: rgba(0, 102, 255, 0.1); + border-left: 4px solid #0066ff; + padding: 1rem; + margin: 1rem 0; + border-radius: 0 5px 5px 0; +} +.info-box .info-title { + color: #0066ff; + font-weight: bold; + margin-bottom: 0.5rem; + text-transform: uppercase; +} + +.success-box { + background-color: rgba(0, 255, 0, 0.1); + border-left: 4px solid #00ff00; + padding: 1rem; + margin: 1rem 0; + border-radius: 0 5px 5px 0; +} +.success-box .success-title { + color: #00ff00; + font-weight: bold; + margin-bottom: 0.5rem; + text-transform: uppercase; +} + +.do-dont-list { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 1rem; + margin: 1rem 0; +} +.do-dont-list .do-list, .do-dont-list .dont-list { + padding: 1rem; + border-radius: 5px; +} +.do-dont-list .do-list h4, .do-dont-list .dont-list h4 { + margin-bottom: 0.5rem; + text-transform: uppercase; +} +.do-dont-list .do-list ul, .do-dont-list .dont-list ul { + margin: 0; + padding-left: 1.5rem; +} +.do-dont-list .do-list { + background-color: rgba(0, 255, 0, 0.1); + border: 1px solid #00ff00; +} +.do-dont-list .do-list h4 { + color: #00ff00; +} +.do-dont-list .dont-list { + background-color: rgba(255, 0, 0, 0.1); + border: 1px solid #ff0000; +} +.do-dont-list .dont-list h4 { + color: #ff0000; +} + +.footer { + background-color: #333333; + padding: 2rem 0; + margin-top: 4rem; + text-align: center; + border-top: 2px solid #00ff00; +} +.footer .footer-content { + color: white; + font-size: 0.9rem; +} +.footer .footer-content .organization { + color: #00ff00; + font-weight: bold; +} + +@media (max-width: 768px) { + .header .nav-toggle { + display: block; + } + .main-layout { + flex-direction: column; + } + .sidebar { + width: 100%; + position: static; + height: auto; + display: none; + } + .sidebar.active { + display: block; + } + .content { + max-width: 100%; + padding: 1rem; + } + .do-dont-list { + grid-template-columns: 1fr; + } + h1 { + font-size: 2rem; + } + h2 { + font-size: 1.5rem; + } +} +@media print { + body { + background: white; + color: black; + } + .header, .sidebar, .footer, .section-nav { + display: none; + } + .content { + max-width: 100%; + padding: 0; + } + a { + color: black; + text-decoration: underline; + } +} + +/*# sourceMappingURL=main.css.map */ \ No newline at end of file diff --git a/_site/assets/css/main.css.map b/_site/assets/css/main.css.map new file mode 100644 index 0000000..9f3f979 --- /dev/null +++ b/_site/assets/css/main.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["main.scss"],"names":[],"mappings":"AAyBA;EACE;EACA;EACA;;;AAGF;EACE,WAhBe;EAiBf;;;AAGF;EACE,aAvBiB;EAwBjB,WAtBe;EAuBf,aAtBiB;EAuBjB,OAnCW;EAoCX,kBArCS;EAsCT;;;AAIF;EACE,aAhCoB;EAiCpB;EACA;EACA;;;AAGF;EACE;EACA,OAjDa;EAkDb;EACA;EACA;EACA;;;AAGF;EACE;EACA,OAzDY;EA0DZ;EACA;EACA;EACA;;;AAGF;EACE;EACA,OAnEa;EAoEb;EACA;;;AAGF;EACE;EACA,OA3EW;EA4EX;EACA;;;AAGF;EACE;;;AAIF;EACE,OApFY;EAqFZ;EACA;;AAEA;EACE,OA1FW;EA2FX;;AAGF;EACE;;;AAKJ;EACE;EACA;;AAEA;EACE;;;AAKJ;EACE,kBA3GQ;EA4GR,OAhHa;EAiHb;EACA;EACA,aA3GiB;EA4GjB;;;AAGF;EACE,kBApHQ;EAqHR,OA1HW;EA2HX;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;;AAKJ;EACE;EACA;EACA;EACA,kBAxIQ;;AA0IR;EACE;EACA;EACA;;AAGF;EACE,kBAlJW;EAmJX,OAtJW;EAuJX;;AAGF;EACE;;;AAKJ;EACE,WAnJU;EAoJV;EACA;;;AAGF;EACE,kBAzKS;EA0KT;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA,OAzLW;;AA2LX;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA,OAtMS;EAuMT;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE,OAlMc;EAmMd;EACA;EACA;EACA;EACA;EACA,KAvMc;EAwMd;;AAEA;EACE;;AAEA;EACE,OA9NS;EA+NT;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAEA;EACE;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE,kBAhPG;EAiPH;;AAGF;EACE,kBAvPE;EAwPF,OA3PD;;AA+PH;EACE;EACA;;AAEA;EACE;EACA;;;AAQZ;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE,OAtRS;EAuRT;EACA;EACA;EACA;;AAGF;EACE,OAzRU;EA0RV;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA,kBA5SI;EA6SJ;EACA;EACA;;AAEA;EACE,kBArTM;EAsTN,OAzTG;EA0TH;;AAGF;EACE;EACA;;;AAOR;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE,OAvUY;EAwUZ;EACA;EACA;;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE,OA1VU;EA2VV;EACA;EACA;;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE,OA1WW;EA2WX;EACA;EACA;;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;;AAEA;EACE,OA3YS;;AA+Yb;EACE;EACA;;AAEA;EACE,OAlZO;;;AAwZb;EACE,kBAxZa;EAyZb;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEA;EACE,OAtaS;EAuaT;;;AAMN;EAEI;IACE;;EAIJ;IACE;;EAGF;IACE;IACA;IACA;IACA;;EAEA;IACE;;EAIJ;IACE;IACA;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;;AAKJ;EACE;IACE;IACA;;EAGF;IACE;;EAGF;IACE;IACA;;EAGF;IACE;IACA","sourcesContent":["// Field Guide for Subversives - Main Stylesheet\n// Inspired by resist.is design with military field manual structure\n\n// Color scheme (based on resist.is)\n$bg-color: #000000;\n$text-color: #ffffff;\n$accent-green: #00ff00;\n$accent-blue: #0066ff;\n$accent-red: #ff0000;\n$border-color: #333333;\n$code-bg: #1a1a1a;\n$warning-color: #ffaa00;\n\n// Typography\n$font-family-base: 'Courier New', 'Monaco', 'Menlo', monospace;\n$font-family-heading: 'Arial', 'Helvetica', sans-serif;\n$font-size-base: 16px;\n$line-height-base: 1.6;\n\n// Layout\n$max-width: 1200px;\n$sidebar-width: 300px;\n$header-height: 80px;\n\n// Base styles\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n}\n\nhtml {\n font-size: $font-size-base;\n scroll-behavior: smooth;\n}\n\nbody {\n font-family: $font-family-base;\n font-size: $font-size-base;\n line-height: $line-height-base;\n color: $text-color;\n background-color: $bg-color;\n min-height: 100vh;\n}\n\n// Typography\nh1, h2, h3, h4, h5, h6 {\n font-family: $font-family-heading;\n font-weight: bold;\n margin-bottom: 1rem;\n line-height: 1.2;\n}\n\nh1 {\n font-size: 2.5rem;\n color: $accent-green;\n text-align: center;\n margin-bottom: 2rem;\n text-transform: uppercase;\n letter-spacing: 2px;\n}\n\nh2 {\n font-size: 2rem;\n color: $accent-blue;\n border-bottom: 2px solid $accent-blue;\n padding-bottom: 0.5rem;\n margin-top: 2rem;\n margin-bottom: 1.5rem;\n}\n\nh3 {\n font-size: 1.5rem;\n color: $accent-green;\n margin-top: 1.5rem;\n margin-bottom: 1rem;\n}\n\nh4 {\n font-size: 1.25rem;\n color: $text-color;\n margin-top: 1rem;\n margin-bottom: 0.75rem;\n}\n\np {\n margin-bottom: 1rem;\n}\n\n// Links\na {\n color: $accent-blue;\n text-decoration: none;\n transition: color 0.3s ease;\n\n &:hover {\n color: $accent-green;\n text-decoration: underline;\n }\n\n &:visited {\n color: lighten($accent-blue, 20%);\n }\n}\n\n// Lists\nul, ol {\n margin-bottom: 1rem;\n padding-left: 2rem;\n\n li {\n margin-bottom: 0.5rem;\n }\n}\n\n// Code and preformatted text\ncode {\n background-color: $code-bg;\n color: $accent-green;\n padding: 0.2rem 0.4rem;\n border-radius: 3px;\n font-family: $font-family-base;\n font-size: 0.9rem;\n}\n\npre {\n background-color: $code-bg;\n color: $text-color;\n padding: 1rem;\n border-radius: 5px;\n overflow-x: auto;\n margin-bottom: 1rem;\n border-left: 4px solid $accent-green;\n\n code {\n background: none;\n padding: 0;\n color: inherit;\n }\n}\n\n// Tables\ntable {\n width: 100%;\n border-collapse: collapse;\n margin-bottom: 1rem;\n background-color: $code-bg;\n\n th, td {\n padding: 0.75rem;\n text-align: left;\n border-bottom: 1px solid $border-color;\n }\n\n th {\n background-color: $border-color;\n color: $accent-green;\n font-weight: bold;\n }\n\n tr:hover {\n background-color: lighten($code-bg, 5%);\n }\n}\n\n// Layout components\n.container {\n max-width: $max-width;\n margin: 0 auto;\n padding: 0 1rem;\n}\n\n.header {\n background-color: $bg-color;\n border-bottom: 2px solid $accent-green;\n padding: 1rem 0;\n position: sticky;\n top: 0;\n z-index: 100;\n\n .header-content {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .logo {\n display: flex;\n align-items: center;\n font-size: 1.5rem;\n font-weight: bold;\n color: $accent-green;\n\n .omega {\n font-size: 2rem;\n margin-right: 0.5rem;\n }\n }\n\n .nav-toggle {\n display: none;\n background: none;\n border: none;\n color: $text-color;\n font-size: 1.5rem;\n cursor: pointer;\n }\n}\n\n.main-layout {\n display: flex;\n min-height: calc(100vh - #{$header-height});\n}\n\n.sidebar {\n width: $sidebar-width;\n background-color: lighten($bg-color, 5%);\n border-right: 1px solid $border-color;\n padding: 2rem 1rem;\n overflow-y: auto;\n position: sticky;\n top: $header-height;\n height: calc(100vh - #{$header-height});\n\n .nav-section {\n margin-bottom: 2rem;\n\n h3 {\n color: $accent-green;\n font-size: 1rem;\n margin-bottom: 0.5rem;\n text-transform: uppercase;\n letter-spacing: 1px;\n }\n\n ul {\n list-style: none;\n padding: 0;\n\n li {\n margin-bottom: 0.25rem;\n\n a {\n display: block;\n padding: 0.5rem;\n border-radius: 3px;\n transition: background-color 0.3s ease;\n\n &:hover {\n background-color: $border-color;\n text-decoration: none;\n }\n\n &.active {\n background-color: $accent-blue;\n color: $bg-color;\n }\n }\n\n ul {\n margin-left: 1rem;\n margin-top: 0.5rem;\n\n a {\n font-size: 0.9rem;\n color: lighten($text-color, 20%);\n }\n }\n }\n }\n }\n}\n\n.content {\n flex: 1;\n padding: 2rem;\n max-width: calc(100% - #{$sidebar-width});\n\n .content-header {\n margin-bottom: 2rem;\n padding-bottom: 1rem;\n border-bottom: 1px solid $border-color;\n\n .manual-designation {\n color: $accent-green;\n font-size: 0.9rem;\n text-transform: uppercase;\n letter-spacing: 1px;\n margin-bottom: 0.5rem;\n }\n\n .classification {\n color: $warning-color;\n font-size: 0.8rem;\n text-transform: uppercase;\n font-weight: bold;\n }\n }\n\n .section-nav {\n display: flex;\n justify-content: space-between;\n margin-top: 3rem;\n padding-top: 2rem;\n border-top: 1px solid $border-color;\n\n .nav-link {\n display: flex;\n align-items: center;\n padding: 0.75rem 1.5rem;\n background-color: $code-bg;\n border: 1px solid $border-color;\n border-radius: 5px;\n transition: all 0.3s ease;\n\n &:hover {\n background-color: $accent-blue;\n color: $bg-color;\n text-decoration: none;\n }\n\n .arrow {\n font-size: 1.2rem;\n margin: 0 0.5rem;\n }\n }\n }\n}\n\n// Special components\n.warning-box {\n background-color: rgba($warning-color, 0.1);\n border-left: 4px solid $warning-color;\n padding: 1rem;\n margin: 1rem 0;\n border-radius: 0 5px 5px 0;\n\n .warning-title {\n color: $warning-color;\n font-weight: bold;\n margin-bottom: 0.5rem;\n text-transform: uppercase;\n }\n}\n\n.info-box {\n background-color: rgba($accent-blue, 0.1);\n border-left: 4px solid $accent-blue;\n padding: 1rem;\n margin: 1rem 0;\n border-radius: 0 5px 5px 0;\n\n .info-title {\n color: $accent-blue;\n font-weight: bold;\n margin-bottom: 0.5rem;\n text-transform: uppercase;\n }\n}\n\n.success-box {\n background-color: rgba($accent-green, 0.1);\n border-left: 4px solid $accent-green;\n padding: 1rem;\n margin: 1rem 0;\n border-radius: 0 5px 5px 0;\n\n .success-title {\n color: $accent-green;\n font-weight: bold;\n margin-bottom: 0.5rem;\n text-transform: uppercase;\n }\n}\n\n.do-dont-list {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 1rem;\n margin: 1rem 0;\n\n .do-list, .dont-list {\n padding: 1rem;\n border-radius: 5px;\n\n h4 {\n margin-bottom: 0.5rem;\n text-transform: uppercase;\n }\n\n ul {\n margin: 0;\n padding-left: 1.5rem;\n }\n }\n\n .do-list {\n background-color: rgba($accent-green, 0.1);\n border: 1px solid $accent-green;\n\n h4 {\n color: $accent-green;\n }\n }\n\n .dont-list {\n background-color: rgba($accent-red, 0.1);\n border: 1px solid $accent-red;\n\n h4 {\n color: $accent-red;\n }\n }\n}\n\n// Footer\n.footer {\n background-color: $border-color;\n padding: 2rem 0;\n margin-top: 4rem;\n text-align: center;\n border-top: 2px solid $accent-green;\n\n .footer-content {\n color: lighten($text-color, 20%);\n font-size: 0.9rem;\n\n .organization {\n color: $accent-green;\n font-weight: bold;\n }\n }\n}\n\n// Responsive design\n@media (max-width: 768px) {\n .header {\n .nav-toggle {\n display: block;\n }\n }\n\n .main-layout {\n flex-direction: column;\n }\n\n .sidebar {\n width: 100%;\n position: static;\n height: auto;\n display: none;\n\n &.active {\n display: block;\n }\n }\n\n .content {\n max-width: 100%;\n padding: 1rem;\n }\n\n .do-dont-list {\n grid-template-columns: 1fr;\n }\n\n h1 {\n font-size: 2rem;\n }\n\n h2 {\n font-size: 1.5rem;\n }\n}\n\n// Print styles\n@media print {\n body {\n background: white;\n color: black;\n }\n\n .header, .sidebar, .footer, .section-nav {\n display: none;\n }\n\n .content {\n max-width: 100%;\n padding: 0;\n }\n\n a {\n color: black;\n text-decoration: underline;\n }\n}\n\n"],"file":"main.css"} \ No newline at end of file diff --git a/_site/assets/js/main.js b/_site/assets/js/main.js new file mode 100644 index 0000000..6504276 --- /dev/null +++ b/_site/assets/js/main.js @@ -0,0 +1,166 @@ +// Field Guide for Subversives - Main JavaScript + +document.addEventListener('DOMContentLoaded', function() { + // Mobile navigation toggle + const navToggle = document.getElementById('nav-toggle'); + const sidebar = document.getElementById('sidebar'); + + if (navToggle && sidebar) { + navToggle.addEventListener('click', function() { + sidebar.classList.toggle('active'); + }); + } + + // Smooth scrolling for anchor links + const anchorLinks = document.querySelectorAll('a[href^="#"]'); + anchorLinks.forEach(link => { + link.addEventListener('click', function(e) { + e.preventDefault(); + const target = document.querySelector(this.getAttribute('href')); + if (target) { + target.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + } + }); + }); + + // Add security warning for external links + const externalLinks = document.querySelectorAll('a[href^="http"]:not([href*="' + window.location.hostname + '"])'); + externalLinks.forEach(link => { + link.addEventListener('click', function(e) { + if (!confirm('You are about to visit an external site. Ensure you are using secure browsing practices. Continue?')) { + e.preventDefault(); + } + }); + + // Add visual indicator for external links + link.setAttribute('title', 'External link - opens in new tab'); + link.setAttribute('target', '_blank'); + link.setAttribute('rel', 'noopener noreferrer'); + }); + + // Keyboard navigation + document.addEventListener('keydown', function(e) { + // Alt + Left Arrow: Previous page + if (e.altKey && e.key === 'ArrowLeft') { + const prevLink = document.querySelector('.section-nav .nav-link:first-child'); + if (prevLink && prevLink.href) { + window.location.href = prevLink.href; + } + } + + // Alt + Right Arrow: Next page + if (e.altKey && e.key === 'ArrowRight') { + const nextLink = document.querySelector('.section-nav .nav-link:last-child'); + if (nextLink && nextLink.href) { + window.location.href = nextLink.href; + } + } + + // Escape: Close mobile menu + if (e.key === 'Escape' && sidebar && sidebar.classList.contains('active')) { + sidebar.classList.remove('active'); + } + }); + + // Print functionality + function addPrintButton() { + const contentHeader = document.querySelector('.content-header'); + if (contentHeader) { + const printButton = document.createElement('button'); + printButton.textContent = 'Print Section'; + printButton.className = 'print-button'; + printButton.style.cssText = ` + background: #333; + color: #00ff00; + border: 1px solid #00ff00; + padding: 0.5rem 1rem; + border-radius: 3px; + cursor: pointer; + font-family: inherit; + margin-top: 1rem; + `; + printButton.addEventListener('click', function() { + window.print(); + }); + contentHeader.appendChild(printButton); + } + } + + addPrintButton(); + + // Security reminder + function showSecurityReminder() { + const reminder = document.createElement('div'); + reminder.style.cssText = ` + position: fixed; + bottom: 20px; + right: 20px; + background: rgba(255, 170, 0, 0.9); + color: #000; + padding: 1rem; + border-radius: 5px; + max-width: 300px; + font-size: 0.9rem; + z-index: 1000; + display: none; + `; + reminder.innerHTML = ` + Security Reminder: Ensure you're using Tails OS or a secure browser when accessing this guide. + + `; + document.body.appendChild(reminder); + + // Show reminder after 30 seconds + setTimeout(() => { + reminder.style.display = 'block'; + }, 30000); + + // Auto-hide after 10 seconds + setTimeout(() => { + reminder.style.display = 'none'; + }, 40000); + } + + // Only show security reminder on first visit + if (!localStorage.getItem('security_reminder_shown')) { + showSecurityReminder(); + localStorage.setItem('security_reminder_shown', 'true'); + } + + // Add copy-to-clipboard functionality for code blocks + const codeBlocks = document.querySelectorAll('pre code'); + codeBlocks.forEach(block => { + const button = document.createElement('button'); + button.textContent = 'Copy'; + button.className = 'copy-button'; + button.style.cssText = ` + position: absolute; + top: 0.5rem; + right: 0.5rem; + background: #333; + color: #00ff00; + border: 1px solid #00ff00; + padding: 0.25rem 0.5rem; + border-radius: 3px; + cursor: pointer; + font-size: 0.8rem; + `; + + const pre = block.parentElement; + pre.style.position = 'relative'; + pre.appendChild(button); + + button.addEventListener('click', function() { + navigator.clipboard.writeText(block.textContent).then(() => { + button.textContent = 'Copied!'; + setTimeout(() => { + button.textContent = 'Copy'; + }, 2000); + }); + }); + }); +}); + diff --git a/_site/chapters/chapter-1/index.html b/_site/chapters/chapter-1/index.html new file mode 100644 index 0000000..4a0f5db --- /dev/null +++ b/_site/chapters/chapter-1/index.html @@ -0,0 +1,716 @@ + + + + + + Chapter 1: Core Security Principles - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
Section 1-1 to 1-5
+ +
+ +

Chapter 1: Core Security Principles

+ +

Chapter Overview

+ +

This chapter establishes the five fundamental principles that must guide all resistance security decisions. These principles, derived from decades of resistance experience and modern security research, provide the conceptual framework for evaluating threats, designing countermeasures, and making operational decisions under pressure.

+ +

Sections in this chapter:

+ + +
+ +

Section 1-1: Principle of Least Privilege

+ +

Definition

+ +

The Principle of Least Privilege states that every person, process, and system should have access only to the minimum resources necessary to perform their legitimate function. In resistance operations, this means limiting access to information, tools, and capabilities to the smallest set required for operational effectiveness.

+ +

Application in Resistance Operations

+ +

Information Access

+ + +

System Access

+ + +

Physical Access

+ + +

Implementation Guidelines

+ +
+
+

DO

+
    +
  • Regularly review and audit access permissions
  • +
  • Remove access immediately when roles change
  • +
  • Document access decisions and their justifications
  • +
  • Use role-based access control when possible
  • +
  • Implement time-limited access for temporary needs
  • +
+
+
+

DON'T

+
    +
  • Grant access "just in case" it might be needed
  • +
  • Share credentials or allow access sharing
  • +
  • Assume that trust equals need for access
  • +
  • Delay removing access when it's no longer needed
  • +
  • Grant broad access to avoid managing specific permissions
  • +
+
+
+ +

Common Violations and Consequences

+ +

Violation: Sharing operational plans with all cell members regardless of their role +Consequence: Compromise of one member leads to exposure of entire operation

+ +

Violation: Using shared accounts for multiple purposes +Consequence: Inability to track access or revoke permissions for specific individuals

+ +

Violation: Granting administrative access to avoid permission requests +Consequence: Accidental or malicious damage to critical systems

+ +
+ +

Section 1-2: Need-to-Know Basis

+ +

Definition

+ +

Need-to-Know is an information security principle that restricts access to sensitive information to only those individuals who require it to perform their duties. Unlike Least Privilege, which focuses on access controls, Need-to-Know addresses the content and scope of information sharing.

+ +

Information Classification

+ +

Operational Classifications

+ +

CRITICAL - Information whose compromise would cause immediate operational failure

+ + +

SENSITIVE - Information whose compromise would significantly impact operations

+ + +

RESTRICTED - Information whose compromise would cause limited damage

+ + +

UNCLASSIFIED - Information that can be shared without operational impact

+ + +

Information Sharing Protocols

+ +

Vertical Information Flow

+ + +

Horizontal Information Flow

+ + +

Implementation in Practice

+ +

Meeting Protocols

+
Before sharing information in any meeting:
+1. Identify who needs this specific information
+2. Determine the minimum detail level required
+3. Consider whether the information can be compartmentalized
+4. Verify that all attendees have operational need for the information
+5. Document what was shared and with whom
+
+ +

Communication Guidelines

+ + +
+
Information Discipline
+

The natural human tendency is to share information to build trust and demonstrate competence. In resistance operations, this tendency must be consciously overcome. Information discipline requires constant vigilance and may feel antisocial, but it is essential for operational security.

+
+ +
+ +

Section 1-3: Compartmentalization and Cell Structure

+ +

Definition

+ +

Compartmentalization is the practice of isolating information, people, and operations into discrete units (cells) that can function independently and have limited knowledge of other units. This structure prevents the compromise of one element from cascading through the entire organization.

+ +

Cell Structure Design

+ +

Basic Cell Characteristics

+ + +

Cell Types

+ +

Operational Cells

+ + +

Support Cells

+ + +

Communication Cells

+ + +

Leadership Cells

+ + +

Inter-Cell Communication

+ +

Communication Protocols

+ + +

Information Flow Management

+
Standard Communication Flow:
+Operational Cell → Support Cell → Leadership Cell
+
+Emergency Communication Flow:
+Any Cell → Emergency Contact → Leadership Cell
+
+Cross-Cell Coordination:
+Cell A → Leadership Cell → Cell B
+(Direct cell-to-cell communication only for specific authorized operations)
+
+ +

Security Measures

+ + +

Compromise Response

+ +

Isolation Procedures

+

When a cell is compromised:

+
    +
  1. Immediate isolation - Cut all communication with compromised cell
  2. +
  3. Damage assessment - Determine what information was exposed
  4. +
  5. Notification protocol - Alert affected cells through secure channels
  6. +
  7. Operational adjustment - Modify plans based on exposed information
  8. +
  9. Recovery planning - Develop procedures for reconstituting capabilities
  10. +
+ +

Continuity Planning

+ + +
+
Cell Discipline
+

Effective compartmentalization requires strict discipline from all participants. The temptation to share information across cell boundaries for efficiency or social reasons must be resisted. Remember: the inconvenience of compartmentalization is far less than the consequences of cascade compromise.

+
+ +
+ +

Section 1-4: Zero Trust Verification

+ +

Definition

+ +

Zero Trust is a security model that assumes no user, device, or communication can be trusted by default, even if they are inside the organization’s network or have been previously verified. Every access request must be authenticated, authorized, and continuously validated.

+ +

Core Zero Trust Principles

+ +

Never Trust, Always Verify

+ + +

Assume Breach

+ + +

Verify Explicitly

+ + +

Implementation in Resistance Operations

+ +

Identity Verification

+
Standard Verification Process:
+1. Something you know (password, passphrase, coded response)
+2. Something you have (device, token, physical key)
+3. Something you are (biometric, behavioral pattern)
+4. Somewhere you are (location verification, network analysis)
+5. Someone you know (trusted introducer, mutual contact)
+
+ +

Communication Verification

+ + +

Device Trust

+ + +

Network Segmentation

+ + +

Continuous Verification

+ +

Behavioral Monitoring

+ + +

Regular Re-authentication

+ + +
+
Paranoia vs. Security
+

Zero Trust may seem paranoid, but it reflects the reality of operating in a hostile environment where compromise is not a matter of if, but when. The goal is not to prevent all compromise, but to limit its impact and maintain operational capability even under adverse conditions.

+
+ +
+ +

Section 1-5: Metadata Minimization

+ +

Definition

+ +

Metadata is “data about data” - information that describes the characteristics of communications and activities without revealing their content. In resistance operations, metadata analysis can reveal operational patterns, network structures, and behavioral indicators even when all content is encrypted.

+ +

Types of Metadata

+ +

Communication Metadata

+ + +

Location Metadata

+ + +

Behavioral Metadata

+ + +

Financial Metadata

+ + +

Metadata Analysis Capabilities

+ +

Pattern Recognition

+

Modern data analysis can identify:

+ + +

Predictive Analysis

+

Metadata can be used to:

+ + +

Minimization Strategies

+ +

Communication Minimization

+
+
+

DO

+
    +
  • Use different communication methods for different purposes
  • +
  • Vary timing and frequency of communications
  • +
  • Use intermediary systems to break direct connections
  • +
  • Employ time-delayed communication when possible
  • +
  • Use broadcast methods for one-to-many communication
  • +
+
+
+

DON'T

+
    +
  • Use the same communication channel for all purposes
  • +
  • Maintain regular communication schedules
  • +
  • Allow direct communication between all network members
  • +
  • Use personal devices for resistance communications
  • +
  • Ignore the metadata implications of communication choices
  • +
+
+
+ +

Location Minimization

+ + +

Temporal Minimization

+ + +

Technical Minimization

+
Technical Metadata Reduction:
+1. Use Tor or similar anonymization networks
+2. Employ VPNs with no-logging policies
+3. Use disposable email addresses and accounts
+4. Regularly change device identifiers when possible
+5. Use different devices for different operational purposes
+
+ +

Metadata-Aware Operational Planning

+ +

Communication Planning

+ + +

Activity Planning

+ + +
+
Metadata Discipline
+

Effective metadata minimization requires thinking about the digital traces of every action before taking it. This becomes second nature with practice, but initially requires conscious effort and planning. The investment in metadata discipline pays dividends in operational security and longevity.

+
+ +
+ +

Chapter Summary

+ +

The five core security principles covered in this chapter provide the foundation for all resistance security operations:

+ +
    +
  1. Least Privilege limits access to the minimum necessary for operational effectiveness
  2. +
  3. Need-to-Know restricts information sharing to operational requirements
  4. +
  5. Compartmentalization isolates operations to prevent cascade compromise
  6. +
  7. Zero Trust assumes compromise and requires continuous verification
  8. +
  9. Metadata Minimization reduces digital traces that reveal operational patterns
  10. +
+ +

These principles must be applied consistently across all aspects of resistance operations, from technical tool selection to operational planning to daily security practices. They are not merely guidelines but operational requirements for survival in a hostile environment.

+ +

Integration and Balance

+ +

While each principle is important individually, their real power comes from integrated application. Effective resistance security requires balancing these principles against operational requirements and human limitations. Perfect adherence to all principles simultaneously may be impossible, but conscious application of each principle to every security decision will dramatically improve operational security.

+ +

Next Steps

+ +

Chapter 2 builds on these foundational principles by providing systematic approaches to threat assessment and operational environment analysis. Understanding these principles is essential preparation for the practical threat modeling exercises that follow.

+ +
+ +

Next: Chapter 2: Threat Assessment and Operational Environment →

+ + + + + + +
+
+ + + + + + + + diff --git a/_site/chapters/chapter-2/index.html b/_site/chapters/chapter-2/index.html new file mode 100644 index 0000000..043d93e --- /dev/null +++ b/_site/chapters/chapter-2/index.html @@ -0,0 +1,971 @@ + + + + + + Chapter 2: Threat Assessment and Operational Environment - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
Section 2-1 to 2-4
+ +
+ +

Chapter 2: Threat Assessment and Operational Environment

+ +

Chapter Overview

+ +

This chapter provides systematic methodologies for understanding and responding to threats in resistance operations. Effective threat assessment is the foundation of all security planning, enabling resistance practitioners to allocate resources appropriately and design countermeasures that address actual rather than imagined risks.

+ +

Sections in this chapter:

+ + +
+ +

Section 2-1: Understanding Your Adversary

+ +

Definition

+ +

Adversary analysis is the systematic study of hostile forces to understand their capabilities, motivations, limitations, and likely courses of action. In resistance operations, this analysis must encompass both state and non-state actors who pose threats to operational security and participant safety.

+ +

Adversary Categories

+ +

State Security Services

+

Capabilities:

+ + +

Motivations:

+ + +

Limitations:

+ + +

Law Enforcement Agencies

+

Capabilities:

+ + +

Motivations:

+ + +

Limitations:

+ + +

Private Intelligence Contractors

+

Capabilities:

+ + +

Motivations:

+ + +

Limitations:

+ + +

Hostile Political Organizations

+

Capabilities:

+ + +

Motivations:

+ + +

Limitations:

+ + +

Capability Assessment Framework

+ +

Technical Capabilities

+
Assessment Matrix:
+1. Surveillance Infrastructure
+   - Mass data collection capabilities
+   - Real-time monitoring systems
+   - Data analysis and correlation tools
+   - International cooperation agreements
+
+2. Cyber Operations
+   - Offensive cyber capabilities
+   - Defensive monitoring systems
+   - Technical expertise and resources
+   - Legal authorities and constraints
+
+3. Human Intelligence
+   - Informant recruitment and management
+   - Infiltration capabilities
+   - Social engineering expertise
+   - Community presence and influence
+
+ +

Operational Capabilities

+ + +

Intelligence Capabilities

+ + +

Motivation Analysis

+ +

Primary Motivations

+

Understanding what drives adversary actions helps predict their behavior and identify potential vulnerabilities:

+ +

Institutional Interests:

+ + +

Individual Motivations:

+ + +

Political Factors:

+ + +

Limitation Assessment

+ +

Resource Constraints

+ + + + + +

Operational Constraints

+ + +
+
Intelligence Gathering
+

Adversary analysis requires ongoing intelligence collection through open sources, operational observation, and network reporting. This information must be systematically collected, analyzed, and updated to maintain accuracy and relevance.

+
+ +
+ +

Section 2-2: Threat Model Development

+ +

Definition

+ +

A threat model is a structured representation of potential threats to an organization, operation, or individual, including the assets being protected, potential attackers, attack vectors, and consequences of successful attacks. Threat modeling provides the analytical foundation for security planning and resource allocation.

+ +

Threat Modeling Process

+ +

Step 1: Asset Identification

+

Information Assets:

+ + +

Physical Assets:

+ + +

Operational Assets:

+ + +

Step 2: Threat Actor Identification

+

For each asset category, identify potential threat actors:

+ +
Threat Actor Analysis Template:
+Actor: [Name/Type]
+Motivation: [Why they would target this asset]
+Capability: [What they can do to compromise it]
+Opportunity: [When/how they could act]
+Impact: [Consequences of successful attack]
+Likelihood: [Probability assessment]
+
+ +

Step 3: Attack Vector Analysis

+

Technical Attack Vectors:

+ + +

Human Attack Vectors:

+ + +

Physical Attack Vectors:

+ + +

Step 4: Impact Assessment

+

Immediate Impacts:

+ + +

Long-term Impacts:

+ + +

Threat Modeling Methodologies

+ +

STRIDE Framework

+

Spoofing: Impersonating legitimate users or systems +Tampering: Modifying data or systems without authorization +Repudiation: Denying actions or transactions +Information Disclosure: Exposing sensitive information +Denial of Service: Preventing legitimate access to resources +Elevation of Privilege: Gaining unauthorized access or permissions

+ +

PASTA (Process for Attack Simulation and Threat Analysis)

+
    +
  1. Define Objectives: Establish scope and goals
  2. +
  3. Define Technical Scope: Identify systems and components
  4. +
  5. Application Decomposition: Break down into components
  6. +
  7. Threat Analysis: Identify potential threats
  8. +
  9. Weakness and Vulnerability Analysis: Find security gaps
  10. +
  11. Attack Modeling: Simulate attack scenarios
  12. +
  13. Risk and Impact Analysis: Assess consequences
  14. +
+ +

OCTAVE (Operationally Critical Threat, Asset, and Vulnerability Evaluation)

+ + +

Threat Scenario Development

+ +

Scenario Template

+
Threat Scenario: [Descriptive Name]
+
+Background:
+- Current operational context
+- Recent events and triggers
+- Adversary capabilities and motivations
+
+Attack Sequence:
+1. Initial access or opportunity
+2. Escalation and exploitation
+3. Impact and consequences
+4. Potential responses and countermeasures
+
+Indicators:
+- Early warning signs
+- Detection opportunities
+- Confirmation methods
+
+Mitigation:
+- Preventive measures
+- Response procedures
+- Recovery plans
+
+ +

Example Scenarios

+ +

Scenario 1: Communication Compromise

+ + +

Scenario 2: Infiltration Operation

+ + +

Scenario 3: Technical Surveillance

+ + +
+
Scenario Planning
+

Threat scenarios should be realistic and based on actual adversary capabilities and historical precedents. Avoid both underestimating threats (leading to inadequate security) and overestimating them (leading to paralysis and ineffective operations).

+
+ +
+ +

Section 2-3: Risk Assessment Framework

+ +

Definition

+ +

Risk assessment is the systematic evaluation of potential threats to determine their likelihood and impact, enabling informed decisions about security investments and operational procedures. Risk assessment translates threat models into actionable priorities for security planning.

+ +

Risk Calculation Methodology

+ +

Basic Risk Formula

+
Risk = Threat × Vulnerability × Impact
+
+Where:
+- Threat = Likelihood of attack occurring
+- Vulnerability = Probability of attack succeeding
+- Impact = Consequences of successful attack
+
+ +

Qualitative Risk Assessment

+

Likelihood Scale:

+ + +

Impact Scale:

+ + +

Risk Matrix:

+
Impact →    VL  L   M   H   C
+Likelihood ↓
+Very High   M   H   H   C   C
+High        L   M   H   H   C
+Medium      L   L   M   H   H
+Low         VL  L   L   M   H
+Very Low    VL  VL  L   L   M
+
+Legend: VL=Very Low, L=Low, M=Medium, H=High, C=Critical
+
+ +

Risk Assessment Process

+ +

Step 1: Threat Inventory

+

Create comprehensive list of identified threats from threat modeling process:

+ + +

Step 2: Vulnerability Assessment

+

For each threat, assess organizational vulnerabilities:

+ +

Technical Vulnerabilities:

+ + +

Procedural Vulnerabilities:

+ + +

Human Vulnerabilities:

+ + +

Step 3: Impact Analysis

+

Assess potential consequences of successful attacks:

+ +

Operational Impact:

+ + +

Security Impact:

+ + +

Strategic Impact:

+ + +

Step 4: Risk Prioritization

+

Rank risks based on calculated scores and strategic importance:

+ +

Priority Categories:

+ + +

Risk Treatment Strategies

+ +

Risk Mitigation

+

Reduce likelihood or impact through security controls:

+ + +

Risk Transfer

+

Shift risk to other parties or systems:

+ + +

Risk Acceptance

+

Consciously accept certain risks:

+ + +

Risk Avoidance

+

Eliminate risk by avoiding the activity:

+ + +
+
Risk Management
+

Effective risk management is an ongoing process that requires regular review and updates. Risk assessments should be updated whenever significant changes occur in the threat environment, organizational capabilities, or operational requirements.

+
+ +
+ +

Section 2-4: Operational Security (OpSec) Fundamentals

+ +

Definition

+ +

Operational Security (OpSec) is the process of protecting critical information and activities from adversary intelligence collection and analysis. OpSec focuses on identifying and controlling information that could be used to compromise operations, rather than just protecting classified information.

+ +

OpSec Process

+ +

Step 1: Identify Critical Information

+

Critical Information Categories:

+ + +

Critical Information Examples:

+
Personnel Information:
+- Real names and personal details
+- Communication addresses and identifiers
+- Role assignments and responsibilities
+- Skill sets and expertise areas
+- Personal vulnerabilities and pressure points
+
+Operational Information:
+- Mission objectives and success criteria
+- Operational timelines and milestones
+- Resource requirements and allocations
+- Coordination mechanisms and protocols
+- Contingency plans and alternatives
+
+Technical Information:
+- Communication methods and frequencies
+- Security procedures and protocols
+- Equipment specifications and capabilities
+- Software configurations and vulnerabilities
+- Network architecture and access points
+
+ +

Step 2: Analyze Threats

+

Apply threat modeling to identify how adversaries might collect and use critical information:

+ +

Collection Methods:

+ + +

Analysis Capabilities:

+ + +

Step 3: Analyze Vulnerabilities

+

Identify how critical information might be exposed:

+ +

Information Leakage Points:

+ + +

Vulnerability Assessment Questions:

+
For each piece of critical information:
+1. Who has access to this information?
+2. How is this information stored and transmitted?
+3. What activities might reveal this information?
+4. What patterns might indicate this information?
+5. How could an adversary collect this information?
+6. What would an adversary do with this information?
+
+ +

Step 4: Assess Risk

+

Evaluate the likelihood and impact of information compromise:

+ +

Risk Factors:

+ + +

Step 5: Apply Countermeasures

+

Implement measures to protect critical information:

+ +

Information Control Measures:

+ + +

Activity Control Measures:

+ + +

OpSec Planning

+ +

OpSec Plan Template

+
1. Mission Overview
+   - Objectives and scope
+   - Timeline and milestones
+   - Success criteria
+
+2. Critical Information List
+   - Information categories
+   - Sensitivity levels
+   - Access requirements
+
+3. Threat Assessment
+   - Adversary capabilities
+   - Collection methods
+   - Analysis capabilities
+
+4. Vulnerability Analysis
+   - Exposure points
+   - Risk factors
+   - Mitigation priorities
+
+5. Countermeasure Plan
+   - Protective measures
+   - Implementation timeline
+   - Responsibility assignments
+
+6. Monitoring and Review
+   - Effectiveness metrics
+   - Review schedule
+   - Update procedures
+
+ +

Implementation Guidelines

+ +

Training and Awareness:

+ + +

Monitoring and Enforcement:

+ + +

Integration with Operations:

+ + +
+
OpSec Discipline
+

OpSec is only as strong as its weakest link. All participants must understand and consistently apply OpSec principles. A single careless action can compromise an entire operation and endanger all participants.

+
+ +
+ +

Chapter Summary

+ +

Chapter 2 has provided the analytical framework necessary for understanding and responding to threats in resistance operations:

+ +

Section 2-1 established methodologies for analyzing adversary capabilities, motivations, and limitations across different threat actor categories.

+ +

Section 2-2 introduced systematic threat modeling approaches for identifying and analyzing potential attacks against resistance operations.

+ +

Section 2-3 provided risk assessment frameworks for prioritizing threats and allocating security resources effectively.

+ +

Section 2-4 covered operational security fundamentals for protecting critical information and activities from adversary intelligence collection.

+ +

Integration with Security Planning

+ +

The threat assessment and OpSec methodologies covered in this chapter provide the analytical foundation for all subsequent security planning and implementation. The communication systems, operational procedures, and advanced techniques covered in later parts of this manual should be selected and configured based on the threat assessment and risk analysis conducted using these frameworks.

+ +

Continuous Process

+ +

Threat assessment and OpSec are not one-time activities but ongoing processes that must be regularly updated as the operational environment changes. New threats emerge, adversary capabilities evolve, and operational requirements shift, requiring continuous monitoring and adaptation of security measures.

+ +
+ +

Next: Part II: Secure Communication Systems →

+ + + + + + +
+
+ + + + + + + + diff --git a/_site/chapters/chapter-3/index.html b/_site/chapters/chapter-3/index.html new file mode 100644 index 0000000..6f11471 --- /dev/null +++ b/_site/chapters/chapter-3/index.html @@ -0,0 +1,1243 @@ + + + + + + Chapter 3: Communication Layer Architecture - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
Section 3-1 to 3-6
+ +
+ +

Chapter 3: Communication Layer Architecture

+ +

Chapter Overview

+ +

This chapter establishes the multi-layer communication architecture that forms the backbone of secure resistance communications. Rather than relying on a single communication method, effective resistance networks employ multiple complementary systems, each optimized for specific security requirements and operational scenarios.

+ +

Sections in this chapter:

+ + +
+ +

Section 3-1: Multi-Layer Communication Strategy

+ +

Architectural Principles

+ +

The multi-layer communication architecture is based on several key principles derived from both historical resistance experience and modern security research:

+ +

Defense in Depth

+

No single communication system can address all security requirements and operational scenarios. Multiple layers provide redundancy and ensure that compromise of one system does not eliminate all communication capabilities.

+ +

Appropriate Security

+

Different communications require different security levels. Using maximum security for all communications is both unnecessary and operationally ineffective, while using insufficient security for critical communications is dangerous.

+ +

Operational Effectiveness

+

Communication systems must support actual operational requirements. Systems that are too complex, slow, or unreliable will be abandoned in favor of less secure but more usable alternatives.

+ +

Metadata Minimization

+

Each layer employs different strategies for minimizing metadata exposure, from onion routing to time delays to broadcast methods that eliminate recipient identification.

+ +

Layer Selection Criteria

+ +

Security Requirements

+
Security Level Assessment:
+1. Content Sensitivity
+   - Public information (low security)
+   - Internal coordination (medium security)
+   - Operational details (high security)
+   - Critical intelligence (maximum security)
+
+2. Participant Risk
+   - Public supporters (low risk)
+   - Active participants (medium risk)
+   - Cell leaders (high risk)
+   - Key operatives (maximum risk)
+
+3. Adversary Capabilities
+   - Local law enforcement (basic capabilities)
+   - Federal agencies (advanced capabilities)
+   - Intelligence services (sophisticated capabilities)
+   - Authoritarian regimes (comprehensive capabilities)
+
+ +

Operational Requirements

+ + +

Resource Constraints

+ + +

Layer Architecture Overview

+ +

Layer 1: High-Risk Real-Time Communication

+

Primary Tools: Session Messenger, Briar +Security Features:

+ + +

Use Cases:

+ + +

Layer 2: Secure Collaboration Systems

+

Primary Tools: Element/Matrix (self-hosted), CryptPad +Security Features:

+ + +

Use Cases:

+ + +

Layer 3: Failsafe and Offline Methods

+

Primary Tools: OnionShare, encrypted email, physical methods +Security Features:

+ + +

Use Cases:

+ + +

Layer 4: Anonymous Broadcasting

+

Primary Tools: Tor hidden services, distributed platforms +Security Features:

+ + +

Use Cases:

+ + +

Implementation Strategy

+ +

Phased Deployment

+
Phase 1: Foundation (Weeks 1-4)
+- Implement basic secure messaging (Signal/Session)
+- Establish fundamental security procedures
+- Train core participants in basic tools
+
+Phase 2: Collaboration (Weeks 5-8)
+- Deploy self-hosted Matrix server
+- Implement CryptPad for document collaboration
+- Establish group communication protocols
+
+Phase 3: Advanced Security (Weeks 9-12)
+- Implement Briar for high-risk scenarios
+- Establish OnionShare for file transfers
+- Deploy emergency communication channels
+
+Phase 4: Full Architecture (Weeks 13-16)
+- Integrate all layers into coherent system
+- Implement advanced security protocols
+- Establish training and support systems
+
+ +

Integration Planning

+ + +
+
Layer Coordination
+

The four layers are designed to work together, not in isolation. Effective implementation requires clear protocols for when to use each layer and how to coordinate between them while maintaining security.

+
+ +
+ +

Section 3-2: High-Risk Real-Time Communication (Layer 1)

+ +

Purpose and Requirements

+ +

Layer 1 provides maximum security for time-sensitive communications during high-risk operations. This layer prioritizes security and anonymity over convenience and features, making it suitable for:

+ + + +

Technical Architecture

+ +

Onion Routing

+

Layer 1 systems use onion routing (similar to Tor) to protect communication metadata:

+ +
Communication Path:
+User A → Entry Node → Middle Node → Exit Node → User B
+
+Each hop only knows:
+- Entry Node: User A's identity, Middle Node's identity
+- Middle Node: Entry Node's identity, Exit Node's identity  
+- Exit Node: Middle Node's identity, User B's identity
+
+No single node knows both sender and recipient
+
+ +

Peer-to-Peer Architecture

+ + +

Ephemeral Messaging

+ + +

Primary Tools

+ +

Session Messenger

+

Strengths:

+ + +

Configuration:

+
Security Settings:
+- Enable disappearing messages (shortest duration)
+- Disable read receipts and typing indicators
+- Use random Session ID, not linked to identity
+- Enable onion routing for all communications
+- Disable message notifications and previews
+
+ +

Operational Procedures:

+ + +

Briar Messenger

+

Strengths:

+ + +

Configuration:

+
Network Settings:
+- Enable Tor for internet connections
+- Enable Bluetooth for local mesh networking
+- Enable WiFi for local area networking
+- Disable location services and contact access
+
+ +

Operational Procedures:

+ + +

Security Protocols

+ +

Identity Management

+ + +

Communication Protocols

+
Standard Communication Protocol:
+1. Verify recipient identity through out-of-band channel
+2. Establish secure session using verified identity
+3. Communicate using coded language even in encrypted channels
+4. Confirm message receipt through separate channel if critical
+5. Delete conversation and rotate identity if compromised
+
+ +

Emergency Procedures

+ + +

Operational Considerations

+ +

Performance Limitations

+ + +

Training Requirements

+ + +

Use Case Guidelines

+
+
+

DO Use Layer 1 For:

+
    +
  • Time-sensitive operational coordination
  • +
  • Communications during active surveillance
  • +
  • High-risk participant communications
  • +
  • Emergency situations requiring maximum security
  • +
  • Coordination of sensitive operations
  • +
+
+
+

DON'T Use Layer 1 For:

+
    +
  • Routine administrative communications
  • +
  • Large file transfers or media sharing
  • +
  • Group discussions with many participants
  • +
  • Long-term document storage or collaboration
  • +
  • Public or semi-public communications
  • +
+
+
+ +
+ +

Section 3-3: Secure Collaboration Systems (Layer 2)

+ +

Purpose and Requirements

+ +

Layer 2 balances security with collaboration functionality, providing encrypted group communications, file sharing, and document collaboration while maintaining strong security protections. This layer supports:

+ + + +

Technical Architecture

+ +

Self-Hosted Infrastructure

+

Layer 2 systems use self-hosted infrastructure to maintain control over security and data:

+ +
Infrastructure Components:
+- Matrix Homeserver (Element/Synapse)
+- CryptPad Collaboration Server
+- File Storage Server (Nextcloud/ownCloud)
+- VPN Server for secure access
+- Backup and Recovery Systems
+
+ +

End-to-End Encryption

+ + +

Access Control

+ + +

Primary Tools

+ +

Element/Matrix (Self-Hosted)

+

Capabilities:

+ + +

Server Setup:

+
Synapse Server Configuration:
+- Deploy on dedicated server with full disk encryption
+- Configure behind VPN with restricted access
+- Enable end-to-end encryption for all rooms
+- Disable federation with public Matrix servers
+- Implement strong authentication and access controls
+
+ +

Client Configuration:

+
Element Security Settings:
+- Enable cross-signing for device verification
+- Verify all room participants and their devices
+- Enable secure backup for encryption keys
+- Disable read receipts and typing notifications
+- Use strong, unique passwords with 2FA
+
+ +

CryptPad Collaboration Platform

+

Capabilities:

+ + +

Server Setup:

+
CryptPad Configuration:
+- Self-host on secure server infrastructure
+- Configure with strong encryption settings
+- Disable analytics and external connections
+- Implement access controls and user limits
+- Regular security updates and monitoring
+
+ +

Usage Protocols:

+
Document Security Procedures:
+1. Create documents only on self-hosted instance
+2. Use strong passwords for document protection
+3. Share access links only through secure channels
+4. Regularly review and revoke document access
+5. Export and backup important documents securely
+
+ +

Security Protocols

+ +

Server Security

+ + +

Operational Security

+
Communication Security Procedures:
+1. Verify participant identities before adding to groups
+2. Use coded language for sensitive topics
+3. Regularly rotate encryption keys and passwords
+4. Monitor for unusual activity or access patterns
+5. Implement incident response procedures for compromise
+
+ +

Data Management

+ + +

Operational Procedures

+ +

Group Management

+
Secure Group Creation Process:
+1. Define group purpose and security requirements
+2. Identify necessary participants and their roles
+3. Create encrypted room/channel with appropriate settings
+4. Invite participants through secure out-of-band verification
+5. Establish group communication protocols and procedures
+6. Regular review of membership and access permissions
+
+ +

Document Collaboration

+ + +

File Sharing

+ + +
+
Server Compromise
+

Self-hosted infrastructure requires ongoing security maintenance and monitoring. Server compromise can expose all communications and files, making proper security hardening and incident response planning essential.

+
+ +
+ +

Section 3-4: Failsafe and Offline Methods (Layer 3)

+ +

Purpose and Requirements

+ +

Layer 3 provides backup communication channels that function independently of internet infrastructure and resist network disruption, censorship, and surveillance. This layer ensures communication capability when other systems fail and provides:

+ + + +

Technical Architecture

+ +

Asynchronous Communication

+

Layer 3 systems use store-and-forward methods that don’t require simultaneous online presence:

+ +
Asynchronous Communication Flow:
+Sender → Intermediate Storage → Recipient
+
+Benefits:
+- No real-time correlation between sender and recipient
+- Resistance to network timing analysis
+- Functionality during partial network outages
+- Time delays that complicate surveillance
+
+ +

Multiple Transport Methods

+ + +

Redundant Channels

+ + +

Primary Tools and Methods

+ +

OnionShare

+

Capabilities:

+ + +

Configuration:

+
OnionShare Security Settings:
+- Use Tor Browser for all access
+- Enable automatic shutdown after download
+- Set short expiration times for shared files
+- Use strong passwords for protected shares
+- Access only from secure, anonymous devices
+
+ +

Operational Procedures:

+
Secure File Transfer Process:
+1. Create encrypted archive of files to share
+2. Generate OnionShare link with password protection
+3. Share link and password through separate secure channels
+4. Monitor for successful download and automatic shutdown
+5. Verify receipt through separate communication channel
+
+ +

Encrypted Email Systems

+

Recommended Services:

+ + +

Security Configuration:

+
Email Security Setup:
+- Create accounts using Tor and anonymous information
+- Use strong, unique passwords with 2FA when available
+- Enable PGP encryption for all sensitive communications
+- Configure automatic message deletion
+- Access only through Tor or secure VPN
+
+ +

Physical Dead Drops

+

Digital Dead Drops:

+ + +

Physical Dead Drops:

+ + +

Security Protocols

+ +

Time Delay Security

+
Operational Time Delays:
+- Minimum 24-hour delay between message creation and pickup
+- Random additional delays to prevent pattern analysis
+- Staggered access times to avoid correlation
+- Multiple intermediate steps to break timing chains
+
+ +

Channel Separation

+ + +

Verification Procedures

+
Message Verification Process:
+1. Cryptographic signatures to verify sender authenticity
+2. Predetermined code words or phrases for verification
+3. Separate channel confirmation of message receipt
+4. Cross-reference with other intelligence sources
+5. Verification of message integrity and completeness
+
+ +

Operational Procedures

+ +

Emergency Communication Protocols

+
Emergency Communication Sequence:
+1. Attempt primary communication channels (Layers 1-2)
+2. If primary channels fail, activate Layer 3 protocols
+3. Use predetermined emergency contact methods
+4. Implement duress codes if under coercion
+5. Activate backup communication networks
+6. Establish new primary channels when possible
+
+ +

Dead Drop Management

+ + +

Long-Term Storage

+ + +
+
Resilience Planning
+

Layer 3 methods require advance planning and preparation. Emergency communication channels must be established and tested before they are needed, as crisis situations provide no time for setup and configuration.

+
+ +
+ +

Section 3-5: Anonymous Broadcasting (Layer 4)

+ +

Purpose and Requirements

+ +

Layer 4 provides one-to-many communication capabilities with strong sender anonymity and censorship resistance. This layer supports public-facing communications while protecting the identity and location of the sender:

+ + + +

Technical Architecture

+ +

Anonymity Networks

+

Layer 4 systems use anonymity networks to protect sender identity:

+ +
Tor Hidden Services Architecture:
+Publisher → Tor Network → Hidden Service → Public Access
+
+Anonymity Features:
+- Publisher identity hidden from readers
+- Publisher location hidden from network operators
+- Content hosted on distributed network
+- Censorship resistance through multiple access points
+
+ +

Content Distribution Networks

+ + +

Censorship Resistance

+ + +

Primary Tools and Platforms

+ +

Tor Hidden Services

+

Capabilities:

+ + +

Setup Procedures:

+
Hidden Service Configuration:
+1. Install and configure Tor on secure server
+2. Generate .onion address and private keys
+3. Configure web server to serve content locally
+4. Test access through Tor Browser
+5. Implement security hardening and monitoring
+
+ +

Distributed Publishing Platforms

+

IPFS (InterPlanetary File System):

+ + +

Blockchain Platforms:

+ + +

Social Media Automation

+

Multi-Platform Publishing:

+ + +

Account Management:

+
Anonymous Account Creation:
+1. Use Tor Browser for all account creation
+2. Use temporary email addresses for registration
+3. Provide minimal or false personal information
+4. Use VPN or proxy for additional protection
+5. Maintain separate identities for different purposes
+
+ +

Security Protocols

+ +

Publisher Anonymity

+ + +

Content Security

+
Content Publication Security:
+1. Remove metadata from all files before publication
+2. Use generic writing style to avoid stylometric analysis
+3. Avoid revealing specific knowledge or experiences
+4. Use stock images or create original graphics
+5. Review content for operational security implications
+
+ +

Platform Security

+ + +

Operational Procedures

+ +

Content Planning

+
Publication Planning Process:
+1. Define target audience and communication objectives
+2. Develop content calendar and publication schedule
+3. Create content following security and anonymity guidelines
+4. Review content for operational security implications
+5. Coordinate publication across multiple platforms
+6. Monitor engagement and adjust strategy as needed
+
+ +

Crisis Communication

+ + +

Audience Engagement

+ + +
+
Attribution Risk
+

Even with strong technical anonymity, writing style, content knowledge, and publication patterns can potentially identify authors. Careful attention to operational security is essential for maintaining publisher anonymity.

+
+ +
+ +

Section 3-6: Communication Protocol Selection

+ +

Decision Framework

+ +

Selecting appropriate communication protocols requires systematic evaluation of security requirements, operational needs, and available resources. This section provides frameworks for making these decisions systematically rather than ad hoc.

+ +

Security Requirements Assessment

+ +

Threat Level Analysis

+
Threat Level Matrix:
+                Low    Medium   High    Critical
+Content Risk    L1-4   L1-3     L1-2    L1 Only
+Participant     L2-4   L1-3     L1-2    L1 Only
+Timing Risk     L2-4   L1-3     L1-2    L1 Only
+Network Risk    L3-4   L2-4     L1-3    L1-2
+
+Legend: L1=Layer 1, L2=Layer 2, etc.
+
+ +

Risk Factor Evaluation

+

Content Sensitivity:

+ + +

Participant Risk Level:

+ + +

Timing Sensitivity:

+ + +

Operational Requirements Assessment

+ +

Communication Characteristics

+
Requirement Assessment:
+1. Participants
+   - One-to-one communication
+   - Small group (3-10 participants)
+   - Large group (10+ participants)
+   - Broadcast (one-to-many)
+
+2. Content Type
+   - Text messages only
+   - File sharing required
+   - Voice/video communication
+   - Collaborative editing
+
+3. Timing Requirements
+   - Real-time communication required
+   - Near real-time acceptable (minutes)
+   - Asynchronous acceptable (hours)
+   - Delayed acceptable (days)
+
+4. Reliability Requirements
+   - Mission-critical (must not fail)
+   - Important (failure causes problems)
+   - Useful (failure is inconvenient)
+   - Optional (failure is acceptable)
+
+ +

Technical Constraints

+ + +

Protocol Selection Matrix

+ +

Layer 1 Selection Criteria

+

Use Layer 1 When:

+ + +

Layer 1 Tool Selection:

+
Session Messenger:
+- Best for: Routine high-security communications
+- Strengths: Easy to use, good mobile support
+- Limitations: Requires internet connection
+
+Briar:
+- Best for: Offline and mesh networking scenarios
+- Strengths: No servers, offline capability
+- Limitations: More complex setup and usage
+
+ +

Layer 2 Selection Criteria

+

Use Layer 2 When:

+ + +

Layer 2 Tool Selection:

+
Element/Matrix:
+- Best for: Group communications and coordination
+- Strengths: Rich features, federation capability
+- Limitations: Requires server infrastructure
+
+CryptPad:
+- Best for: Document collaboration and editing
+- Strengths: Real-time collaboration, no accounts required
+- Limitations: Limited to document-based collaboration
+
+ +

Layer 3 Selection Criteria

+

Use Layer 3 When:

+ + +

Layer 4 Selection Criteria

+

Use Layer 4 When:

+ + +

Implementation Guidelines

+ +

Protocol Transition Procedures

+
Escalation Procedures:
+Normal Operations → Layer 2 (Collaboration)
+Increased Surveillance → Layer 1 (High Security)
+Network Disruption → Layer 3 (Failsafe)
+Public Communications → Layer 4 (Broadcasting)
+
+De-escalation Procedures:
+Emergency → Layer 3 → Layer 1 → Layer 2
+Crisis → Layer 1 → Layer 2 → Normal Operations
+
+ +

Multi-Layer Coordination

+ + +

Training and Adoption

+ + +
+
Protocol Evolution
+

Communication protocols must evolve as threats change, technology advances, and operational requirements shift. Regular review and updating of protocol selection criteria ensures continued effectiveness and security.

+
+ +
+ +

Chapter Summary

+ +

Chapter 3 has established the multi-layer communication architecture that provides the foundation for secure resistance communications:

+ +

Section 3-1 introduced the strategic framework and principles underlying the multi-layer approach to communication security.

+ +

Section 3-2 detailed Layer 1 systems for high-risk real-time communication with maximum security and anonymity protection.

+ +

Section 3-3 covered Layer 2 systems that balance security with collaboration functionality for ongoing operational coordination.

+ +

Section 3-4 described Layer 3 failsafe and offline methods that provide backup communication capabilities independent of internet infrastructure.

+ +

Section 3-5 explained Layer 4 anonymous broadcasting systems for public communications with sender anonymity and censorship resistance.

+ +

Section 3-6 provided systematic frameworks for selecting appropriate communication protocols based on security requirements and operational needs.

+ +

Integration and Implementation

+ +

The multi-layer architecture provides a comprehensive framework for resistance communications, but effective implementation requires:

+ + + +

Next Steps

+ +

Chapter 4 builds on this architectural foundation by providing detailed configuration and operational guidance for the secure messaging systems that form the core of Layers 1 and 2. Understanding the architectural principles covered in this chapter is essential preparation for the practical implementation guidance that follows.

+ +
+ +

Next: Chapter 4: Secure Messaging and Voice Communications →

+ + + + + + +
+
+ + + + + + + + diff --git a/_site/chapters/chapter-4/index.html b/_site/chapters/chapter-4/index.html new file mode 100644 index 0000000..1dfde01 --- /dev/null +++ b/_site/chapters/chapter-4/index.html @@ -0,0 +1,1687 @@ + + + + + + Chapter 4: Secure Messaging and Voice Communications - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
Section 4-1 to 4-8
+ +
+ +

Chapter 4: Secure Messaging and Voice Communications

+ +

Chapter Overview

+ +

This chapter provides detailed configuration and operational guidance for implementing secure messaging systems within the multi-layer communication architecture. Each messaging system covered here serves specific security requirements and operational scenarios, from maximum-security real-time coordination to secure group collaboration.

+ +

Sections in this chapter:

+ + +
+ +

Section 4-1: Session Messenger Configuration

+ +

Overview

+ +

Session Messenger provides maximum security messaging through onion routing and the Signal Protocol, making it ideal for Layer 1 high-risk communications. Session eliminates phone number requirements and metadata collection while providing strong encryption and anonymity protection.

+ +

Installation and Initial Setup

+ +

Download and Verification

+
# Download Session from official sources only
+# Desktop: https://getsession.org/download
+# Mobile: Official app stores or F-Droid
+
+# Verify download integrity (desktop)
+gpg --verify session-desktop-linux-x86_64-*.AppImage.sig
+
+ +

Initial Configuration

+
Security Settings Checklist:
+□ Disable read receipts
+□ Disable typing indicators  
+□ Enable disappearing messages (shortest duration)
+□ Disable message notifications
+□ Disable message previews
+□ Enable screen security (mobile)
+□ Disable automatic media downloads
+
+ +

Session ID Creation

+
Session ID Best Practices:
+1. Generate new Session ID for each operational role
+2. Use random Session ID, not recovery phrase
+3. Record Session ID securely for sharing with contacts
+4. Never link Session ID to real identity or other accounts
+5. Rotate Session IDs regularly (monthly or per operation)
+
+ +

Advanced Security Configuration

+ +

Network Security

+
Network Configuration:
+- Always use Tor Browser or Tor proxy for desktop access
+- Enable VPN on mobile devices before using Session
+- Disable automatic updates to prevent traffic analysis
+- Use public WiFi from locations unconnected to identity
+- Avoid using Session on home or work networks
+
+ +

Device Security

+
Device Hardening for Session:
+1. Use dedicated device not linked to real identity
+2. Enable full disk encryption
+3. Use strong device lock screen password
+4. Disable biometric authentication
+5. Install minimal additional software
+6. Regular security updates through secure channels
+
+ +

Operational Security

+
Session OpSec Procedures:
+1. Create new Session ID for each operation or role
+2. Share Session ID only through secure out-of-band channels
+3. Verify contact identity before sensitive communications
+4. Use coded language even in encrypted messages
+5. Delete conversations regularly
+6. Monitor for unusual behavior or timing
+
+ +

Contact Management

+ +

Adding Contacts Securely

+
Secure Contact Addition Process:
+1. Generate Session ID and share through secure channel
+2. Verify recipient received correct Session ID
+3. Send test message with predetermined verification phrase
+4. Confirm identity through separate communication channel
+5. Establish communication protocols and schedules
+
+ +

Contact Verification

+
Identity Verification Methods:
+- Out-of-band verification through trusted intermediary
+- Predetermined code words or phrases
+- Reference to shared experiences or knowledge
+- Voice verification through separate secure channel
+- Physical meeting for high-value contacts
+
+ +

Contact Hygiene

+ + +

Message Security

+ +

Disappearing Messages

+
Message Retention Settings:
+- Use shortest available timer (5 seconds to 1 week)
+- Adjust based on message sensitivity and operational needs
+- Ensure all participants understand and enable feature
+- Verify messages actually disappear on all devices
+- Use manual deletion for immediate removal
+
+ +

Message Content Security

+
Secure Messaging Practices:
+1. Use coded language for sensitive topics
+2. Avoid specific names, locations, or times
+3. Break complex information into multiple messages
+4. Use predetermined code words for common concepts
+5. Verify critical information through separate channels
+
+ +

Emergency Procedures

+
Emergency Response Protocols:
+1. Duress Codes: Predetermined phrases indicating compromise
+2. Burn Procedures: Rapid deletion of all Session data
+3. Emergency Contacts: Backup communication methods
+4. Fallback Protocols: Alternative communication channels
+5. Recovery Procedures: Re-establishing secure communications
+
+ +
+
Session Limitations
+

Session provides excellent security but has limitations: slower message delivery due to onion routing, limited group messaging features, and dependency on network connectivity. Plan accordingly for operational requirements.

+
+ +
+ +

Section 4-2: Element/Matrix Self-Hosted Setup

+ +

Overview

+ +

Element/Matrix provides secure group communications and collaboration features through self-hosted infrastructure, making it ideal for Layer 2 secure collaboration systems. Self-hosting ensures complete control over security and data while providing rich communication features.

+ +

Server Infrastructure Setup

+ +

Hardware Requirements

+
Minimum Server Specifications:
+- CPU: 2 cores, 2.4 GHz
+- RAM: 4 GB (8 GB recommended)
+- Storage: 50 GB SSD (100 GB+ for larger deployments)
+- Network: Reliable internet connection with static IP
+- OS: Ubuntu 20.04 LTS or Debian 11 (recommended)
+
+ +

Initial Server Hardening

+
# Update system and install security updates
+sudo apt update && sudo apt upgrade -y
+
+# Install fail2ban for intrusion prevention
+sudo apt install fail2ban ufw -y
+
+# Configure firewall
+sudo ufw default deny incoming
+sudo ufw default allow outgoing
+sudo ufw allow ssh
+sudo ufw allow 80
+sudo ufw allow 443
+sudo ufw enable
+
+# Disable root login and password authentication
+sudo sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config
+sudo sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
+sudo systemctl restart ssh
+
+ +

Synapse Installation

+
# Install Synapse Matrix server
+sudo apt install matrix-synapse -y
+
+# Generate configuration
+sudo -u matrix-synapse /usr/bin/python3 -m synapse.app.homeserver \
+    --server-name your-domain.com \
+    --config-path /etc/matrix-synapse/homeserver.yaml \
+    --generate-config \
+    --report-stats=no
+
+ +

Database Configuration

+
# Install PostgreSQL for better performance
+sudo apt install postgresql postgresql-contrib -y
+
+# Create Matrix database and user
+sudo -u postgres createuser --pwprompt synapse_user
+sudo -u postgres createdb --encoding=UTF8 --locale=C --template=template0 --owner=synapse_user synapse
+
+# Configure Synapse to use PostgreSQL
+sudo nano /etc/matrix-synapse/homeserver.yaml
+
+ +
# Database configuration in homeserver.yaml
+database:
+  name: psycopg2
+  args:
+    user: synapse_user
+    password: your_secure_password
+    database: synapse
+    host: localhost
+    cp_min: 5
+    cp_max: 10
+
+ +

Security Configuration

+ +

Encryption Settings

+
# Enable end-to-end encryption in homeserver.yaml
+encryption_enabled_by_default_for_room_type: all
+trusted_key_servers:
+  - server_name: "matrix.org"
+    verify_keys:
+      "ed25519:auto": "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
+
+# Disable federation for security
+federation_domain_whitelist: []
+
+ +

Access Control

+
# Registration and access control
+enable_registration: false
+registration_shared_secret: "your_very_long_random_string"
+allow_guest_access: false
+enable_registration_captcha: false
+
+# Rate limiting
+rc_message:
+  per_second: 0.2
+  burst_count: 10
+
+rc_registration:
+  per_second: 0.17
+  burst_count: 3
+
+ +

Privacy Settings

+
# Privacy and security settings
+enable_metrics: false
+report_stats: false
+enable_media_repo: true
+max_upload_size: 50M
+
+# Disable unnecessary features
+enable_group_creation: false
+autocreate_auto_join_rooms: false
+
+ +

Element Web Client Setup

+ +

Installation

+
# Download and install Element Web
+cd /var/www
+sudo wget https://github.com/vector-im/element-web/releases/download/v1.11.8/element-v1.11.8.tar.gz
+sudo tar -xzf element-v1.11.8.tar.gz
+sudo mv element-v1.11.8 element
+sudo chown -R www-data:www-data element
+
+ +

Configuration

+
{
+    "default_server_config": {
+        "m.homeserver": {
+            "base_url": "https://your-domain.com",
+            "server_name": "your-domain.com"
+        }
+    },
+    "disable_custom_urls": true,
+    "disable_guests": true,
+    "disable_login_language_selector": true,
+    "disable_3pid_login": true,
+    "brand": "Resistance Communications",
+    "integrations_ui_url": "",
+    "integrations_rest_url": "",
+    "bug_report_endpoint_url": "",
+    "features": {
+        "feature_pinning": "disable",
+        "feature_custom_status": "disable",
+        "feature_custom_tags": "disable"
+    }
+}
+
+ +

Operational Procedures

+ +

User Management

+
# Create admin user
+register_new_matrix_user -c /etc/matrix-synapse/homeserver.yaml http://localhost:8008
+
+# Create regular users (admin only)
+# Use Element admin interface or command line tools
+
+ +

Room Creation and Management

+
Secure Room Setup:
+1. Create private, invite-only rooms
+2. Enable end-to-end encryption for all rooms
+3. Set appropriate power levels for participants
+4. Configure message retention policies
+5. Establish room-specific communication protocols
+
+ +

Backup and Recovery

+
# Database backup script
+#!/bin/bash
+BACKUP_DIR="/backup/matrix"
+DATE=$(date +%Y%m%d_%H%M%S)
+
+# Create backup directory
+mkdir -p $BACKUP_DIR
+
+# Backup database
+sudo -u postgres pg_dump synapse > $BACKUP_DIR/synapse_$DATE.sql
+
+# Backup media files
+tar -czf $BACKUP_DIR/media_$DATE.tar.gz /var/lib/matrix-synapse/media
+
+# Encrypt backups
+gpg --cipher-algo AES256 --compress-algo 1 --s2k-mode 3 \
+    --s2k-digest-algo SHA512 --s2k-count 65536 --symmetric \
+    --output $BACKUP_DIR/synapse_$DATE.sql.gpg $BACKUP_DIR/synapse_$DATE.sql
+
+# Remove unencrypted backup
+rm $BACKUP_DIR/synapse_$DATE.sql
+
+ +
+
Server Maintenance
+

Self-hosted Matrix servers require ongoing maintenance including security updates, monitoring, backup verification, and performance optimization. Plan for dedicated technical resources or consider managed hosting with trusted providers.

+
+ +
+ +

Section 4-3: Briar Peer-to-Peer Messaging

+ +

Overview

+ +

Briar provides true peer-to-peer messaging without central servers, making it ideal for high-security scenarios and situations where internet infrastructure is unreliable or compromised. Briar supports Bluetooth, WiFi, and Tor connections for maximum flexibility.

+ +

Installation and Setup

+ +

Download and Installation

+
Official Sources:
+- F-Droid: https://f-droid.org/packages/org.briarproject.briar.android/
+- Google Play: https://play.google.com/store/apps/details?id=org.briarproject.briar.android
+- Direct APK: https://briarproject.org/download-briar/
+
+Desktop Beta:
+- Available for testing but not recommended for operational use
+- Mobile version provides full functionality
+
+ +

Initial Configuration

+
Setup Checklist:
+□ Create strong password for Briar account
+□ Enable screen lock on device
+□ Configure network settings (Tor, WiFi, Bluetooth)
+□ Disable automatic backups to cloud services
+□ Review and adjust privacy settings
+□ Test connectivity through different network types
+
+ +

Network Configuration

+
Network Settings:
+1. Tor: Enable for internet connections
+   - Provides anonymity and censorship resistance
+   - Required for remote contact connections
+   - May be slower but more secure
+
+2. WiFi: Enable for local area networking
+   - Direct device-to-device connections
+   - Faster than Tor for local communications
+   - Use only in secure environments
+
+3. Bluetooth: Enable for close-proximity messaging
+   - Works without internet or WiFi
+   - Very short range (10-30 meters)
+   - Useful for covert meetings and mesh networking
+
+ +

Contact Management

+ +

Adding Contacts

+
Contact Addition Methods:
+1. QR Code Exchange:
+   - Generate QR code in Briar
+   - Scan contact's QR code in person
+   - Most secure method for initial contact
+
+2. Briar Link Sharing:
+   - Generate Briar link for contact
+   - Share through secure out-of-band channel
+   - Verify identity after connection
+
+3. Introduction by Mutual Contact:
+   - Existing contact introduces new contact
+   - Provides verification through trusted intermediary
+   - Useful for expanding secure networks
+
+ +

Contact Verification

+
Identity Verification Process:
+1. Exchange contact information through secure channel
+2. Verify identity through predetermined questions or codes
+3. Confirm connection through separate communication method
+4. Establish communication protocols and schedules
+5. Regular re-verification for high-value contacts
+
+ +

Contact Security

+
Contact Management Security:
+- Use aliases instead of real names
+- Regularly review and clean contact lists
+- Remove contacts who are no longer active
+- Monitor for unusual behavior or timing
+- Implement contact rotation for high-risk operations
+
+ +

Messaging Security

+ +

Message Types and Features

+
Briar Message Features:
+1. Private Messages:
+   - One-to-one encrypted messaging
+   - Automatic forward secrecy
+   - Message deletion and retention controls
+
+2. Private Groups:
+   - Small group messaging (recommended <10 people)
+   - Invitation-only membership
+   - Shared group keys and forward secrecy
+
+3. Forums:
+   - Larger group discussions
+   - Topic-based organization
+   - Moderation and access controls
+
+4. Blogs:
+   - One-to-many publishing
+   - RSS-like feed functionality
+   - Comment and discussion features
+
+ +

Security Best Practices

+
Briar Security Procedures:
+1. Use coded language for sensitive topics
+2. Enable message deletion timers when available
+3. Regularly clear message history
+4. Monitor contact online status patterns
+5. Use different devices for different operational roles
+6. Implement emergency deletion procedures
+
+ +

Mesh Networking

+ +

Local Mesh Setup

+
Mesh Network Configuration:
+1. Enable WiFi and Bluetooth on all devices
+2. Ensure devices are within range (WiFi: 100m, Bluetooth: 30m)
+3. Configure Briar to use local networks
+4. Test message routing through intermediate devices
+5. Establish mesh network protocols and procedures
+
+ +

Mesh Security Considerations

+
Mesh Network Security:
+- Only enable mesh in secure, controlled environments
+- Monitor for unauthorized devices joining network
+- Use temporary mesh networks for specific operations
+- Disable mesh when not needed to reduce attack surface
+- Implement physical security for mesh network areas
+
+ +

Offline Message Storage

+
Store-and-Forward Messaging:
+- Messages stored locally when contacts offline
+- Automatic delivery when contacts come online
+- Configurable storage limits and retention
+- Encrypted storage on device
+- Manual message deletion for sensitive content
+
+ +

Operational Procedures

+ +

Communication Protocols

+
Briar Communication Protocols:
+1. Regular Check-ins:
+   - Scheduled online times for message exchange
+   - Staggered schedules to avoid pattern analysis
+   - Emergency contact procedures
+
+2. Message Handling:
+   - Immediate reading and response to urgent messages
+   - Delayed response for routine communications
+   - Message verification for critical information
+
+3. Group Management:
+   - Clear roles and responsibilities
+   - Invitation and removal procedures
+   - Conflict resolution and moderation
+
+ +

Emergency Procedures

+
Emergency Response with Briar:
+1. Emergency Contacts:
+   - Predetermined emergency contact procedures
+   - Multiple backup contacts for redundancy
+   - Emergency message formats and codes
+
+2. Compromise Response:
+   - Immediate contact removal if compromise suspected
+   - Message deletion and device sanitization
+   - Alternative contact methods activation
+
+3. Network Disruption:
+   - Mesh networking activation for local communications
+   - Store-and-forward for delayed message delivery
+   - Physical meeting coordination through Briar
+
+ +
+
Briar Advantages
+

Briar's peer-to-peer architecture provides unique advantages: no central servers to compromise, offline messaging capability, and mesh networking for local communications. These features make it invaluable for high-security scenarios and network disruption situations.

+
+ +
+ +

Section 4-4: Signal Security Best Practices

+ +

Overview

+ +

While Signal is not recommended for the highest-security resistance communications due to phone number requirements and centralized infrastructure, it remains widely used and can be secured for medium-risk communications when properly configured and used with appropriate operational security.

+ +

Secure Installation and Setup

+ +

Installation Security

+
Secure Signal Installation:
+1. Download only from official sources:
+   - iOS: Apple App Store
+   - Android: Google Play Store or Signal.org
+   - Desktop: signal.org/download
+
+2. Verify installation integrity:
+   - Check app signatures and certificates
+   - Verify download checksums when available
+   - Use clean device for installation
+
+ +

Registration Security

+
Phone Number Considerations:
+1. Use dedicated phone number not linked to real identity:
+   - Prepaid phone with cash purchase
+   - VoIP number from privacy-focused provider
+   - Temporary number for specific operations
+
+2. Registration Process:
+   - Use VPN or Tor during registration
+   - Register from location unconnected to identity
+   - Disable SMS backup and cloud sync
+
+ +

Initial Configuration

+
Signal Security Settings:
+□ Enable registration lock with strong PIN
+□ Disable read receipts
+□ Disable typing indicators
+□ Enable disappearing messages (shortest duration)
+□ Disable message notifications and previews
+□ Enable screen lock and screen security
+□ Disable automatic media downloads
+□ Turn off contact discovery
+□ Disable link previews
+
+ +

Advanced Security Configuration

+ +

Privacy Settings

+
Privacy Configuration:
+1. Profile Settings:
+   - Use pseudonym instead of real name
+   - Avoid identifying profile photos
+   - Disable profile sharing with contacts
+
+2. Contact Management:
+   - Manually add contacts instead of syncing
+   - Use contact names that don't reveal identity
+   - Regularly review and clean contact list
+
+3. Group Settings:
+   - Disable group link sharing
+   - Require admin approval for new members
+   - Use descriptive but non-identifying group names
+
+ +

Network Security

+
Network Protection:
+1. VPN Usage:
+   - Always use VPN when using Signal
+   - Choose VPN provider with no-logging policy
+   - Use different VPN servers for different operations
+
+2. Tor Integration:
+   - Use Signal through Tor proxy when possible
+   - Configure Orbot on Android for Tor routing
+   - Accept slower performance for better anonymity
+
+3. Network Monitoring:
+   - Monitor for unusual network activity
+   - Use network analysis tools to verify Tor routing
+   - Avoid using Signal on monitored networks
+
+ +

Operational Security

+ +

Communication Protocols

+
Signal OpSec Procedures:
+1. Contact Verification:
+   - Verify safety numbers for all contacts
+   - Re-verify after app updates or device changes
+   - Use out-of-band verification for critical contacts
+
+2. Message Security:
+   - Use coded language for sensitive topics
+   - Enable disappearing messages for all conversations
+   - Manually delete sensitive messages immediately
+   - Avoid sending identifying information
+
+3. Group Management:
+   - Limit group size to operational necessity
+   - Use separate groups for different purposes
+   - Regularly review group membership
+   - Remove inactive or compromised members
+
+ +

Device Security

+
Device Hardening for Signal:
+1. Physical Security:
+   - Use strong device lock screen
+   - Enable remote wipe capability
+   - Avoid leaving device unattended
+   - Use device encryption
+
+2. App Security:
+   - Keep Signal updated to latest version
+   - Enable app-specific lock if available
+   - Disable Signal in app switcher/recent apps
+   - Clear app cache regularly
+
+3. Backup Security:
+   - Disable automatic cloud backups
+   - Use local encrypted backups only if necessary
+   - Regularly delete old backup files
+   - Secure backup storage and access
+
+ +

Limitations and Risks

+ +

Signal Limitations

+
Known Signal Limitations:
+1. Metadata Collection:
+   - Phone numbers linked to accounts
+   - Message timing and frequency data
+   - Contact discovery information
+   - Server connection logs
+
+2. Centralized Infrastructure:
+   - Single point of failure and control
+   - Subject to legal demands and pressure
+   - Potential for service disruption
+   - Limited user control over security
+
+3. Phone Number Requirement:
+   - Links account to identity verification system
+   - Enables contact discovery and correlation
+   - Difficult to maintain anonymity
+   - Vulnerable to SIM swapping attacks
+
+ +

Risk Mitigation

+
Signal Risk Mitigation:
+1. Use for medium-risk communications only
+2. Combine with other communication layers
+3. Implement strong operational security
+4. Regular account rotation and cleanup
+5. Monitor for service changes and updates
+6. Prepare alternative communication methods
+
+ +
+
Signal Limitations
+

Signal's phone number requirement and centralized infrastructure make it unsuitable for high-risk resistance communications. Use Signal only for medium-risk scenarios and always in combination with more secure alternatives.

+
+ +
+ +

Section 4-5: Voice Communication Security

+ +

Overview

+ +

Voice communications present unique security challenges due to real-time requirements, voice recognition possibilities, and the difficulty of implementing strong encryption. This section covers secure voice communication methods and operational security procedures.

+ +

Secure Voice Technologies

+ +

VoIP Security

+
Secure VoIP Configuration:
+1. Signal Voice Calls:
+   - End-to-end encrypted voice calls
+   - Verify safety numbers before sensitive calls
+   - Use coded language and predetermined phrases
+   - Keep calls brief and focused
+
+2. Element/Matrix Voice:
+   - Encrypted voice calls through Matrix protocol
+   - Self-hosted infrastructure for maximum control
+   - Group voice calls with access controls
+   - Integration with text messaging
+
+3. Briar Voice (Future):
+   - Peer-to-peer voice calls without servers
+   - Currently in development
+   - Will provide maximum security when available
+
+ +

Traditional Phone Security

+
Landline and Mobile Security:
+1. Operational Phones:
+   - Use dedicated phones not linked to identity
+   - Prepaid phones purchased with cash
+   - Regular phone rotation and disposal
+   - Physical security and access controls
+
+2. Call Security:
+   - Assume all traditional calls are monitored
+   - Use only for non-sensitive communications
+   - Implement coded language and phrases
+   - Keep calls brief and infrequent
+
+3. Location Security:
+   - Disable GPS and location services
+   - Use phones only in secure locations
+   - Avoid patterns in call timing and location
+   - Physical separation from personal devices
+
+ +

Voice Operational Security

+ +

Call Planning

+
Secure Call Procedures:
+1. Pre-Call Planning:
+   - Determine necessity of voice communication
+   - Prepare coded language and key points
+   - Verify recipient identity and availability
+   - Choose secure location and timing
+
+2. Call Execution:
+   - Verify recipient identity at call start
+   - Use predetermined identification phrases
+   - Speak clearly but avoid identifying characteristics
+   - Keep calls brief and focused on essential information
+
+3. Post-Call Security:
+   - Verify information received through separate channel
+   - Document essential information securely
+   - Clear call logs and temporary data
+   - Monitor for signs of interception or compromise
+
+ +

Voice Disguise and Security

+
Voice Security Techniques:
+1. Voice Modification:
+   - Speak in different pitch or tone
+   - Use accent or speech pattern changes
+   - Employ voice changing software when possible
+   - Practice consistent voice modifications
+
+2. Language Security:
+   - Use coded language for sensitive topics
+   - Avoid names, locations, and specific details
+   - Employ predetermined phrases and responses
+   - Implement duress codes for emergency situations
+
+3. Content Security:
+   - Limit sensitive information in voice calls
+   - Use voice for coordination, text for details
+   - Verify critical information through separate channels
+   - Avoid discussing operational specifics
+
+ +

Emergency Voice Communications

+ +

Emergency Protocols

+
Emergency Voice Procedures:
+1. Emergency Identification:
+   - Predetermined emergency phrases
+   - Duress codes indicating compromise
+   - Authentication challenges and responses
+   - Emergency contact escalation procedures
+
+2. Emergency Information:
+   - Essential information only
+   - Predetermined emergency message formats
+   - Location and timing information
+   - Resource and assistance requirements
+
+3. Emergency Response:
+   - Immediate response protocols
+   - Backup communication activation
+   - Security assessment and adjustment
+   - Follow-up verification procedures
+
+ +

Backup Voice Systems

+
Backup Voice Communication:
+1. Amateur Radio:
+   - Licensed amateur radio operations
+   - Digital modes for text over radio
+   - Mesh networking and repeater systems
+   - Emergency communication networks
+
+2. Satellite Communications:
+   - Satellite phones for remote areas
+   - Satellite internet for VoIP calls
+   - Emergency satellite communication services
+   - Cost and availability considerations
+
+3. Mesh Voice Networks:
+   - Local mesh networking with voice capability
+   - Peer-to-peer voice over WiFi
+   - Offline voice communication systems
+   - Integration with existing mesh networks
+
+ +
+
Voice Communication Limits
+

Voice communications should be used sparingly in resistance operations due to security limitations. Prioritize text-based communications for most coordination, using voice only when real-time interaction is essential and cannot be achieved through other means.

+
+ +
+ +

Section 4-6: Group Communication Management

+ +

Overview

+ +

Group communications present amplified security challenges due to multiple participants, varied security practices, and increased metadata exposure. This section provides frameworks for managing group communications securely while maintaining operational effectiveness.

+ +

Group Security Architecture

+ +

Group Types and Security Levels

+
Group Classification:
+1. High-Security Cells (3-7 members):
+   - Operational planning and coordination
+   - Maximum security protocols required
+   - Layer 1 communications (Session, Briar)
+   - Strict access controls and verification
+
+2. Coordination Groups (8-15 members):
+   - Cross-cell coordination and resource sharing
+   - High security with collaboration features
+   - Layer 2 communications (Matrix/Element)
+   - Role-based access and permissions
+
+3. Support Networks (16+ members):
+   - Broader support and resource networks
+   - Medium security with usability focus
+   - Layer 2/3 communications
+   - Moderated access and content controls
+
+4. Public Communications (unlimited):
+   - Public outreach and information sharing
+   - Layer 4 broadcasting systems
+   - Anonymous participation options
+   - Open access with moderation
+
+ +

Group Formation Protocols

+
Secure Group Creation:
+1. Purpose Definition:
+   - Clear operational purpose and scope
+   - Security requirements assessment
+   - Participant role definitions
+   - Communication protocols establishment
+
+2. Member Selection:
+   - Operational necessity verification
+   - Security clearance and vetting
+   - Role-appropriate access levels
+   - Ongoing membership review
+
+3. Technical Setup:
+   - Appropriate platform selection
+   - Security configuration implementation
+   - Access controls and permissions
+   - Backup and recovery procedures
+
+4. Operational Procedures:
+   - Communication protocols and schedules
+   - Information sharing guidelines
+   - Conflict resolution procedures
+   - Emergency response protocols
+
+ +

Group Access Controls

+ +

Role-Based Permissions

+
Group Role Structure:
+1. Administrators:
+   - Full group management permissions
+   - Member addition and removal authority
+   - Security configuration control
+   - Emergency response coordination
+
+2. Moderators:
+   - Content moderation and enforcement
+   - Limited member management
+   - Protocol enforcement authority
+   - Conflict resolution responsibility
+
+3. Active Members:
+   - Full participation in group discussions
+   - File sharing and collaboration access
+   - Voice in group decisions
+   - Operational task assignments
+
+4. Observers:
+   - Read-only access to group content
+   - Limited participation in discussions
+   - No access to sensitive materials
+   - Probationary or support role status
+
+ +

Access Control Implementation

+
Technical Access Controls:
+1. Matrix/Element Groups:
+   - Power level configuration for different roles
+   - Room encryption and access controls
+   - Invitation-only membership
+   - Message retention and deletion policies
+
+2. Signal Groups:
+   - Admin approval for new members
+   - Disappearing messages for all participants
+   - Group link sharing disabled
+   - Regular membership review and cleanup
+
+3. Briar Groups:
+   - Invitation-only private groups
+   - Peer-to-peer verification required
+   - Local group management
+   - Offline capability maintenance
+
+ +

Group Communication Protocols

+ +

Information Sharing Guidelines

+
Group Information Security:
+1. Classification Levels:
+   - Public: Shareable without restriction
+   - Internal: Group members only
+   - Restricted: Specific roles only
+   - Classified: Administrators only
+
+2. Sharing Protocols:
+   - Clear marking of information sensitivity
+   - Verification of recipient authorization
+   - Secure transmission methods
+   - Access logging and monitoring
+
+3. Content Guidelines:
+   - No personal identifying information
+   - Coded language for sensitive topics
+   - Operational security considerations
+   - Legal and safety implications
+
+ +

Discussion Management

+
Group Discussion Protocols:
+1. Topic Management:
+   - Separate channels for different topics
+   - Clear topic guidelines and scope
+   - Moderation of off-topic discussions
+   - Archive and retention policies
+
+2. Participation Guidelines:
+   - Respectful and professional communication
+   - Constructive contribution requirements
+   - Conflict resolution procedures
+   - Enforcement and consequences
+
+3. Security Reminders:
+   - Regular security awareness messages
+   - Operational security reminders
+   - Protocol updates and changes
+   - Emergency procedure reviews
+
+ +

Group Compromise Response

+ +

Compromise Detection

+
Compromise Indicators:
+1. Technical Indicators:
+   - Unusual login patterns or locations
+   - Unexpected message deletions or modifications
+   - New members without proper authorization
+   - System configuration changes
+
+2. Behavioral Indicators:
+   - Unusual communication patterns
+   - Inappropriate information requests
+   - Violation of established protocols
+   - Suspicious timing or coordination
+
+3. External Indicators:
+   - Law enforcement activity
+   - Media attention or exposure
+   - Adversary knowledge of group activities
+   - Correlation with other security incidents
+
+ +

Response Procedures

+
Group Compromise Response:
+1. Immediate Actions:
+   - Suspend group communications
+   - Notify all members through backup channels
+   - Assess scope and impact of compromise
+   - Implement emergency security measures
+
+2. Investigation:
+   - Determine source and method of compromise
+   - Assess information exposed or stolen
+   - Identify affected members and operations
+   - Document lessons learned
+
+3. Recovery:
+   - Create new secure group with updated security
+   - Re-verify all member identities
+   - Implement additional security measures
+   - Resume operations with enhanced protocols
+
+4. Prevention:
+   - Update security procedures based on lessons learned
+   - Provide additional training to group members
+   - Implement monitoring and detection improvements
+   - Regular security assessments and reviews
+
+ +
+
Group Security Challenges
+

Group communications are inherently less secure than one-to-one communications due to multiple participants, varied security practices, and increased attack surface. Implement strict security protocols and regular security reviews for all group communications.

+
+ +
+ +

Section 4-7: Message Verification and Authentication

+ +

Overview

+ +

Message verification and authentication ensure that communications are genuine, unmodified, and from verified senders. This is critical in resistance operations where disinformation, impersonation, and message manipulation are common adversary tactics.

+ +

Cryptographic Verification

+ +

Digital Signatures

+
Message Signing Process:
+1. PGP/GPG Signatures:
+   - Generate PGP key pair for signing
+   - Sign all sensitive messages with private key
+   - Recipients verify with public key
+   - Maintain secure key management practices
+
+2. Signal Protocol Verification:
+   - Automatic cryptographic signatures
+   - Safety number verification between contacts
+   - Forward secrecy and message authentication
+   - Regular verification of contact keys
+
+3. Matrix/Element Verification:
+   - Cross-signing device verification
+   - Message authentication codes
+   - Key verification through multiple channels
+   - Regular key rotation and verification
+
+ +

Key Management

+
Cryptographic Key Security:
+1. Key Generation:
+   - Use secure random number generation
+   - Generate keys on secure, offline systems
+   - Use strong key lengths (RSA 4096, ECC 384)
+   - Implement proper key backup and recovery
+
+2. Key Distribution:
+   - Verify key fingerprints through out-of-band channels
+   - Use key signing parties for verification
+   - Implement web of trust for key validation
+   - Regular key rotation and update procedures
+
+3. Key Storage:
+   - Encrypt private keys with strong passphrases
+   - Store keys on secure, encrypted devices
+   - Implement key escrow for critical operations
+   - Regular backup and recovery testing
+
+ +

Authentication Protocols

+ +

Identity Verification

+
Contact Authentication Methods:
+1. Out-of-Band Verification:
+   - Phone calls to verify identity
+   - In-person meetings for key exchange
+   - Trusted intermediary introductions
+   - Physical document verification
+
+2. Challenge-Response Authentication:
+   - Predetermined questions and answers
+   - Shared secret verification
+   - Historical knowledge verification
+   - Behavioral pattern recognition
+
+3. Multi-Factor Authentication:
+   - Something you know (password/passphrase)
+   - Something you have (device/token)
+   - Something you are (biometric/behavioral)
+   - Somewhere you are (location verification)
+
+ +

Message Authentication

+
Message Verification Procedures:
+1. Content Verification:
+   - Cryptographic signature verification
+   - Message integrity checking
+   - Timestamp validation
+   - Source authentication
+
+2. Context Verification:
+   - Message content consistency
+   - Timing and sequence verification
+   - Cross-reference with other sources
+   - Operational context validation
+
+3. Behavioral Verification:
+   - Writing style and pattern analysis
+   - Communication timing patterns
+   - Operational knowledge verification
+   - Relationship context validation
+
+ +

Anti-Spoofing Measures

+ +

Impersonation Detection

+
Impersonation Prevention:
+1. Technical Measures:
+   - Strong cryptographic authentication
+   - Device fingerprinting and verification
+   - Network analysis and monitoring
+   - Automated anomaly detection
+
+2. Procedural Measures:
+   - Regular identity verification
+   - Predetermined authentication protocols
+   - Suspicious activity reporting
+   - Cross-verification through multiple channels
+
+3. Human Factors:
+   - Training in impersonation detection
+   - Awareness of social engineering tactics
+   - Verification of unusual requests
+   - Reporting of suspicious communications
+
+ +

Message Integrity Protection

+
Integrity Verification:
+1. Cryptographic Protection:
+   - Message authentication codes (MAC)
+   - Digital signatures for non-repudiation
+   - Hash verification for content integrity
+   - Timestamp verification for freshness
+
+2. Operational Protection:
+   - Message sequence numbering
+   - Duplicate message detection
+   - Replay attack prevention
+   - Message correlation and validation
+
+3. Recovery Procedures:
+   - Integrity failure response protocols
+   - Message re-transmission procedures
+   - Alternative verification methods
+   - Incident reporting and investigation
+
+ +

Verification Protocols

+ +

Routine Verification

+
Regular Verification Procedures:
+1. Daily Operations:
+   - Verify sender identity for all sensitive messages
+   - Check message signatures and authentication
+   - Cross-reference with expected communications
+   - Report anomalies and suspicious activity
+
+2. Weekly Reviews:
+   - Review all contact verifications
+   - Update authentication credentials
+   - Assess verification procedure effectiveness
+   - Train participants in verification techniques
+
+3. Monthly Audits:
+   - Comprehensive verification system review
+   - Update verification procedures and protocols
+   - Assess and address verification failures
+   - Implement improvements and enhancements
+
+ +

Emergency Verification

+
Emergency Authentication:
+1. Duress Codes:
+   - Predetermined phrases indicating compromise
+   - Subtle indicators of coercion
+   - Emergency authentication procedures
+   - Backup verification methods
+
+2. Emergency Contacts:
+   - Alternative contact methods for verification
+   - Trusted intermediaries for authentication
+   - Emergency communication protocols
+   - Rapid response verification procedures
+
+3. Crisis Response:
+   - Immediate verification of emergency communications
+   - Rapid authentication of crisis information
+   - Emergency decision-making protocols
+   - Post-crisis verification and assessment
+
+ +
+
Verification Culture
+

Effective message verification requires developing a culture where verification is routine and expected. All participants must understand the importance of verification and consistently apply verification procedures without exception.

+
+ +
+ +

Section 4-8: Communication Scheduling and Protocols

+ +

Overview

+ +

Communication scheduling and protocols provide the operational framework for secure communications, defining when, how, and under what circumstances different communication methods should be used. Proper scheduling minimizes metadata exposure while ensuring operational effectiveness.

+ +

Communication Scheduling

+ +

Timing Security

+
Temporal Security Principles:
+1. Pattern Avoidance:
+   - Avoid regular communication schedules
+   - Randomize communication timing
+   - Use predetermined time windows
+   - Implement communication blackout periods
+
+2. Time Delays:
+   - Introduce random delays between messages
+   - Use store-and-forward for non-urgent communications
+   - Implement minimum delay periods
+   - Coordinate timing across multiple participants
+
+3. Operational Timing:
+   - Align communications with operational requirements
+   - Avoid communications during high-risk periods
+   - Coordinate timing with other operational activities
+   - Plan for emergency communication needs
+
+ +

Schedule Development

+
Communication Schedule Planning:
+1. Operational Requirements:
+   - Identify communication needs and timing
+   - Assess urgency and priority levels
+   - Determine participant availability
+   - Plan for contingencies and emergencies
+
+2. Security Considerations:
+   - Assess surveillance and monitoring risks
+   - Implement timing randomization
+   - Plan for communication security measures
+   - Coordinate with other security protocols
+
+3. Resource Allocation:
+   - Assign communication responsibilities
+   - Allocate technical resources and infrastructure
+   - Plan for backup and redundancy
+   - Implement monitoring and maintenance
+
+ +

Protocol Development

+ +

Communication Protocols

+
Protocol Framework:
+1. Purpose and Scope:
+   - Define communication objectives
+   - Identify participants and roles
+   - Establish security requirements
+   - Determine success criteria
+
+2. Technical Specifications:
+   - Select appropriate communication tools
+   - Configure security settings
+   - Implement access controls
+   - Establish backup procedures
+
+3. Operational Procedures:
+   - Define communication workflows
+   - Establish authentication procedures
+   - Implement verification protocols
+   - Plan for emergency situations
+
+4. Monitoring and Review:
+   - Implement effectiveness monitoring
+   - Regular protocol review and updates
+   - Incident response and improvement
+   - Training and compliance enforcement
+
+ +

Protocol Implementation

+
Implementation Process:
+1. Planning Phase:
+   - Develop detailed implementation plan
+   - Identify required resources and training
+   - Assess risks and mitigation strategies
+   - Establish timeline and milestones
+
+2. Testing Phase:
+   - Test protocols in safe environments
+   - Verify technical functionality
+   - Train participants in procedures
+   - Identify and address issues
+
+3. Deployment Phase:
+   - Gradual rollout of new protocols
+   - Monitor implementation effectiveness
+   - Provide ongoing support and training
+   - Adjust protocols based on experience
+
+4. Maintenance Phase:
+   - Regular protocol review and updates
+   - Ongoing training and compliance monitoring
+   - Incident response and improvement
+   - Long-term effectiveness assessment
+
+ +

Emergency Communication Protocols

+ +

Emergency Procedures

+
Emergency Communication Framework:
+1. Emergency Classification:
+   - Immediate threat to personnel safety
+   - Operational compromise or exposure
+   - Communication system failure
+   - External crisis or disruption
+
+2. Emergency Response:
+   - Immediate notification procedures
+   - Emergency contact activation
+   - Backup communication system deployment
+   - Crisis coordination and management
+
+3. Emergency Recovery:
+   - Damage assessment and analysis
+   - System restoration and recovery
+   - Lessons learned and improvement
+   - Return to normal operations
+
+ +

Contingency Planning

+
Contingency Communication Plans:
+1. System Failure:
+   - Primary system backup procedures
+   - Alternative communication methods
+   - Emergency contact protocols
+   - Service restoration procedures
+
+2. Compromise Response:
+   - Immediate isolation and containment
+   - Alternative system activation
+   - Participant notification and protection
+   - Investigation and recovery
+
+3. External Disruption:
+   - Network outage response
+   - Censorship and blocking countermeasures
+   - Physical security threats
+   - Legal and regulatory challenges
+
+ +

Protocol Compliance and Enforcement

+ +

Compliance Monitoring

+
Protocol Compliance Framework:
+1. Monitoring Systems:
+   - Automated compliance checking
+   - Regular audit and review procedures
+   - Participant self-assessment
+   - Peer review and feedback
+
+2. Compliance Metrics:
+   - Protocol adherence rates
+   - Security incident frequency
+   - Communication effectiveness measures
+   - Participant satisfaction and feedback
+
+3. Improvement Process:
+   - Regular protocol review and updates
+   - Training and education programs
+   - Incentive and recognition systems
+   - Corrective action procedures
+
+ +

Enforcement Procedures

+
Protocol Enforcement:
+1. Education and Training:
+   - Initial protocol training for all participants
+   - Regular refresher training and updates
+   - Specialized training for specific roles
+   - Ongoing education and awareness
+
+2. Monitoring and Feedback:
+   - Regular compliance monitoring
+   - Constructive feedback and guidance
+   - Recognition of good practices
+   - Early intervention for issues
+
+3. Corrective Action:
+   - Progressive discipline for violations
+   - Additional training and support
+   - Temporary restriction of access
+   - Removal from communication systems
+
+4. Continuous Improvement:
+   - Regular protocol effectiveness review
+   - Participant feedback integration
+   - Best practice identification and sharing
+   - Protocol updates and enhancements
+
+ +
+
Protocol Evolution
+

Communication protocols must evolve continuously as threats change, technology advances, and operational requirements shift. Regular review and updating of protocols ensures continued effectiveness and security.

+
+ +
+ +

Chapter Summary

+ +

Chapter 4 has provided comprehensive guidance for implementing secure messaging and voice communications within the multi-layer communication architecture:

+ +

Section 4-1 covered Session Messenger configuration for maximum-security real-time communications with onion routing and metadata protection.

+ +

Section 4-2 detailed Element/Matrix self-hosted setup for secure collaboration systems with end-to-end encryption and rich features.

+ +

Section 4-3 explained Briar peer-to-peer messaging for decentralized communications without central servers.

+ +

Section 4-4 provided Signal security best practices for medium-risk communications with proper operational security.

+ +

Section 4-5 addressed voice communication security challenges and secure voice communication methods.

+ +

Section 4-6 covered group communication management with appropriate security controls and access management.

+ +

Section 4-7 detailed message verification and authentication procedures to ensure communication integrity and authenticity.

+ +

Section 4-8 established communication scheduling and protocols for operational effectiveness while maintaining security.

+ +

Implementation Priorities

+ +

For new resistance networks, implement secure messaging capabilities in this order:

+ +
    +
  1. Basic Secure Messaging: Start with Signal or Session for immediate secure communication needs
  2. +
  3. Group Collaboration: Deploy Matrix/Element for group coordination and collaboration
  4. +
  5. High-Security Communications: Implement Briar for maximum-security scenarios
  6. +
  7. Voice Communications: Add secure voice capabilities as operationally required
  8. +
  9. Advanced Protocols: Develop sophisticated communication protocols and procedures
  10. +
+ +

Integration with File Sharing

+ +

The messaging systems covered in this chapter provide the foundation for secure communications, but many resistance operations also require secure file sharing and collaboration capabilities. Chapter 5 builds on these messaging foundations to provide comprehensive file sharing and collaboration security.

+ +
+ +

Next: Chapter 5: File Sharing and Collaboration →

+ + + + + + +
+
+ + + + + + + + diff --git a/_site/chapters/chapter-5/index.html b/_site/chapters/chapter-5/index.html new file mode 100644 index 0000000..ac89eb3 --- /dev/null +++ b/_site/chapters/chapter-5/index.html @@ -0,0 +1,1443 @@ + + + + + + Chapter 5: File Sharing and Collaboration - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
Section 5-1 to 5-6
+ +
+ +

Chapter 5: File Sharing and Collaboration

+ +

Chapter Overview

+ +

This chapter provides comprehensive guidance for implementing secure file sharing and collaboration systems that support resistance operations while maintaining strong security protections. Effective collaboration requires balancing accessibility and usability with security requirements, ensuring that sensitive documents and information remain protected throughout the collaboration lifecycle.

+ +

Sections in this chapter:

+ + +
+ +

Section 5-1: CryptPad Secure Document Collaboration

+ +

Overview

+ +

CryptPad provides real-time collaborative document editing with client-side encryption, making it ideal for secure document collaboration in resistance operations. Unlike traditional cloud office suites, CryptPad encrypts all content in the browser before transmission, ensuring that even the server operators cannot access document contents.

+ +

CryptPad Architecture

+ +

Security Model

+
CryptPad Security Architecture:
+1. Client-Side Encryption:
+   - All encryption/decryption occurs in browser
+   - Server never sees unencrypted content
+   - Zero-knowledge architecture
+   - User controls all cryptographic keys
+
+2. Document Access Control:
+   - Cryptographic access control
+   - Share links contain encryption keys
+   - No server-side access management
+   - Perfect forward secrecy for documents
+
+3. Anonymous Usage:
+   - No account required for basic usage
+   - Optional accounts for additional features
+   - No personal information collection
+   - IP address protection through Tor
+
+ +

Self-Hosted Deployment

+ +
Server Requirements
+
CryptPad Server Specifications:
+- CPU: 2+ cores, 2.4 GHz minimum
+- RAM: 4 GB minimum, 8 GB recommended
+- Storage: 50 GB SSD minimum
+- Network: Reliable internet with static IP
+- OS: Ubuntu 20.04 LTS or Debian 11
+
+ +
Installation Process
+
# Install Node.js and dependencies
+curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
+sudo apt-get install -y nodejs git
+
+# Clone CryptPad repository
+git clone https://github.com/xwiki-labs/cryptpad.git
+cd cryptpad
+
+# Install dependencies
+npm install --production
+
+# Copy and configure settings
+cp config/config.example.js config/config.js
+
+ +
Security Configuration
+
// config/config.js security settings
+module.exports = {
+    httpUnsafeOrigin: 'https://your-domain.com',
+    httpSafeOrigin: 'https://your-sandbox-domain.com',
+    
+    // Disable analytics and external connections
+    logToStdout: false,
+    logLevel: 'error',
+    logFeedback: false,
+    
+    // Security headers
+    httpHeaders: {
+        "X-XSS-Protection": "1; mode=block",
+        "X-Content-Type-Options": "nosniff",
+        "Access-Control-Allow-Origin": "*"
+    },
+    
+    // Disable registration for private instances
+    disableEmbedding: true,
+    restrictRegistration: true,
+    
+    // File upload limits
+    maxUploadSize: 20 * 1024 * 1024, // 20 MB
+    
+    // Disable external services
+    adminEmail: false,
+    supportMailbox: false
+};
+
+ +

Operational Usage

+ +

Document Creation and Sharing

+
Secure Document Workflow:
+1. Document Creation:
+   - Access CryptPad through Tor Browser
+   - Create document without account registration
+   - Use strong password for document protection
+   - Configure appropriate access permissions
+
+2. Collaboration Setup:
+   - Generate secure sharing link
+   - Share link through secure communication channel
+   - Verify collaborator identity before sharing
+   - Establish collaboration protocols and guidelines
+
+3. Access Management:
+   - Use view-only links for read-only access
+   - Implement edit permissions carefully
+   - Regular review of document access
+   - Revoke access when no longer needed
+
+ +

Document Security

+
CryptPad Security Practices:
+1. Password Protection:
+   - Use strong, unique passwords for sensitive documents
+   - Share passwords through separate secure channels
+   - Regular password rotation for long-term documents
+   - Document password management procedures
+
+2. Access Control:
+   - Limit sharing to necessary participants only
+   - Use appropriate permission levels (view/edit/own)
+   - Regular review and cleanup of shared documents
+   - Monitor document access and activity
+
+3. Content Security:
+   - Avoid including identifying information
+   - Use coded language for sensitive topics
+   - Regular content review and sanitization
+   - Secure deletion of obsolete documents
+
+ +

Collaboration Protocols

+
Secure Collaboration Procedures:
+1. Document Standards:
+   - Consistent naming conventions
+   - Clear version identification
+   - Standardized formatting and structure
+   - Security classification markings
+
+2. Editing Protocols:
+   - Coordinated editing schedules
+   - Change tracking and documentation
+   - Conflict resolution procedures
+   - Review and approval processes
+
+3. Communication Integration:
+   - Coordinate document work through secure messaging
+   - Use separate channels for document discussion
+   - Verify changes through multiple channels
+   - Document decision-making processes
+
+ +

Advanced Features

+ +

Document Types and Capabilities

+
CryptPad Document Types:
+1. Rich Text Documents:
+   - Collaborative word processing
+   - Real-time editing and comments
+   - Export to various formats
+   - Version history and restoration
+
+2. Spreadsheets:
+   - Collaborative data analysis
+   - Formula and calculation support
+   - Chart and graph creation
+   - Data import and export
+
+3. Presentations:
+   - Collaborative slide creation
+   - Real-time presentation mode
+   - Media embedding and formatting
+   - Export and sharing options
+
+4. Code Editor:
+   - Collaborative code development
+   - Syntax highlighting and formatting
+   - Multiple programming language support
+   - Version control integration
+
+5. Kanban Boards:
+   - Project management and task tracking
+   - Collaborative workflow management
+   - Progress monitoring and reporting
+   - Team coordination and communication
+
+ +

Integration and Workflow

+
CryptPad Integration:
+1. Communication Integration:
+   - Link CryptPad with secure messaging
+   - Coordinate document work through Matrix/Element
+   - Use OnionShare for large file transfers
+   - Integrate with project management workflows
+
+2. Backup and Export:
+   - Regular document backup procedures
+   - Export to encrypted archives
+   - Offline document storage
+   - Recovery and restoration procedures
+
+3. Workflow Automation:
+   - Document templates and standards
+   - Automated backup and archiving
+   - Integration with other collaboration tools
+   - Workflow monitoring and optimization
+
+ +
+
CryptPad Limitations
+

While CryptPad provides excellent security for document collaboration, it has limitations: requires JavaScript enabled, limited offline functionality, and potential browser-based attacks. Use in combination with other security measures and maintain offline backups of critical documents.

+
+ +
+ +

Section 5-2: OnionShare Anonymous File Transfer

+ +

Overview

+ +

OnionShare provides anonymous file sharing over the Tor network without requiring central servers or user accounts. This makes it ideal for secure file transfers where sender anonymity is critical and traditional file sharing services pose security risks.

+ +

OnionShare Architecture

+ +

Security Model

+
OnionShare Security Features:
+1. Tor Hidden Services:
+   - Anonymous file sharing over Tor network
+   - No central servers or intermediaries
+   - Sender location and identity protection
+   - Censorship resistance and availability
+
+2. Ephemeral Sharing:
+   - Automatic shutdown after download
+   - Time-limited sharing windows
+   - One-time download capability
+   - No persistent file storage
+
+3. Access Control:
+   - Password protection for shared files
+   - Custom URLs for additional security
+   - Download monitoring and logging
+   - Automatic security measures
+
+ +

Installation and Setup

+
# Install OnionShare on Ubuntu/Debian
+sudo apt update
+sudo apt install onionshare
+
+# Install from Flatpak (alternative)
+flatpak install flathub org.onionshare.OnionShare
+
+# Verify Tor installation and configuration
+sudo apt install tor
+sudo systemctl enable tor
+sudo systemctl start tor
+
+ +

File Sharing Operations

+ +

Basic File Sharing

+
OnionShare File Sharing Process:
+1. File Preparation:
+   - Create encrypted archive of files to share
+   - Remove metadata from files
+   - Verify file integrity and content
+   - Organize files for efficient sharing
+
+2. OnionShare Configuration:
+   - Launch OnionShare application
+   - Add files or folders to share
+   - Configure security settings
+   - Generate sharing URL and password
+
+3. Secure Distribution:
+   - Share URL through secure communication channel
+   - Share password through separate secure channel
+   - Provide download instructions and verification
+   - Monitor for successful download completion
+
+4. Post-Sharing Security:
+   - Verify automatic shutdown after download
+   - Clear OnionShare logs and temporary files
+   - Confirm recipient received files successfully
+   - Document transfer for operational records
+
+ +

Advanced Sharing Options

+
OnionShare Advanced Features:
+1. Website Hosting:
+   - Host static websites anonymously
+   - Share information without file downloads
+   - Temporary website deployment
+   - Anonymous content distribution
+
+2. Receive Mode:
+   - Anonymous file upload capability
+   - Secure submission systems
+   - Whistleblower and leak platforms
+   - Anonymous feedback collection
+
+3. Chat Mode:
+   - Anonymous chat rooms
+   - Temporary communication channels
+   - Group coordination without accounts
+   - Emergency communication systems
+
+ +

Security Configuration

+ +

OnionShare Security Settings

+
Security Configuration Checklist:
+□ Enable password protection for all shares
+□ Set automatic shutdown after download
+□ Configure short expiration times
+□ Disable public mode for sensitive files
+□ Enable stealth mode for additional security
+□ Use custom titles and descriptions carefully
+□ Monitor download activity and logs
+□ Clear temporary files after sharing
+
+ +

Operational Security

+
OnionShare OpSec Procedures:
+1. File Preparation:
+   - Encrypt files before adding to OnionShare
+   - Remove all metadata and identifying information
+   - Use generic filenames and folder structures
+   - Verify file content for security implications
+
+2. Sharing Security:
+   - Generate strong passwords for file protection
+   - Use secure channels for URL and password distribution
+   - Verify recipient identity before sharing
+   - Monitor sharing activity for anomalies
+
+3. Post-Sharing Cleanup:
+   - Verify automatic shutdown and file deletion
+   - Clear OnionShare application logs
+   - Remove temporary files and caches
+   - Document successful transfer completion
+
+ +

Integration with Other Systems

+ +

Workflow Integration

+
OnionShare Integration Strategies:
+1. Communication Integration:
+   - Coordinate file sharing through secure messaging
+   - Use Matrix/Element for sharing coordination
+   - Integrate with CryptPad for document collaboration
+   - Link with project management workflows
+
+2. Backup and Archiving:
+   - Use OnionShare for secure backup distribution
+   - Anonymous archival and storage systems
+   - Emergency document distribution
+   - Disaster recovery file sharing
+
+3. Operational Integration:
+   - Intelligence sharing and distribution
+   - Resource and material distribution
+   - Training material and documentation sharing
+   - Emergency communication and coordination
+
+ +

Automation and Scripting

+
# OnionShare command-line automation
+#!/bin/bash
+
+# Prepare files for sharing
+SHARE_DIR="/tmp/secure_share"
+mkdir -p "$SHARE_DIR"
+
+# Copy and encrypt files
+cp sensitive_files/* "$SHARE_DIR/"
+gpg --cipher-algo AES256 --compress-algo 1 --s2k-mode 3 \
+    --s2k-digest-algo SHA512 --s2k-count 65536 --symmetric \
+    --output "$SHARE_DIR/encrypted_files.gpg" "$SHARE_DIR/*"
+
+# Remove unencrypted files
+rm "$SHARE_DIR"/*.txt "$SHARE_DIR"/*.pdf
+
+# Start OnionShare with security settings
+onionshare-cli --receive --public --auto-stop-timer 3600 \
+    --password "$(openssl rand -base64 32)" "$SHARE_DIR"
+
+ +
+
OnionShare Considerations
+

OnionShare requires both sender and recipient to use Tor Browser for access. Ensure all participants understand Tor usage and have secure access to Tor network. Monitor for network analysis attacks and use additional encryption for highly sensitive files.

+
+ +
+ +

Section 5-3: Encrypted Cloud Storage (Mega/Proton)

+ +

Overview

+ +

Encrypted cloud storage services provide convenient file storage and sharing with client-side encryption, making them suitable for medium-security file storage and collaboration when properly configured and used with appropriate operational security measures.

+ +

Service Selection and Evaluation

+ + +
Encrypted Cloud Storage Options:
+1. Mega:
+   - Client-side encryption with user-controlled keys
+   - 20 GB free storage, paid plans available
+   - File sharing with password protection
+   - Browser and mobile app access
+
+2. Proton Drive:
+   - Zero-access encryption architecture
+   - Integration with ProtonMail ecosystem
+   - Swiss privacy laws and jurisdiction
+   - End-to-end encrypted file sharing
+
+3. Tresorit:
+   - Business-focused encrypted storage
+   - Advanced access controls and permissions
+   - Compliance with privacy regulations
+   - Enterprise security features
+
+4. SpiderOak:
+   - Zero-knowledge architecture
+   - Cross-platform synchronization
+   - Version history and backup features
+   - Business and enterprise plans
+
+ +

Security Evaluation Criteria

+
Cloud Storage Security Assessment:
+1. Encryption Implementation:
+   - Client-side encryption with user-controlled keys
+   - Zero-knowledge architecture
+   - Strong encryption algorithms and key lengths
+   - Secure key management and storage
+
+2. Privacy and Jurisdiction:
+   - Privacy-friendly legal jurisdiction
+   - No data retention or sharing requirements
+   - Transparent privacy policies
+   - Independent security audits
+
+3. Access Controls:
+   - Strong authentication and access controls
+   - Two-factor authentication support
+   - Granular sharing permissions
+   - Activity monitoring and logging
+
+4. Operational Security:
+   - Secure account creation and management
+   - Anonymous payment options
+   - Tor and VPN compatibility
+   - Data portability and export options
+
+ +

Secure Account Setup

+ +

Anonymous Account Creation

+
Anonymous Account Setup:
+1. Network Security:
+   - Use Tor Browser for account creation
+   - Connect through VPN for additional protection
+   - Use public WiFi unconnected to identity
+   - Avoid home or work network connections
+
+2. Account Information:
+   - Use temporary email address for registration
+   - Provide minimal or false personal information
+   - Use strong, unique passwords
+   - Enable two-factor authentication
+
+3. Payment Security:
+   - Use anonymous payment methods when possible
+   - Cryptocurrency payments for anonymity
+   - Prepaid cards purchased with cash
+   - Avoid linking to personal financial accounts
+
+ +

Security Configuration

+
Cloud Storage Security Settings:
+□ Enable two-factor authentication
+□ Use strong, unique passwords
+□ Configure secure recovery options
+□ Enable login notifications and monitoring
+□ Review and configure sharing permissions
+□ Set up secure backup and recovery
+□ Configure automatic logout and session timeouts
+□ Review privacy and security settings regularly
+
+ +

File Management and Security

+ +

File Preparation

+
Secure File Preparation:
+1. Encryption:
+   - Encrypt sensitive files before upload
+   - Use strong encryption algorithms (AES-256)
+   - Implement secure key management
+   - Regular key rotation for long-term storage
+
+2. Metadata Removal:
+   - Strip metadata from all files
+   - Use generic filenames and folder structures
+   - Remove identifying information and traces
+   - Sanitize file content for security implications
+
+3. Organization:
+   - Use consistent naming conventions
+   - Implement logical folder structures
+   - Apply security classifications
+   - Document file organization and access
+
+ +

Access Control and Sharing

+
Secure Sharing Procedures:
+1. Permission Management:
+   - Use minimum necessary permissions
+   - Implement time-limited access when possible
+   - Regular review and cleanup of shared files
+   - Monitor file access and download activity
+
+2. Sharing Security:
+   - Use password protection for shared files
+   - Share access credentials through secure channels
+   - Verify recipient identity before sharing
+   - Monitor sharing activity for anomalies
+
+3. Collaboration Protocols:
+   - Establish clear collaboration guidelines
+   - Coordinate file access and editing
+   - Implement version control procedures
+   - Document collaboration activities
+
+ +

Operational Procedures

+ +

Backup and Synchronization

+
Cloud Storage Backup Strategy:
+1. Local Backups:
+   - Maintain encrypted local copies of critical files
+   - Regular backup verification and testing
+   - Secure backup storage and access controls
+   - Offline backup for maximum security
+
+2. Multi-Provider Strategy:
+   - Use multiple cloud storage providers
+   - Distribute files across different services
+   - Implement redundancy for critical files
+   - Regular synchronization and consistency checks
+
+3. Recovery Procedures:
+   - Document recovery procedures and access
+   - Test recovery procedures regularly
+   - Maintain secure access to recovery credentials
+   - Plan for provider service disruption
+
+ +

Monitoring and Maintenance

+
Cloud Storage Monitoring:
+1. Access Monitoring:
+   - Regular review of account activity logs
+   - Monitor for unauthorized access attempts
+   - Track file access and sharing activity
+   - Investigate anomalies and suspicious activity
+
+2. Security Maintenance:
+   - Regular password and credential updates
+   - Security setting review and updates
+   - Software and application updates
+   - Provider security update monitoring
+
+3. Compliance and Cleanup:
+   - Regular file review and cleanup
+   - Remove obsolete and unnecessary files
+   - Update access permissions and sharing
+   - Document retention and disposal procedures
+
+ +
+
Cloud Storage Benefits
+

Encrypted cloud storage provides convenient access and collaboration features while maintaining reasonable security for medium-sensitivity files. Use in combination with other security measures and maintain local encrypted backups of critical files.

+
+ +
+ +

Section 5-4: Digital Dead Drops

+ +

Overview

+ +

Digital dead drops provide asynchronous file sharing without direct contact between sender and recipient, using various online and offline methods to transfer files while minimizing metadata exposure and maintaining operational security.

+ +

Dead Drop Methodologies

+ +

Online Dead Drop Systems

+
Online Dead Drop Methods:
+1. Temporary File Hosting:
+   - Anonymous file upload services
+   - Time-limited file availability
+   - Password protection and encryption
+   - No registration or account requirements
+
+2. Public File Sharing:
+   - Anonymous uploads to public platforms
+   - Steganography in public images
+   - Hidden data in public documents
+   - Coded filenames and locations
+
+3. Email Dead Drops:
+   - Shared email accounts with draft messages
+   - Temporary email services
+   - Encrypted email with delayed delivery
+   - Anonymous email forwarding services
+
+4. Social Media Dead Drops:
+   - Hidden data in social media posts
+   - Steganography in public images
+   - Coded messages in public forums
+   - Anonymous file sharing through platforms
+
+ +

Offline Dead Drop Systems

+
Offline Dead Drop Methods:
+1. Physical Media:
+   - USB drives in predetermined locations
+   - SD cards hidden in public spaces
+   - Encrypted data on physical media
+   - QR codes with encrypted data
+
+2. Network Dead Drops:
+   - WiFi networks with shared files
+   - Bluetooth file sharing in public spaces
+   - Local network file sharing
+   - Mesh network file distribution
+
+3. Hybrid Systems:
+   - Combination of online and offline methods
+   - Multiple redundant channels
+   - Backup and verification systems
+   - Emergency fallback procedures
+
+ +

Implementation Procedures

+ +

Dead Drop Setup

+
Dead Drop Establishment:
+1. Location Selection:
+   - Choose publicly accessible locations
+   - Avoid surveillance and monitoring
+   - Ensure reliable access for all parties
+   - Plan for multiple backup locations
+
+2. Security Configuration:
+   - Implement strong encryption for all data
+   - Use secure authentication and verification
+   - Establish access protocols and timing
+   - Plan for compromise detection and response
+
+3. Communication Protocols:
+   - Establish signaling systems for availability
+   - Coordinate access timing and procedures
+   - Implement verification and confirmation
+   - Plan for emergency communication
+
+ +

Operational Security

+
Dead Drop OpSec Procedures:
+1. Access Security:
+   - Use different identities for different drops
+   - Vary access timing and patterns
+   - Monitor for surveillance and compromise
+   - Implement counter-surveillance measures
+
+2. Data Security:
+   - Encrypt all data before placement
+   - Use strong authentication and verification
+   - Implement data integrity checking
+   - Plan for secure data destruction
+
+3. Communication Security:
+   - Use coded language for coordination
+   - Separate channels for different purposes
+   - Verify all communications and instructions
+   - Monitor for interception and compromise
+
+ +

Technical Implementation

+ +

Steganography Techniques

+
Data Hiding Methods:
+1. Image Steganography:
+   - Hide data in image files
+   - Use steganography tools (steghide, outguess)
+   - Embed in publicly posted images
+   - Maintain image quality and appearance
+
+2. Document Steganography:
+   - Hide data in document metadata
+   - Use invisible text and formatting
+   - Embed in publicly available documents
+   - Maintain document functionality
+
+3. Audio/Video Steganography:
+   - Hide data in multimedia files
+   - Use least significant bit encoding
+   - Embed in publicly shared media
+   - Maintain media quality and playback
+
+ +

Automation and Tools

+
# Steganography automation script
+#!/bin/bash
+
+# Hide encrypted file in image
+steghide embed -cf cover_image.jpg -ef secret_file.gpg -sf output_image.jpg -p "password"
+
+# Extract hidden file from image
+steghide extract -sf output_image.jpg -xf extracted_file.gpg -p "password"
+
+# Verify file integrity
+sha256sum secret_file.gpg extracted_file.gpg
+
+ +

Dead Drop Management

+ +

Monitoring and Maintenance

+
Dead Drop Management:
+1. Regular Monitoring:
+   - Check dead drop status and availability
+   - Monitor for compromise or interference
+   - Verify data integrity and accessibility
+   - Update security measures as needed
+
+2. Maintenance Procedures:
+   - Regular cleanup and sanitization
+   - Update encryption and security measures
+   - Refresh locations and access methods
+   - Test backup and recovery procedures
+
+3. Incident Response:
+   - Detect and respond to compromise
+   - Implement emergency procedures
+   - Activate backup systems and locations
+   - Investigate and document incidents
+
+ +

Lifecycle Management

+
Dead Drop Lifecycle:
+1. Establishment:
+   - Plan and configure dead drop systems
+   - Test functionality and security
+   - Train participants in procedures
+   - Document access and protocols
+
+2. Operation:
+   - Regular use and monitoring
+   - Maintenance and security updates
+   - Incident response and recovery
+   - Performance optimization
+
+3. Retirement:
+   - Secure decommissioning procedures
+   - Data sanitization and destruction
+   - Location cleanup and restoration
+   - Documentation and lessons learned
+
+ +
+
Dead Drop Risks
+

Digital dead drops require careful planning and execution to maintain security. Physical dead drops pose additional risks including discovery, surveillance, and physical compromise. Use multiple redundant systems and maintain strict operational security.

+
+ +
+ +

Section 5-5: Version Control for Sensitive Documents

+ +

Overview

+ +

Version control systems track changes to documents over time, enabling collaboration while maintaining security and accountability. For resistance operations, version control must balance collaboration needs with security requirements, ensuring that document history and changes remain protected.

+ +

Version Control Principles

+ +

Security-First Version Control

+
Secure Version Control Requirements:
+1. Encryption:
+   - All document versions encrypted at rest
+   - Secure transmission of changes and updates
+   - Client-side encryption when possible
+   - Strong key management and protection
+
+2. Access Control:
+   - Role-based access to documents and versions
+   - Granular permissions for different operations
+   - Authentication and authorization controls
+   - Audit logging and monitoring
+
+3. Anonymity and Privacy:
+   - Anonymous or pseudonymous contributions
+   - Metadata protection and minimization
+   - Location and timing privacy
+   - Identity separation and compartmentalization
+
+4. Integrity and Authenticity:
+   - Cryptographic verification of changes
+   - Digital signatures for accountability
+   - Tamper detection and prevention
+   - Change attribution and verification
+
+ +

Version Control Models

+
Version Control Approaches:
+1. Centralized Model:
+   - Single authoritative repository
+   - Centralized access control and management
+   - Simplified coordination and synchronization
+   - Single point of failure and control
+
+2. Distributed Model:
+   - Multiple repository copies
+   - Decentralized collaboration and synchronization
+   - Resilience and redundancy
+   - Complex coordination and conflict resolution
+
+3. Hybrid Model:
+   - Combination of centralized and distributed features
+   - Flexible access and collaboration options
+   - Balanced security and usability
+   - Adaptable to different operational requirements
+
+ +

Technical Implementation

+ +

Git-Based Version Control

+
# Initialize secure Git repository
+git init --bare secure-docs.git
+cd secure-docs.git
+
+# Configure security settings
+git config core.sharedRepository group
+git config receive.denyNonFastForwards true
+git config receive.denyDeletes true
+
+# Set up encryption with git-crypt
+git-crypt init
+git-crypt add-gpg-user user@example.com
+
+# Configure .gitattributes for encryption
+echo "*.txt filter=git-crypt diff=git-crypt" >> .gitattributes
+echo "*.md filter=git-crypt diff=git-crypt" >> .gitattributes
+
+ +

Document Workflow

+
Secure Document Workflow:
+1. Document Creation:
+   - Create documents in secure environment
+   - Apply appropriate security classifications
+   - Remove metadata and identifying information
+   - Initialize version control tracking
+
+2. Collaboration:
+   - Clone repository to secure local environment
+   - Make changes using secure editing tools
+   - Commit changes with descriptive messages
+   - Push changes through secure channels
+
+3. Review and Approval:
+   - Review changes through secure communication
+   - Approve changes through established procedures
+   - Merge approved changes to main branch
+   - Document approval and decision-making
+
+4. Distribution:
+   - Export approved versions for distribution
+   - Apply final security measures and encryption
+   - Distribute through secure channels
+   - Monitor access and usage
+
+ +

Collaboration Protocols

+ +

Change Management

+
Document Change Management:
+1. Change Proposal:
+   - Identify need for document changes
+   - Propose changes through secure channels
+   - Review and approve change proposals
+   - Assign responsibility for implementation
+
+2. Change Implementation:
+   - Create feature branch for changes
+   - Implement changes following security guidelines
+   - Test and verify changes
+   - Submit changes for review and approval
+
+3. Change Review:
+   - Review changes for content and security
+   - Verify compliance with guidelines and standards
+   - Approve or request modifications
+   - Merge approved changes to main branch
+
+4. Change Documentation:
+   - Document changes and rationale
+   - Update version numbers and metadata
+   - Communicate changes to stakeholders
+   - Archive change documentation
+
+ +

Conflict Resolution

+
Document Conflict Resolution:
+1. Conflict Detection:
+   - Identify conflicting changes and versions
+   - Assess impact and implications
+   - Notify affected parties and stakeholders
+   - Initiate resolution procedures
+
+2. Conflict Analysis:
+   - Analyze conflicting changes and requirements
+   - Identify root causes and contributing factors
+   - Assess options and alternatives
+   - Develop resolution strategy
+
+3. Conflict Resolution:
+   - Implement agreed-upon resolution
+   - Update documents and version control
+   - Communicate resolution to stakeholders
+   - Document lessons learned and improvements
+
+4. Prevention:
+   - Improve coordination and communication
+   - Update procedures and guidelines
+   - Provide additional training and support
+   - Monitor for recurring issues
+
+ +

Security Considerations

+ +

Repository Security

+
Version Control Security:
+1. Repository Protection:
+   - Encrypt repository data at rest
+   - Secure transmission and access protocols
+   - Strong authentication and access controls
+   - Regular security audits and monitoring
+
+2. Access Management:
+   - Role-based access controls
+   - Principle of least privilege
+   - Regular access review and cleanup
+   - Secure credential management
+
+3. Backup and Recovery:
+   - Regular encrypted backups
+   - Secure backup storage and access
+   - Tested recovery procedures
+   - Disaster recovery planning
+
+4. Monitoring and Auditing:
+   - Access logging and monitoring
+   - Change tracking and attribution
+   - Security incident detection and response
+   - Compliance monitoring and reporting
+
+ +

Operational Security

+
Version Control OpSec:
+1. Identity Management:
+   - Use pseudonyms for version control
+   - Separate identities for different projects
+   - Avoid linking to real identities
+   - Regular identity rotation and cleanup
+
+2. Communication Security:
+   - Coordinate version control through secure channels
+   - Separate communication for different purposes
+   - Verify all communications and instructions
+   - Monitor for interception and compromise
+
+3. Device Security:
+   - Use dedicated devices for version control
+   - Secure device configuration and management
+   - Regular security updates and maintenance
+   - Secure disposal and sanitization
+
+ +
+
Version Control Benefits
+

Secure version control provides accountability, collaboration, and change tracking while maintaining security. Implement appropriate security measures and operational procedures to protect sensitive documents throughout the collaboration lifecycle.

+
+ +
+ +

Section 5-6: Collaborative Security Protocols

+ +

Overview

+ +

Collaborative security protocols provide the operational framework for secure file sharing and collaboration, defining roles, responsibilities, procedures, and security measures that ensure effective collaboration while maintaining security and operational security requirements.

+ +

Protocol Framework

+ +

Collaboration Security Model

+
Collaborative Security Framework:
+1. Roles and Responsibilities:
+   - Document owners and administrators
+   - Content contributors and editors
+   - Reviewers and approvers
+   - Security officers and monitors
+
+2. Access Controls:
+   - Role-based access permissions
+   - Document classification and handling
+   - Time-limited and conditional access
+   - Regular access review and cleanup
+
+3. Security Procedures:
+   - Document creation and classification
+   - Secure sharing and distribution
+   - Change management and approval
+   - Incident response and recovery
+
+4. Monitoring and Compliance:
+   - Activity monitoring and logging
+   - Compliance verification and auditing
+   - Security incident detection and response
+   - Continuous improvement and optimization
+
+ +

Protocol Development

+
Protocol Development Process:
+1. Requirements Analysis:
+   - Identify collaboration needs and objectives
+   - Assess security requirements and constraints
+   - Analyze stakeholder roles and responsibilities
+   - Define success criteria and metrics
+
+2. Protocol Design:
+   - Develop security architecture and controls
+   - Design operational procedures and workflows
+   - Create training and documentation materials
+   - Plan implementation and deployment
+
+3. Testing and Validation:
+   - Test protocols in safe environments
+   - Validate security and operational effectiveness
+   - Identify and address issues and gaps
+   - Refine protocols based on testing results
+
+4. Implementation and Monitoring:
+   - Deploy protocols in operational environment
+   - Monitor effectiveness and compliance
+   - Provide ongoing training and support
+   - Continuously improve and optimize
+
+ +

Document Classification and Handling

+ +

Classification System

+
Document Classification Framework:
+1. Classification Levels:
+   - Public: No restrictions on distribution
+   - Internal: Organization members only
+   - Restricted: Specific roles and need-to-know
+   - Classified: Highest security, minimal access
+
+2. Handling Requirements:
+   - Storage and transmission security
+   - Access controls and permissions
+   - Sharing and distribution procedures
+   - Retention and disposal requirements
+
+3. Marking and Labeling:
+   - Clear classification markings
+   - Handling instruction labels
+   - Distribution and access restrictions
+   - Review and declassification dates
+
+ +

Document Lifecycle Management

+
Document Lifecycle Security:
+1. Creation:
+   - Security classification assignment
+   - Initial access control configuration
+   - Metadata and content security review
+   - Version control initialization
+
+2. Collaboration:
+   - Secure sharing and access procedures
+   - Change management and approval
+   - Version control and tracking
+   - Security monitoring and compliance
+
+3. Review and Approval:
+   - Content review and verification
+   - Security assessment and clearance
+   - Approval and authorization procedures
+   - Final version preparation and distribution
+
+4. Archival and Disposal:
+   - Long-term storage and preservation
+   - Access control maintenance
+   - Secure disposal and destruction
+   - Documentation and record keeping
+
+ +

Collaboration Workflows

+ +

Secure Collaboration Process

+
Collaboration Workflow:
+1. Project Initiation:
+   - Define collaboration objectives and scope
+   - Identify participants and roles
+   - Establish security requirements and procedures
+   - Set up collaboration infrastructure and tools
+
+2. Document Development:
+   - Create initial documents and structure
+   - Assign roles and responsibilities
+   - Implement security controls and procedures
+   - Begin collaborative development process
+
+3. Review and Revision:
+   - Regular review and feedback cycles
+   - Change management and approval
+   - Version control and tracking
+   - Quality assurance and verification
+
+4. Finalization and Distribution:
+   - Final review and approval
+   - Security clearance and classification
+   - Distribution and access management
+   - Monitoring and maintenance
+
+ +

Quality Assurance

+
Collaboration Quality Assurance:
+1. Content Quality:
+   - Accuracy and completeness verification
+   - Consistency and standardization
+   - Clarity and readability assessment
+   - Technical and factual review
+
+2. Security Quality:
+   - Security classification verification
+   - Access control validation
+   - Operational security compliance
+   - Risk assessment and mitigation
+
+3. Process Quality:
+   - Procedure compliance verification
+   - Workflow efficiency assessment
+   - Participant satisfaction evaluation
+   - Continuous improvement identification
+
+ +

Training and Support

+ +

Collaboration Training

+
Training Program Components:
+1. Security Awareness:
+   - Document classification and handling
+   - Operational security procedures
+   - Threat awareness and mitigation
+   - Incident reporting and response
+
+2. Technical Training:
+   - Collaboration tool usage and configuration
+   - Security feature implementation
+   - Troubleshooting and support
+   - Best practices and optimization
+
+3. Procedural Training:
+   - Workflow and process procedures
+   - Role responsibilities and expectations
+   - Quality assurance and compliance
+   - Communication and coordination
+
+4. Ongoing Support:
+   - Regular training updates and refreshers
+   - Technical support and assistance
+   - Procedure clarification and guidance
+   - Performance feedback and improvement
+
+ +

Support Infrastructure

+
Collaboration Support System:
+1. Technical Support:
+   - Help desk and troubleshooting
+   - System administration and maintenance
+   - Security monitoring and response
+   - Performance optimization and tuning
+
+2. Procedural Support:
+   - Process guidance and clarification
+   - Workflow optimization and improvement
+   - Compliance monitoring and enforcement
+   - Training and development support
+
+3. Security Support:
+   - Security incident response and investigation
+   - Risk assessment and mitigation
+   - Security awareness and education
+   - Compliance auditing and verification
+
+ +
+
Protocol Success
+

Effective collaborative security protocols require clear roles, comprehensive procedures, ongoing training, and continuous improvement. Success depends on consistent implementation and participant commitment to security and operational excellence.

+
+ +
+ +

Chapter Summary

+ +

Chapter 5 has provided comprehensive guidance for implementing secure file sharing and collaboration systems that support resistance operations while maintaining strong security protections:

+ +

Section 5-1 covered CryptPad secure document collaboration with client-side encryption and real-time collaborative editing capabilities.

+ +

Section 5-2 detailed OnionShare anonymous file transfer over Tor network for secure, ephemeral file sharing without central servers.

+ +

Section 5-3 explained encrypted cloud storage services (Mega/Proton) for convenient file storage and sharing with appropriate security measures.

+ +

Section 5-4 described digital dead drop systems for asynchronous file sharing without direct contact between participants.

+ +

Section 5-5 covered version control systems for sensitive documents, enabling collaboration while maintaining security and accountability.

+ +

Section 5-6 established collaborative security protocols that provide the operational framework for secure file sharing and collaboration.

+ +

Implementation Strategy

+ +

For resistance networks implementing secure file sharing and collaboration:

+ +
    +
  1. Start with Basic Tools: Begin with OnionShare for immediate secure file transfer needs
  2. +
  3. Add Collaboration: Implement CryptPad for document collaboration and real-time editing
  4. +
  5. Enhance with Cloud Storage: Add encrypted cloud storage for convenient access and backup
  6. +
  7. Implement Advanced Systems: Deploy version control and dead drop systems for sophisticated operations
  8. +
  9. Establish Protocols: Develop comprehensive collaborative security protocols and procedures
  10. +
+ +

Integration with Communication Systems

+ +

The file sharing and collaboration systems covered in this chapter work in conjunction with the secure messaging systems from Chapter 4 to provide comprehensive communication and collaboration capabilities. Together, these systems form the foundation for secure resistance operations covered in Part III.

+ +
+ +

Next: Part III: Operational Security Procedures →

+ + + + + + +
+
+ + + + + + + + diff --git a/_site/feed.xml b/_site/feed.xml new file mode 100644 index 0000000..f92562f --- /dev/null +++ b/_site/feed.xml @@ -0,0 +1 @@ +Jekyll2025-08-28T19:48:01-04:00https://guide.resist.is/feed.xmlField Manual for Resistance OperationsA comprehensive guide to secure communication and operational security for newcomers to resistance movements \ No newline at end of file diff --git a/_site/index.html b/_site/index.html new file mode 100644 index 0000000..83de622 --- /dev/null +++ b/_site/index.html @@ -0,0 +1,343 @@ + + + + + + Table of Contents - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
+ +

Field Manual for Resistance Operations

+ +
+
FM-R1
+
FM-R1: Secure Communication Networks for Decentralized Resistance
+
Department of Internautics
+
Bureau of Decentralized Resistance
+
UNCLASSIFIED
+
Version 1.0 - 2025-08-28
+
+ +
+ +

Table of Contents

+ +

Front Matter

+ + +

Part I: Foundations of Resistance Security

+ + +

Part II: Secure Communication Systems

+ + +

Part III: Operational Security Procedures

+ + +

Part IV: Advanced Resistance Operations

+ + +

Appendices

+ + +
+ +
+
Security Notice
+

This manual contains sensitive information about resistance operations and security practices. Ensure you are accessing this content through secure channels (Tails OS, Tor Browser, or other anonymizing tools) and following proper operational security protocols.

+
+ +
+
For Newcomers
+

If you are new to resistance operations, start with the Preface and Introduction, then proceed through Part I: Foundations before advancing to more technical sections. Each chapter builds upon previous knowledge.

+
+ +
+ +

Distribution: This manual is designed for decentralized distribution through secure channels. Share responsibly and only with trusted individuals who have a legitimate need for this information.

+ +

Updates: This manual will be updated regularly as new threats emerge and technologies evolve. Check the source repository for the latest version.

+ +

Support: For questions or contributions, contact the Bureau of Decentralized Resistance through secure channels only.

+ + + + +
+
+ + + + + + + + diff --git a/_site/introduction/index.html b/_site/introduction/index.html new file mode 100644 index 0000000..3c926a5 --- /dev/null +++ b/_site/introduction/index.html @@ -0,0 +1,392 @@ + + + + + + Introduction - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
+ +

Introduction

+ +

The Modern Resistance Environment

+ +

Resistance movements in the 21st century face unprecedented challenges. Unlike historical resistance operations that primarily contended with human intelligence networks and physical surveillance, modern movements must operate within a digital panopticon of mass surveillance, algorithmic analysis, and predictive policing.

+ +

The scenario addressed in this manual—resistance against a technologically advanced authoritarian regime—represents the ultimate stress test for operational security. The adversary possesses:

+ + + +

The Digital Battlefield

+ +

Every digital action creates metadata that can be analyzed to reveal:

+ + +
+
Critical Understanding
+

The most dangerous misconception in modern resistance is believing that encryption alone provides security. While encryption protects content, metadata analysis can reveal operational structures, timing, and relationships even when communications are encrypted.

+
+ +

Fundamental Security Concepts

+ +

Defense in Depth

+ +

No single security measure is sufficient. Effective resistance security requires multiple overlapping layers:

+ +
    +
  1. Technical measures - Encryption, anonymization, secure hardware
  2. +
  3. Operational procedures - Compartmentalization, communication protocols, meeting security
  4. +
  5. Human factors - Training, security culture, psychological resilience
  6. +
  7. Physical security - Safe houses, surveillance detection, document security
  8. +
+ +

Threat Modeling

+ +

Before implementing any security measures, you must understand:

+ +

Assets - What are you protecting?

+ + +

Adversaries - Who are you protecting against?

+ + +

Capabilities - What can your adversaries do?

+ + +

Consequences - What happens if security fails?

+ + +

The Security-Usability Balance

+ +

Perfect security is incompatible with operational effectiveness. Every security measure introduces complexity, reduces convenience, and creates potential failure points. The art of resistance security lies in finding the optimal balance between:

+ + + +

Core Principles for Resistance Operations

+ +

1. Assume Compromise

+ +

Operate under the assumption that some level of compromise is inevitable:

+ + +

2. Minimize Attack Surface

+ +

Reduce the number of ways you can be compromised:

+ + +

3. Compartmentalization

+ +

Organize information and access on a need-to-know basis:

+ + +

4. Operational Discipline

+ +

Maintain consistent security practices:

+ + +

5. Continuous Adaptation

+ +

Security is not a destination but an ongoing process:

+ + +

The Human Element

+ +

Technology can only provide the foundation for security—human behavior determines whether that foundation holds. The most sophisticated technical measures are worthless if participants:

+ + + +

Building Security Culture

+ +

Effective resistance security requires developing a culture where:

+ + +

Scope of This Manual

+ +

This manual provides practical guidance for implementing the security concepts outlined above. It is organized to support both learning and reference use:

+ +

Part I: Foundations establishes the theoretical framework and threat assessment methodologies that inform all subsequent technical recommendations.

+ +

Part II: Communication Systems provides detailed guidance for implementing secure communication networks using proven tools and techniques.

+ +

Part III: Operational Security covers the human and procedural elements necessary to maintain security in practice.

+ +

Part IV: Advanced Operations addresses specialized topics for mature resistance networks operating under extreme threat conditions.

+ +

Appendices provide quick reference materials, detailed configuration guides, and external resources for continued learning.

+ +

Getting Started

+ +

The journey from security novice to competent resistance operator requires patience, practice, and mentorship. This manual provides the roadmap, but you must walk the path:

+ +
    +
  1. Master the fundamentals before attempting advanced techniques
  2. +
  3. Practice in safe environments before operational deployment
  4. +
  5. Seek guidance from experienced practitioners
  6. +
  7. Start with basic security measures and gradually increase complexity
  8. +
  9. Maintain operational security throughout your learning process
  10. +
+ +
+
Learning Path
+

New practitioners should follow this sequence:

+
    +
  1. Part I - Understand core principles and threat assessment
  2. +
  3. Chapter 6 - Set up secure hardware and Tails OS
  4. +
  5. Chapter 4 - Configure basic secure messaging
  6. +
  7. Chapter 7 - Implement digital hygiene practices
  8. +
  9. Remaining chapters - Add capabilities as needed
  10. +
+
+ +

A Note on Courage

+ +

Resistance requires courage—not the absence of fear, but action in spite of fear. The security measures in this manual cannot eliminate risk; they can only manage it. Every person who chooses resistance accepts some level of danger in service of a greater cause.

+ +

This manual honors that courage by providing the best possible guidance for staying safe while fighting for justice. Use it wisely, share it responsibly, and remember that your security protects not just yourself, but everyone who depends on you.

+ +
+ +

The stakes are high. The tools are available. The choice is yours.

+ +

Next: Part I: Foundations of Resistance Security →

+ + + + + + +
+
+ + + + + + + + diff --git a/_site/parts/part-1/index.html b/_site/parts/part-1/index.html new file mode 100644 index 0000000..85f1c7a --- /dev/null +++ b/_site/parts/part-1/index.html @@ -0,0 +1,312 @@ + + + + + + Part I: Foundations of Resistance Security - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
+ +

Part I: Foundations of Resistance Security

+ +

Overview

+ +

Part I establishes the theoretical and practical foundations necessary for all resistance security operations. Before implementing any technical measures or operational procedures, resistance practitioners must understand the fundamental principles that govern security in hostile environments and develop the analytical skills necessary to assess threats and design appropriate countermeasures.

+ +

This part addresses the most critical question in resistance security: How do you think about security in a way that leads to effective protection?

+ +

Learning Objectives

+ +

Upon completing Part I, you will be able to:

+ + + +

Chapter Overview

+ +

Chapter 1: Core Security Principles (1-1 to 1-5)

+ +

The five fundamental principles that must guide all resistance security decisions:

+ +

1-1: Principle of Least Privilege - Limiting access to the minimum necessary for operational effectiveness

+ +

1-2: Need-to-Know Basis - Compartmentalizing information to prevent cascade failures

+ +

1-3: Compartmentalization and Cell Structure - Organizing resistance networks to contain compromise

+ +

1-4: Zero Trust Verification - Assuming compromise and requiring continuous authentication

+ +

1-5: Metadata Minimization - Reducing the digital traces that reveal operational patterns

+ +

Chapter 2: Threat Assessment and Operational Environment (2-1 to 2-4)

+ +

Systematic approaches to understanding and responding to threats:

+ +

2-1: Understanding Your Adversary - Analyzing capabilities, motivations, and limitations of hostile forces

+ +

2-2: Threat Model Development - Creating structured assessments of risks and vulnerabilities

+ +

2-3: Risk Assessment Framework - Quantifying and prioritizing security investments

+ +

2-4: Operational Security (OpSec) Fundamentals - Translating threat assessments into practical procedures

+ +

The Security Mindset

+ +

Before diving into specific principles and procedures, it’s essential to understand the fundamental shift in thinking required for effective resistance security. This shift involves:

+ +

From Convenience to Security

+ +

In normal life, we optimize for convenience, efficiency, and ease of use. In resistance operations, security becomes the primary consideration, with convenience secondary. This doesn’t mean making things unnecessarily difficult, but rather accepting that some inconvenience is the price of safety.

+ +

From Trust to Verification

+ +

Normal social and professional relationships operate on trust and good faith. Resistance operations must assume that trust can be compromised, either through infiltration or coercion, and build verification mechanisms into all critical processes.

+ +

From Reactive to Proactive

+ +

Most people respond to security threats after they become apparent. Resistance operations must anticipate threats and implement countermeasures before they’re needed, because by the time a threat is obvious, it may be too late to respond effectively.

+ +

From Individual to Collective

+ +

Personal security practices focus on protecting yourself. Resistance security must consider how your actions affect the safety of others in your network, and how their actions affect your safety.

+ +

Common Misconceptions

+ +

“Encryption Solves Everything”

+ +

While encryption is essential, it only protects the content of communications, not the metadata that reveals who is talking to whom, when, and from where. Metadata analysis can reveal network structures and operational patterns even when all communications are encrypted.

+ +

“If You Have Nothing to Hide…”

+ +

This argument fundamentally misunderstands the nature of authoritarian surveillance. The goal is not just to find evidence of wrongdoing, but to map networks, predict behavior, and suppress dissent before it becomes effective.

+ +

“They’re Too Powerful to Resist”

+ +

While authoritarian regimes have significant advantages, they also have limitations and vulnerabilities. Understanding both their capabilities and their constraints is essential for developing effective resistance strategies.

+ +

“Perfect Security is Possible”

+ +

No security system is perfect, and pursuing perfect security often leads to systems so complex and restrictive that they cannot be used effectively. The goal is appropriate security for your specific threat environment and operational requirements.

+ +

Integration with Subsequent Parts

+ +

The principles and methodologies covered in Part I provide the foundation for all subsequent technical and operational guidance:

+ + + +

Each technical recommendation and operational procedure in later parts derives from the fundamental principles established here. Understanding these foundations is essential for adapting the manual’s guidance to your specific circumstances and for making sound security decisions when facing novel situations.

+ +

Study Approach

+ +

For Individual Study

+ +
    +
  1. Read each section completely before moving to the next
  2. +
  3. Take notes on how principles apply to your specific situation
  4. +
  5. Work through examples using scenarios relevant to your operations
  6. +
  7. Review regularly as these concepts must become second nature
  8. +
+ +

For Group Study

+ +
    +
  1. Discuss each principle and its implications for your organization
  2. +
  3. Develop case studies based on your operational environment
  4. +
  5. Practice threat modeling for actual or hypothetical operations
  6. +
  7. Create reference materials summarizing key concepts for quick review
  8. +
+ +

For Training Others

+ +
    +
  1. Use concrete examples rather than abstract concepts
  2. +
  3. Connect principles to practical consequences of security failures
  4. +
  5. Encourage questions and discussion of edge cases
  6. +
  7. Provide opportunities to practice threat assessment skills
  8. +
+ +
+
Foundation First
+

Do not skip Part I to get to "more practical" technical content. The principles covered here determine whether technical measures will be effective or merely provide a false sense of security. Every security failure can be traced back to a violation of these fundamental principles.

+
+ +
+ +

Ready to begin? Start with Chapter 1: Core Security Principles →

+ + + + + + +
+
+ + + + + + + + diff --git a/_site/parts/part-2/index.html b/_site/parts/part-2/index.html new file mode 100644 index 0000000..12d327d --- /dev/null +++ b/_site/parts/part-2/index.html @@ -0,0 +1,462 @@ + + + + + + Part II: Secure Communication Systems - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
+ +

Part II: Secure Communication Systems

+ +

Overview

+ +

Part II addresses the critical challenge of maintaining secure communications within resistance networks operating under advanced surveillance. This part provides comprehensive guidance for implementing multi-layer communication architectures that balance security requirements with operational effectiveness.

+ +

Communication security is the backbone of resistance operations. Without secure communications, resistance networks cannot coordinate activities, share intelligence, or maintain operational security. However, communication also represents the greatest vulnerability, as every communication creates metadata that can be analyzed to reveal network structures, operational patterns, and individual behaviors.

+ +

Learning Objectives

+ +

Upon completing Part II, you will be able to:

+ + + +

The Communication Security Challenge

+ +

The Metadata Problem

+ +

Modern surveillance systems focus less on communication content (which can be encrypted) and more on communication metadata (which reveals patterns even when content is protected). Every digital communication generates metadata including:

+ + + +

This metadata can be analyzed to:

+ + +

The Usability-Security Tension

+ +

Perfect communication security would require:

+ + +

Perfect operational effectiveness would require:

+ + +

Practical resistance communications must balance these competing requirements through carefully designed architectures that provide appropriate security for specific use cases while maintaining operational effectiveness.

+ +

Multi-Layer Communication Strategy

+ +

Part II is organized around a four-layer communication architecture that provides different security levels for different operational requirements:

+ +

Layer 1: High-Risk Real-Time Communication

+

Use Case: Time-sensitive coordination during active operations +Security Level: Maximum security, minimal metadata +Tools: Session Messenger, Briar mesh networking +Characteristics:

+ + +

Layer 2: Secure Collaboration Systems

+

Use Case: Planning, document sharing, and ongoing coordination +Security Level: High security with collaboration features +Tools: Element/Matrix (self-hosted), CryptPad +Characteristics:

+ + +

Layer 3: Failsafe and Offline Methods

+

Use Case: Emergency communications and backup channels +Security Level: Maximum reliability and availability +Tools: OnionShare, encrypted email, physical dead drops +Characteristics:

+ + +

Layer 4: Anonymous Broadcasting

+

Use Case: Public communications and propaganda distribution +Security Level: Sender anonymity and censorship resistance +Tools: Tor hidden services, distributed publishing platforms +Characteristics:

+ + +

Chapter Overview

+ +

Chapter 3: Communication Layer Architecture (3-1 to 3-6)

+ +

Establishes the theoretical framework and practical implementation of multi-layer communication systems:

+ +

3-1: Multi-Layer Communication Strategy - Overall architecture and layer selection criteria

+ +

3-2: High-Risk Real-Time Communication (Layer 1) - Maximum security for time-sensitive operations

+ +

3-3: Secure Collaboration Systems (Layer 2) - Balancing security with collaboration needs

+ +

3-4: Failsafe and Offline Methods (Layer 3) - Backup and emergency communication channels

+ +

3-5: Anonymous Broadcasting (Layer 4) - Public communications and information distribution

+ +

3-6: Communication Protocol Selection - Choosing appropriate tools and methods for specific scenarios

+ +

Chapter 4: Secure Messaging and Voice Communications (4-1 to 4-8)

+ +

Provides detailed configuration and operational guidance for secure messaging systems:

+ +

4-1: Session Messenger Configuration - Maximum security messaging with onion routing

+ +

4-2: Element/Matrix Self-Hosted Setup - Secure collaboration platform implementation

+ +

4-3: Briar Peer-to-Peer Messaging - Decentralized messaging without servers

+ +

4-4: Signal Security Best Practices - Operational security for mainstream secure messaging

+ +

4-5: Voice Communication Security - Secure voice calls and audio communications

+ +

4-6: Group Communication Management - Security protocols for multi-participant communications

+ +

4-7: Message Verification and Authentication - Ensuring message integrity and sender verification

+ +

4-8: Communication Scheduling and Protocols - Operational procedures for secure communications

+ +

Chapter 5: File Sharing and Collaboration (5-1 to 5-6)

+ +

Covers secure systems for document collaboration and file sharing:

+ +

5-1: CryptPad Secure Document Collaboration - Real-time collaborative editing with encryption

+ +

5-2: OnionShare Anonymous File Transfer - Secure file sharing over Tor network

+ +

5-3: Encrypted Cloud Storage (Mega/Proton) - Secure cloud storage for resistance operations

+ +

5-4: Digital Dead Drops - Asynchronous file sharing without direct contact

+ +

5-5: Version Control for Sensitive Documents - Managing document versions and changes securely

+ +

5-6: Collaborative Security Protocols - Operational procedures for secure collaboration

+ +

Implementation Approach

+ +

Progressive Implementation

+ +

Part II is designed for progressive implementation, allowing resistance networks to start with basic secure communications and gradually add more sophisticated capabilities:

+ +

Phase 1: Basic Secure Messaging

+ + +

Phase 2: Collaboration Infrastructure

+ + +

Phase 3: Advanced Architecture

+ + +

Phase 4: Operational Integration

+ + +

Security Considerations

+ +

Each communication system and protocol covered in Part II includes specific security considerations:

+ +

Technical Security:

+ + +

Operational Security:

+ + +

Strategic Security:

+ + +
+
Communication Discipline
+

The most sophisticated communication systems are worthless without proper operational discipline. All participants must understand and consistently follow communication protocols, security procedures, and operational security practices.

+
+ +

Integration with Other Parts

+ +

Part II builds directly on the foundational principles and threat assessment methodologies covered in Part I:

+ + + +

Part II also provides the foundation for the operational security procedures covered in Part III and the advanced techniques covered in Part IV.

+ +

Getting Started

+ +

For Technical Implementation

+ +
    +
  1. Start with threat assessment to determine appropriate security levels
  2. +
  3. Begin with basic tools (Signal or Session) before implementing complex systems
  4. +
  5. Test all systems thoroughly in safe environments before operational use
  6. +
  7. Implement gradually with proper training and support for all participants
  8. +
+ +

For Operational Planning

+ +
    +
  1. Map communication requirements to the four-layer architecture
  2. +
  3. Develop communication protocols appropriate to your threat environment
  4. +
  5. Establish training programs for all communication tools and procedures
  6. +
  7. Plan for contingencies including system compromise and failure scenarios
  8. +
+ +

For Network Leadership

+ +
    +
  1. Assess current communication practices against security requirements
  2. +
  3. Develop implementation timeline for improved communication security
  4. +
  5. Allocate resources for infrastructure, training, and ongoing maintenance
  6. +
  7. Establish governance for communication system management and security
  8. +
+ +
+
Implementation Priority
+

Focus first on implementing basic secure messaging (Chapter 4) before attempting to deploy complex multi-layer architectures. Solid implementation of fundamental tools is more valuable than poorly implemented advanced systems.

+
+ +
+ +

Ready to begin? Start with Chapter 3: Communication Layer Architecture →

+ + + + + + +
+
+ + + + + + + + diff --git a/_site/preface/index.html b/_site/preface/index.html new file mode 100644 index 0000000..98ec239 --- /dev/null +++ b/_site/preface/index.html @@ -0,0 +1,328 @@ + + + + + + Preface - Field Manual for Resistance Operations + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ +
+ + +
+
+
FM-R1: FM-R1: Secure Communication Networks for Decentralized Resistance
+
UNCLASSIFIED
+ +
+ +

Preface

+ +

Purpose

+ +

This Field Manual (FM-R1) provides comprehensive guidance for establishing and maintaining secure communication networks within decentralized resistance movements. It is specifically designed for individuals and groups operating under the threat of an authoritarian regime with advanced surveillance capabilities.

+ +

The manual synthesizes proven operational security practices, modern cryptographic tools, and time-tested resistance strategies into a coherent framework that can be implemented by newcomers to resistance operations while remaining valuable to experienced practitioners.

+ +

Scope

+ +

This manual covers:

+ + + +

This manual does not cover:

+ + + +

Target Audience

+ +

Primary Audience

+ + +

Secondary Audience

+ + +

How to Use This Manual

+ +

For Newcomers

+
    +
  1. Start with the fundamentals: Read the Introduction and Part I completely before proceeding
  2. +
  3. Follow the progressive structure: Each chapter builds upon previous knowledge
  4. +
  5. Practice in safe environments: Test tools and procedures before operational use
  6. +
  7. Seek mentorship: Connect with experienced practitioners through secure channels
  8. +
  9. Start simple: Implement basic security measures before advancing to complex systems
  10. +
+ +

For Experienced Practitioners

+ + +

For Technical Implementation

+ + +

Security Considerations for This Manual

+ +
+
Operational Security Warning
+

Accessing, storing, or distributing this manual may be considered suspicious activity by hostile authorities. Take appropriate precautions:

+
    +
  • Access only through Tails OS, Tor Browser, or similar anonymizing tools
  • +
  • Do not store on personal devices connected to your real identity
  • +
  • Share only through secure channels with trusted individuals
  • +
  • Consider the legal implications in your jurisdiction
  • +
+
+ + +
    +
  1. Tails OS - Boot from USB for maximum anonymity
  2. +
  3. Tor Browser - Use on a dedicated, clean device
  4. +
  5. Public Wi-Fi - Access from locations unconnected to your identity
  6. +
  7. Printed copies - For offline reference, dispose of securely when no longer needed
  8. +
+ +

Distribution Guidelines

+ + +

Acknowledgments

+ +

This manual builds upon decades of resistance experience and the work of countless individuals who have risked their freedom and lives for justice. Special recognition goes to:

+ + + +

Feedback and Updates

+ +

This manual is a living document that must evolve with changing threats and technologies. Feedback is essential for maintaining its effectiveness and accuracy.

+ +

Secure Feedback Channels

+ + +

Update Distribution

+ + + + +

This manual is provided for educational purposes only. The authors and distributors:

+ + + +

Users are solely responsible for understanding and complying with applicable laws in their jurisdiction and for assessing the risks of their activities.

+ +
+ +
+
Getting Started
+

Ready to begin? Proceed to the Introduction to understand the threat landscape and fundamental security concepts that underpin all resistance operations.

+
+ +

Next: Introduction →

+ + + + + + +
+
+ + + + + + + + diff --git a/_site/robots.txt b/_site/robots.txt new file mode 100644 index 0000000..1ffee53 --- /dev/null +++ b/_site/robots.txt @@ -0,0 +1 @@ +Sitemap: https://guide.resist.is/sitemap.xml diff --git a/_site/sitemap.xml b/_site/sitemap.xml new file mode 100644 index 0000000..23658cd --- /dev/null +++ b/_site/sitemap.xml @@ -0,0 +1,40 @@ + + + +https://guide.resist.is/chapters/chapter-1/ +2025-08-28T19:48:01-04:00 + + +https://guide.resist.is/chapters/chapter-2/ +2025-08-28T19:48:01-04:00 + + +https://guide.resist.is/chapters/chapter-3/ +2025-08-28T19:48:01-04:00 + + +https://guide.resist.is/chapters/chapter-4/ +2025-08-28T19:48:01-04:00 + + +https://guide.resist.is/chapters/chapter-5/ +2025-08-28T19:48:01-04:00 + + +https://guide.resist.is/parts/part-1/ +2025-08-28T19:48:01-04:00 + + +https://guide.resist.is/parts/part-2/ +2025-08-28T19:48:01-04:00 + + +https://guide.resist.is/ + + +https://guide.resist.is/introduction/ + + +https://guide.resist.is/preface/ + + diff --git a/assets/css/main.scss b/assets/css/main.scss new file mode 100644 index 0000000..b19610d --- /dev/null +++ b/assets/css/main.scss @@ -0,0 +1,500 @@ +--- +--- + +// Field Guide for Subversives - Main Stylesheet +// Inspired by resist.is design with military field manual structure + +// Color scheme (based on resist.is) +$bg-color: #000000; +$text-color: #ffffff; +$accent-green: #00ff00; +$accent-blue: #0066ff; +$accent-red: #ff0000; +$border-color: #333333; +$code-bg: #1a1a1a; +$warning-color: #ffaa00; + +// Typography +$font-family-base: 'Courier New', 'Monaco', 'Menlo', monospace; +$font-family-heading: 'Arial', 'Helvetica', sans-serif; +$font-size-base: 16px; +$line-height-base: 1.6; + +// Layout +$max-width: 1200px; +$sidebar-width: 300px; +$header-height: 80px; + +// Base styles +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +html { + font-size: $font-size-base; + scroll-behavior: smooth; +} + +body { + font-family: $font-family-base; + font-size: $font-size-base; + line-height: $line-height-base; + color: $text-color; + background-color: $bg-color; + min-height: 100vh; +} + +// Typography +h1, h2, h3, h4, h5, h6 { + font-family: $font-family-heading; + font-weight: bold; + margin-bottom: 1rem; + line-height: 1.2; +} + +h1 { + font-size: 2.5rem; + color: $accent-green; + text-align: center; + margin-bottom: 2rem; + text-transform: uppercase; + letter-spacing: 2px; +} + +h2 { + font-size: 2rem; + color: $accent-blue; + border-bottom: 2px solid $accent-blue; + padding-bottom: 0.5rem; + margin-top: 2rem; + margin-bottom: 1.5rem; +} + +h3 { + font-size: 1.5rem; + color: $accent-green; + margin-top: 1.5rem; + margin-bottom: 1rem; +} + +h4 { + font-size: 1.25rem; + color: $text-color; + margin-top: 1rem; + margin-bottom: 0.75rem; +} + +p { + margin-bottom: 1rem; +} + +// Links +a { + color: $accent-blue; + text-decoration: none; + transition: color 0.3s ease; + + &:hover { + color: $accent-green; + text-decoration: underline; + } + + &:visited { + color: lighten($accent-blue, 20%); + } +} + +// Lists +ul, ol { + margin-bottom: 1rem; + padding-left: 2rem; + + li { + margin-bottom: 0.5rem; + } +} + +// Code and preformatted text +code { + background-color: $code-bg; + color: $accent-green; + padding: 0.2rem 0.4rem; + border-radius: 3px; + font-family: $font-family-base; + font-size: 0.9rem; +} + +pre { + background-color: $code-bg; + color: $text-color; + padding: 1rem; + border-radius: 5px; + overflow-x: auto; + margin-bottom: 1rem; + border-left: 4px solid $accent-green; + + code { + background: none; + padding: 0; + color: inherit; + } +} + +// Tables +table { + width: 100%; + border-collapse: collapse; + margin-bottom: 1rem; + background-color: $code-bg; + + th, td { + padding: 0.75rem; + text-align: left; + border-bottom: 1px solid $border-color; + } + + th { + background-color: $border-color; + color: $accent-green; + font-weight: bold; + } + + tr:hover { + background-color: lighten($code-bg, 5%); + } +} + +// Layout components +.container { + max-width: $max-width; + margin: 0 auto; + padding: 0 1rem; +} + +.header { + background-color: $bg-color; + border-bottom: 2px solid $accent-green; + padding: 1rem 0; + position: sticky; + top: 0; + z-index: 100; + + .header-content { + display: flex; + justify-content: space-between; + align-items: center; + } + + .logo { + display: flex; + align-items: center; + font-size: 1.5rem; + font-weight: bold; + color: $accent-green; + + .omega { + font-size: 2rem; + margin-right: 0.5rem; + } + } + + .nav-toggle { + display: none; + background: none; + border: none; + color: $text-color; + font-size: 1.5rem; + cursor: pointer; + } +} + +.main-layout { + display: flex; + min-height: calc(100vh - #{$header-height}); +} + +.sidebar { + width: $sidebar-width; + background-color: lighten($bg-color, 5%); + border-right: 1px solid $border-color; + padding: 2rem 1rem; + overflow-y: auto; + position: sticky; + top: $header-height; + height: calc(100vh - #{$header-height}); + + .nav-section { + margin-bottom: 2rem; + + h3 { + color: $accent-green; + font-size: 1rem; + margin-bottom: 0.5rem; + text-transform: uppercase; + letter-spacing: 1px; + } + + ul { + list-style: none; + padding: 0; + + li { + margin-bottom: 0.25rem; + + a { + display: block; + padding: 0.5rem; + border-radius: 3px; + transition: background-color 0.3s ease; + + &:hover { + background-color: $border-color; + text-decoration: none; + } + + &.active { + background-color: $accent-blue; + color: $bg-color; + } + } + + ul { + margin-left: 1rem; + margin-top: 0.5rem; + + a { + font-size: 0.9rem; + color: lighten($text-color, 20%); + } + } + } + } + } +} + +.content { + flex: 1; + padding: 2rem; + max-width: calc(100% - #{$sidebar-width}); + + .content-header { + margin-bottom: 2rem; + padding-bottom: 1rem; + border-bottom: 1px solid $border-color; + + .manual-designation { + color: $accent-green; + font-size: 0.9rem; + text-transform: uppercase; + letter-spacing: 1px; + margin-bottom: 0.5rem; + } + + .classification { + color: $warning-color; + font-size: 0.8rem; + text-transform: uppercase; + font-weight: bold; + } + } + + .section-nav { + display: flex; + justify-content: space-between; + margin-top: 3rem; + padding-top: 2rem; + border-top: 1px solid $border-color; + + .nav-link { + display: flex; + align-items: center; + padding: 0.75rem 1.5rem; + background-color: $code-bg; + border: 1px solid $border-color; + border-radius: 5px; + transition: all 0.3s ease; + + &:hover { + background-color: $accent-blue; + color: $bg-color; + text-decoration: none; + } + + .arrow { + font-size: 1.2rem; + margin: 0 0.5rem; + } + } + } +} + +// Special components +.warning-box { + background-color: rgba($warning-color, 0.1); + border-left: 4px solid $warning-color; + padding: 1rem; + margin: 1rem 0; + border-radius: 0 5px 5px 0; + + .warning-title { + color: $warning-color; + font-weight: bold; + margin-bottom: 0.5rem; + text-transform: uppercase; + } +} + +.info-box { + background-color: rgba($accent-blue, 0.1); + border-left: 4px solid $accent-blue; + padding: 1rem; + margin: 1rem 0; + border-radius: 0 5px 5px 0; + + .info-title { + color: $accent-blue; + font-weight: bold; + margin-bottom: 0.5rem; + text-transform: uppercase; + } +} + +.success-box { + background-color: rgba($accent-green, 0.1); + border-left: 4px solid $accent-green; + padding: 1rem; + margin: 1rem 0; + border-radius: 0 5px 5px 0; + + .success-title { + color: $accent-green; + font-weight: bold; + margin-bottom: 0.5rem; + text-transform: uppercase; + } +} + +.do-dont-list { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 1rem; + margin: 1rem 0; + + .do-list, .dont-list { + padding: 1rem; + border-radius: 5px; + + h4 { + margin-bottom: 0.5rem; + text-transform: uppercase; + } + + ul { + margin: 0; + padding-left: 1.5rem; + } + } + + .do-list { + background-color: rgba($accent-green, 0.1); + border: 1px solid $accent-green; + + h4 { + color: $accent-green; + } + } + + .dont-list { + background-color: rgba($accent-red, 0.1); + border: 1px solid $accent-red; + + h4 { + color: $accent-red; + } + } +} + +// Footer +.footer { + background-color: $border-color; + padding: 2rem 0; + margin-top: 4rem; + text-align: center; + border-top: 2px solid $accent-green; + + .footer-content { + color: lighten($text-color, 20%); + font-size: 0.9rem; + + .organization { + color: $accent-green; + font-weight: bold; + } + } +} + +// Responsive design +@media (max-width: 768px) { + .header { + .nav-toggle { + display: block; + } + } + + .main-layout { + flex-direction: column; + } + + .sidebar { + width: 100%; + position: static; + height: auto; + display: none; + + &.active { + display: block; + } + } + + .content { + max-width: 100%; + padding: 1rem; + } + + .do-dont-list { + grid-template-columns: 1fr; + } + + h1 { + font-size: 2rem; + } + + h2 { + font-size: 1.5rem; + } +} + +// Print styles +@media print { + body { + background: white; + color: black; + } + + .header, .sidebar, .footer, .section-nav { + display: none; + } + + .content { + max-width: 100%; + padding: 0; + } + + a { + color: black; + text-decoration: underline; + } +} + diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..6504276 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,166 @@ +// Field Guide for Subversives - Main JavaScript + +document.addEventListener('DOMContentLoaded', function() { + // Mobile navigation toggle + const navToggle = document.getElementById('nav-toggle'); + const sidebar = document.getElementById('sidebar'); + + if (navToggle && sidebar) { + navToggle.addEventListener('click', function() { + sidebar.classList.toggle('active'); + }); + } + + // Smooth scrolling for anchor links + const anchorLinks = document.querySelectorAll('a[href^="#"]'); + anchorLinks.forEach(link => { + link.addEventListener('click', function(e) { + e.preventDefault(); + const target = document.querySelector(this.getAttribute('href')); + if (target) { + target.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + } + }); + }); + + // Add security warning for external links + const externalLinks = document.querySelectorAll('a[href^="http"]:not([href*="' + window.location.hostname + '"])'); + externalLinks.forEach(link => { + link.addEventListener('click', function(e) { + if (!confirm('You are about to visit an external site. Ensure you are using secure browsing practices. Continue?')) { + e.preventDefault(); + } + }); + + // Add visual indicator for external links + link.setAttribute('title', 'External link - opens in new tab'); + link.setAttribute('target', '_blank'); + link.setAttribute('rel', 'noopener noreferrer'); + }); + + // Keyboard navigation + document.addEventListener('keydown', function(e) { + // Alt + Left Arrow: Previous page + if (e.altKey && e.key === 'ArrowLeft') { + const prevLink = document.querySelector('.section-nav .nav-link:first-child'); + if (prevLink && prevLink.href) { + window.location.href = prevLink.href; + } + } + + // Alt + Right Arrow: Next page + if (e.altKey && e.key === 'ArrowRight') { + const nextLink = document.querySelector('.section-nav .nav-link:last-child'); + if (nextLink && nextLink.href) { + window.location.href = nextLink.href; + } + } + + // Escape: Close mobile menu + if (e.key === 'Escape' && sidebar && sidebar.classList.contains('active')) { + sidebar.classList.remove('active'); + } + }); + + // Print functionality + function addPrintButton() { + const contentHeader = document.querySelector('.content-header'); + if (contentHeader) { + const printButton = document.createElement('button'); + printButton.textContent = 'Print Section'; + printButton.className = 'print-button'; + printButton.style.cssText = ` + background: #333; + color: #00ff00; + border: 1px solid #00ff00; + padding: 0.5rem 1rem; + border-radius: 3px; + cursor: pointer; + font-family: inherit; + margin-top: 1rem; + `; + printButton.addEventListener('click', function() { + window.print(); + }); + contentHeader.appendChild(printButton); + } + } + + addPrintButton(); + + // Security reminder + function showSecurityReminder() { + const reminder = document.createElement('div'); + reminder.style.cssText = ` + position: fixed; + bottom: 20px; + right: 20px; + background: rgba(255, 170, 0, 0.9); + color: #000; + padding: 1rem; + border-radius: 5px; + max-width: 300px; + font-size: 0.9rem; + z-index: 1000; + display: none; + `; + reminder.innerHTML = ` + Security Reminder: Ensure you're using Tails OS or a secure browser when accessing this guide. + + `; + document.body.appendChild(reminder); + + // Show reminder after 30 seconds + setTimeout(() => { + reminder.style.display = 'block'; + }, 30000); + + // Auto-hide after 10 seconds + setTimeout(() => { + reminder.style.display = 'none'; + }, 40000); + } + + // Only show security reminder on first visit + if (!localStorage.getItem('security_reminder_shown')) { + showSecurityReminder(); + localStorage.setItem('security_reminder_shown', 'true'); + } + + // Add copy-to-clipboard functionality for code blocks + const codeBlocks = document.querySelectorAll('pre code'); + codeBlocks.forEach(block => { + const button = document.createElement('button'); + button.textContent = 'Copy'; + button.className = 'copy-button'; + button.style.cssText = ` + position: absolute; + top: 0.5rem; + right: 0.5rem; + background: #333; + color: #00ff00; + border: 1px solid #00ff00; + padding: 0.25rem 0.5rem; + border-radius: 3px; + cursor: pointer; + font-size: 0.8rem; + `; + + const pre = block.parentElement; + pre.style.position = 'relative'; + pre.appendChild(button); + + button.addEventListener('click', function() { + navigator.clipboard.writeText(block.textContent).then(() => { + button.textContent = 'Copied!'; + setTimeout(() => { + button.textContent = 'Copy'; + }, 2000); + }); + }); + }); +}); + diff --git a/index.md b/index.md new file mode 100644 index 0000000..5d940a5 --- /dev/null +++ b/index.md @@ -0,0 +1,135 @@ +--- +layout: default +title: "Table of Contents" +description: "Field Manual for Resistance Operations - A comprehensive guide to secure communication and operational security for decentralized resistance movements" +--- + +# {{ site.title }} + +
+
{{ site.manual_designation }}
+
{{ site.subtitle }}
+
{{ site.organization }}
+
{{ site.bureau }}
+
{{ site.classification }}
+
Version {{ site.version }} - {{ site.date }}
+
+ +--- + +## Table of Contents + +### Front Matter +- **[Preface](/preface/)** - Purpose, scope, and how to use this manual +- **[Introduction](/introduction/)** - Threat landscape and security fundamentals + +### Part I: Foundations of Resistance Security +- **[Part I Overview](/parts/part-1/)** - Core principles and threat assessment + - **[Chapter 1: Core Security Principles](/chapters/chapter-1/)** (1-1 to 1-5) + - 1-1: Principle of Least Privilege + - 1-2: Need-to-Know Basis + - 1-3: Compartmentalization and Cell Structure + - 1-4: Zero Trust Verification + - 1-5: Metadata Minimization + - **[Chapter 2: Threat Assessment and Operational Environment](/chapters/chapter-2/)** (2-1 to 2-4) + - 2-1: Understanding Your Adversary + - 2-2: Threat Model Development + - 2-3: Risk Assessment Framework + - 2-4: Operational Security (OpSec) Fundamentals + +### Part II: Secure Communication Systems +- **[Part II Overview](/parts/part-2/)** - Multi-layer communication architecture + - **[Chapter 3: Communication Layer Architecture](/chapters/chapter-3/)** (3-1 to 3-6) + - 3-1: Multi-Layer Communication Strategy + - 3-2: High-Risk Real-Time Communication (Layer 1) + - 3-3: Secure Collaboration Systems (Layer 2) + - 3-4: Failsafe and Offline Methods (Layer 3) + - 3-5: Anonymous Broadcasting (Layer 4) + - 3-6: Communication Protocol Selection + - **[Chapter 4: Secure Messaging and Voice Communications](/chapters/chapter-4/)** (4-1 to 4-8) + - 4-1: Session Messenger Configuration + - 4-2: Element/Matrix Self-Hosted Setup + - 4-3: Briar Peer-to-Peer Messaging + - 4-4: Signal Security Best Practices + - 4-5: Voice Communication Security + - 4-6: Group Communication Management + - 4-7: Message Verification and Authentication + - 4-8: Communication Scheduling and Protocols + - **[Chapter 5: File Sharing and Collaboration](/chapters/chapter-5/)** (5-1 to 5-6) + - 5-1: CryptPad Secure Document Collaboration + - 5-2: OnionShare Anonymous File Transfer + - 5-3: Encrypted Cloud Storage (Mega/Proton) + - 5-4: Digital Dead Drops + - 5-5: Version Control for Sensitive Documents + - 5-6: Collaborative Security Protocols + +### Part III: Operational Security Procedures +- **[Part III Overview](/parts/part-3/)** - Hardware, digital hygiene, and operational procedures + - **[Chapter 6: Hardware and Infrastructure Security](/chapters/chapter-6/)** (6-1 to 6-8) + - 6-1: Untraceable Hardware Acquisition + - 6-2: Tails OS Installation and Configuration + - 6-3: Device Compartmentalization + - 6-4: Physical Security Measures + - 6-5: Network Access Security + - 6-6: Hardware Disposal and Sanitization + - 6-7: Faraday Cage and Signal Blocking + - 6-8: Power and Charging Security + - **[Chapter 7: Digital Hygiene and Privacy](/chapters/chapter-7/)** (7-1 to 7-6) + - 7-1: Browser Security Configuration + - 7-2: Search Engine Privacy + - 7-3: VPN and Tor Usage + - 7-4: Social Media Operational Security + - 7-5: Email Security and Anonymous Accounts + - 7-6: Digital Footprint Minimization + - **[Chapter 8: Operational Procedures](/chapters/chapter-8/)** (8-1 to 8-8) + - 8-1: Cell Organization and Management + - 8-2: Meeting Security Protocols + - 8-3: Coded Language and Communication + - 8-4: Surveillance Detection and Evasion + - 8-5: Emergency Procedures and Protocols + - 8-6: Information Sanitization + - 8-7: Operational Planning Security + - 8-8: Post-Operation Security Review + +### Part IV: Advanced Resistance Operations +- **[Part IV Overview](/parts/part-4/)** - Network resilience and counter-intelligence + - **[Chapter 9: Network Resilience and Redundancy](/chapters/chapter-9/)** (9-1 to 9-5) + - 9-1: Mesh Network Implementation + - 9-2: Offline Communication Systems + - 9-3: Emergency Communication Protocols + - 9-4: Network Failure Recovery + - 9-5: Distributed Infrastructure Planning + - **[Chapter 10: Counter-Intelligence and Security Culture](/chapters/chapter-10/)** (10-1 to 10-6) + - 10-1: Infiltration Detection and Prevention + - 10-2: Information Verification Procedures + - 10-3: Security Culture Development + - 10-4: Compartmentalized Knowledge Management + - 10-5: Trust Networks and Verification + - 10-6: Operational Security Training + +### Appendices +- **[Appendix A: Quick Reference Guides](/appendices/)** - Emergency checklists and procedures +- **[Appendix B: Tool Configuration Guides](/appendices/tools/)** - Step-by-step setup instructions +- **[Appendix C: External Resources and Links](/appendices/resources/)** - Recommended tools and organizations +- **[Appendix D: Glossary of Terms](/appendices/glossary/)** - Definitions and terminology + +--- + +
+
Security Notice
+

This manual contains sensitive information about resistance operations and security practices. Ensure you are accessing this content through secure channels (Tails OS, Tor Browser, or other anonymizing tools) and following proper operational security protocols.

+
+ +
+
For Newcomers
+

If you are new to resistance operations, start with the Preface and Introduction, then proceed through Part I: Foundations before advancing to more technical sections. Each chapter builds upon previous knowledge.

+
+ +--- + +**Distribution:** This manual is designed for decentralized distribution through secure channels. Share responsibly and only with trusted individuals who have a legitimate need for this information. + +**Updates:** This manual will be updated regularly as new threats emerge and technologies evolve. Check the source repository for the latest version. + +**Support:** For questions or contributions, contact the Bureau of Decentralized Resistance through secure channels only. + diff --git a/introduction.md b/introduction.md new file mode 100644 index 0000000..c696b3a --- /dev/null +++ b/introduction.md @@ -0,0 +1,196 @@ +--- +layout: default +title: "Introduction" +description: "Threat landscape overview and fundamental security concepts for resistance operations" +prev_page: + title: "Preface" + url: "/preface/" +next_page: + title: "Part I: Foundations" + url: "/parts/part-1/" +--- + +# Introduction + +## The Modern Resistance Environment + +Resistance movements in the 21st century face unprecedented challenges. Unlike historical resistance operations that primarily contended with human intelligence networks and physical surveillance, modern movements must operate within a digital panopticon of mass surveillance, algorithmic analysis, and predictive policing. + +The scenario addressed in this manual—resistance against a technologically advanced authoritarian regime—represents the ultimate stress test for operational security. The adversary possesses: + +- **Total spectrum surveillance** across digital communications +- **Massive data processing capabilities** for pattern recognition and network analysis +- **Legal and extralegal powers** to compel cooperation from technology companies +- **Advanced persistent threat capabilities** for targeted device compromise +- **Extensive human intelligence networks** including informants and infiltrators + +### The Digital Battlefield + +Every digital action creates metadata that can be analyzed to reveal: +- **Communication patterns** - who talks to whom, when, and how frequently +- **Location data** - movement patterns and association networks +- **Behavioral profiles** - interests, habits, and predictive models +- **Social graphs** - relationship mapping and influence networks +- **Operational indicators** - planning cycles and activity patterns + +
+
Critical Understanding
+

The most dangerous misconception in modern resistance is believing that encryption alone provides security. While encryption protects content, metadata analysis can reveal operational structures, timing, and relationships even when communications are encrypted.

+
+ +## Fundamental Security Concepts + +### Defense in Depth + +No single security measure is sufficient. Effective resistance security requires multiple overlapping layers: + +1. **Technical measures** - Encryption, anonymization, secure hardware +2. **Operational procedures** - Compartmentalization, communication protocols, meeting security +3. **Human factors** - Training, security culture, psychological resilience +4. **Physical security** - Safe houses, surveillance detection, document security + +### Threat Modeling + +Before implementing any security measures, you must understand: + +**Assets** - What are you protecting? +- Lives and freedom of participants +- Operational plans and intelligence +- Communication networks and infrastructure +- Financial resources and supplies + +**Adversaries** - Who are you protecting against? +- State security services and law enforcement +- Private intelligence contractors +- Informants and infiltrators +- Hostile political organizations + +**Capabilities** - What can your adversaries do? +- Technical surveillance and cyber operations +- Physical surveillance and infiltration +- Legal powers and extrajudicial actions +- Resource advantages and institutional support + +**Consequences** - What happens if security fails? +- Arrest, prosecution, and imprisonment +- Physical harm or assassination +- Network compromise and operational failure +- Broader movement suppression + +### The Security-Usability Balance + +Perfect security is incompatible with operational effectiveness. Every security measure introduces complexity, reduces convenience, and creates potential failure points. The art of resistance security lies in finding the optimal balance between: + +- **Security requirements** based on threat assessment +- **Operational needs** for communication and coordination +- **Human limitations** in following complex procedures +- **Resource constraints** in time, money, and technical expertise + +## Core Principles for Resistance Operations + +### 1. Assume Compromise + +Operate under the assumption that some level of compromise is inevitable: +- Design systems that remain functional even if partially compromised +- Limit the damage any single compromise can cause +- Plan for detection and response to security breaches +- Maintain operational capability under surveillance + +### 2. Minimize Attack Surface + +Reduce the number of ways you can be compromised: +- Use the minimum number of tools and platforms necessary +- Limit the amount of sensitive data stored or transmitted +- Reduce the number of people with access to critical information +- Eliminate unnecessary digital and physical traces + +### 3. Compartmentalization + +Organize information and access on a need-to-know basis: +- Structure operations in independent cells +- Limit cross-cell knowledge and communication +- Use different tools and identities for different purposes +- Prevent single points of failure from compromising entire networks + +### 4. Operational Discipline + +Maintain consistent security practices: +- Follow established procedures even when inconvenient +- Resist the temptation to take shortcuts under pressure +- Regularly review and update security practices +- Train all participants in proper security procedures + +### 5. Continuous Adaptation + +Security is not a destination but an ongoing process: +- Monitor for new threats and vulnerabilities +- Update tools and procedures as technology evolves +- Learn from security incidents and near-misses +- Share knowledge and best practices across the movement + +## The Human Element + +Technology can only provide the foundation for security—human behavior determines whether that foundation holds. The most sophisticated technical measures are worthless if participants: + +- Use personal devices for resistance activities +- Discuss sensitive matters in insecure environments +- Fail to follow established communication protocols +- Compromise operational security for convenience + +### Building Security Culture + +Effective resistance security requires developing a culture where: +- Security consciousness becomes second nature +- Participants understand the reasoning behind security measures +- Peer accountability reinforces proper procedures +- Security education is ongoing and practical +- Mistakes are treated as learning opportunities rather than failures + +## Scope of This Manual + +This manual provides practical guidance for implementing the security concepts outlined above. It is organized to support both learning and reference use: + +**Part I: Foundations** establishes the theoretical framework and threat assessment methodologies that inform all subsequent technical recommendations. + +**Part II: Communication Systems** provides detailed guidance for implementing secure communication networks using proven tools and techniques. + +**Part III: Operational Security** covers the human and procedural elements necessary to maintain security in practice. + +**Part IV: Advanced Operations** addresses specialized topics for mature resistance networks operating under extreme threat conditions. + +**Appendices** provide quick reference materials, detailed configuration guides, and external resources for continued learning. + +## Getting Started + +The journey from security novice to competent resistance operator requires patience, practice, and mentorship. This manual provides the roadmap, but you must walk the path: + +1. **Master the fundamentals** before attempting advanced techniques +2. **Practice in safe environments** before operational deployment +3. **Seek guidance** from experienced practitioners +4. **Start with basic security measures** and gradually increase complexity +5. **Maintain operational security** throughout your learning process + +
+
Learning Path
+

New practitioners should follow this sequence:

+
    +
  1. Part I - Understand core principles and threat assessment
  2. +
  3. Chapter 6 - Set up secure hardware and Tails OS
  4. +
  5. Chapter 4 - Configure basic secure messaging
  6. +
  7. Chapter 7 - Implement digital hygiene practices
  8. +
  9. Remaining chapters - Add capabilities as needed
  10. +
+
+ +## A Note on Courage + +Resistance requires courage—not the absence of fear, but action in spite of fear. The security measures in this manual cannot eliminate risk; they can only manage it. Every person who chooses resistance accepts some level of danger in service of a greater cause. + +This manual honors that courage by providing the best possible guidance for staying safe while fighting for justice. Use it wisely, share it responsibly, and remember that your security protects not just yourself, but everyone who depends on you. + +--- + +**The stakes are high. The tools are available. The choice is yours.** + +**Next:** [Part I: Foundations of Resistance Security →](/parts/part-1/) + diff --git a/preface.md b/preface.md new file mode 100644 index 0000000..6ba25b3 --- /dev/null +++ b/preface.md @@ -0,0 +1,138 @@ +--- +layout: default +title: "Preface" +description: "Purpose, scope, and guidance for using the Field Manual for Resistance Operations" +next_page: + title: "Introduction" + url: "/introduction/" +--- + +# Preface + +## Purpose + +This Field Manual (FM-R1) provides comprehensive guidance for establishing and maintaining secure communication networks within decentralized resistance movements. It is specifically designed for individuals and groups operating under the threat of an authoritarian regime with advanced surveillance capabilities. + +The manual synthesizes proven operational security practices, modern cryptographic tools, and time-tested resistance strategies into a coherent framework that can be implemented by newcomers to resistance operations while remaining valuable to experienced practitioners. + +## Scope + +This manual covers: + +- **Core security principles** fundamental to all resistance operations +- **Threat assessment methodologies** for understanding your operational environment +- **Multi-layer communication architectures** for different security requirements +- **Specific tool configurations** for secure messaging, file sharing, and collaboration +- **Operational security procedures** for maintaining security discipline +- **Advanced techniques** for network resilience and counter-intelligence + +This manual does **not** cover: + +- Specific tactical operations or direct action planning +- Legal advice or guidance on laws in specific jurisdictions +- Physical security beyond basic operational security measures +- Weapons, explosives, or other kinetic capabilities + +## Target Audience + +### Primary Audience +- **Newcomers to resistance operations** who need foundational knowledge +- **Cell leaders and coordinators** responsible for communication security +- **Technical personnel** implementing secure infrastructure +- **Training coordinators** developing security education programs + +### Secondary Audience +- **Experienced activists** seeking to improve their security practices +- **Journalists and researchers** working in high-risk environments +- **Civil liberties organizations** operating under surveillance +- **International solidarity groups** supporting resistance movements + +## How to Use This Manual + +### For Newcomers +1. **Start with the fundamentals**: Read the Introduction and Part I completely before proceeding +2. **Follow the progressive structure**: Each chapter builds upon previous knowledge +3. **Practice in safe environments**: Test tools and procedures before operational use +4. **Seek mentorship**: Connect with experienced practitioners through secure channels +5. **Start simple**: Implement basic security measures before advancing to complex systems + +### For Experienced Practitioners +- Use as a **reference guide** for specific tools and procedures +- **Adapt recommendations** to your specific threat environment +- **Contribute improvements** through secure feedback channels +- **Train others** using this manual as a curriculum foundation + +### For Technical Implementation +- Follow **configuration guides** in the appendices exactly +- **Test all systems** thoroughly before deployment +- **Maintain operational security** during setup and maintenance +- **Document customizations** securely for future reference + +## Security Considerations for This Manual + +
+
Operational Security Warning
+

Accessing, storing, or distributing this manual may be considered suspicious activity by hostile authorities. Take appropriate precautions:

+ +
+ +### Recommended Access Methods +1. **Tails OS** - Boot from USB for maximum anonymity +2. **Tor Browser** - Use on a dedicated, clean device +3. **Public Wi-Fi** - Access from locations unconnected to your identity +4. **Printed copies** - For offline reference, dispose of securely when no longer needed + +### Distribution Guidelines +- Share only with individuals who have demonstrated commitment to resistance operations +- Use secure communication channels (Signal, Briar, OnionShare) for distribution +- Verify recipient identity through trusted intermediaries +- Consider compartmentalization - not everyone needs access to all sections + +## Acknowledgments + +This manual builds upon decades of resistance experience and the work of countless individuals who have risked their freedom and lives for justice. Special recognition goes to: + +- **Historical resistance movements** whose strategies inform our approach +- **Digital rights organizations** developing the tools we depend on +- **Security researchers** who identify vulnerabilities and develop countermeasures +- **Current practitioners** who provide feedback and real-world testing + +## Feedback and Updates + +This manual is a living document that must evolve with changing threats and technologies. Feedback is essential for maintaining its effectiveness and accuracy. + +### Secure Feedback Channels +- **Matrix**: Contact @sparticus:weresist.is through Element +- **OnionShare**: Check resist.is for current feedback drop locations +- **Dead drops**: Physical and digital locations announced through secure channels + +### Update Distribution +- **Primary source**: git.hacker.supply/Department_of_Internautics/field_guide +- **Mirror sites**: Announced through resistance networks +- **Version control**: Each update includes detailed changelog and verification signatures + +## Legal Disclaimer + +This manual is provided for educational purposes only. The authors and distributors: + +- Do not advocate for illegal activities in any jurisdiction +- Cannot be held responsible for how this information is used +- Recommend consulting legal counsel familiar with your local laws +- Emphasize that resistance activities carry inherent legal and physical risks + +Users are solely responsible for understanding and complying with applicable laws in their jurisdiction and for assessing the risks of their activities. + +--- + +
+
Getting Started
+

Ready to begin? Proceed to the Introduction to understand the threat landscape and fundamental security concepts that underpin all resistance operations.

+
+ +**Next:** [Introduction →](/introduction/) +