Red Testing Guide & Local LLM Research - 12 Week Internship Experience
3 Projects Over 12 Weeks
Testing Guide to guide the lab and new members unfamiliar with the process to understand how to test to 18031-1 (Internet-Connected Radio Equipment)
Testing Guide to guide the lab and new members unfamiliar with the process to understand how to test to 18031-2 (Personal Data Processing Equipment)
Created a fine-tuned LLM at a simplified scale to trial run the concept of a local LLM for lab usage as an assistant to aid with documentation and testing procedures.
18031 is also known as The EU Radio Equipment Directive (RED). All companies who sell in the EU (if applicable) must conform to RED by August 1st on each product or risk the ability to sell that product. The directive is broken down into three main categories:
Applies to: All radio equipment capable of Internet communication, whether directly or via another interconnected device.
Applies to: Devices handling personal data i.e. Internet connected devices, childcare equipment, wireless toys and wearable devices.
Applies to: Equipment that processes payments, virtual currencies, or other financial transactions. (18031-3 was not a part of my 3 projects)
Across this document an example product will be used as a demo item to test against 18031-1 documentation.
The example product that will be used is an IoT home device hub which allows users to connect to on the local network. The device assets are:
| Asset Type | Asset Description | Possible Access | Public Access | Justification for Public Access | Environmental Restrictions |
|---|---|---|---|---|---|
| Security Asset | Admin passwords | Read, Write | No | N/A | Restricted admin interface |
| Security Asset | Cryptographic keys & certificates | Read, Write | No | N/A | Secure storage only |
| Security Asset | Firmware update files | Read, Execute | No | N/A | Secure update server |
| Network Asset | Wi-Fi configuration | Read, Write | No | N/A | Secured VLAN |
| Network Asset | VPN settings | Read, Write | No | N/A | Dedicated management VLAN |
| Network Asset | Remote management interfaces (SSH) | Read, Write, Execute | No | N/A | Admin-only access |
| Network Asset | Bluetooth communication | Read, Write | Possibly Yes | For pairing or data exchange | Pairing codes, encryption, whitelisting |
| Network Asset | Webserver interface (UI) | Read, Write, Execute | Possibly Yes | For user access to UI | TLS encryption, authentication |
| Admin Function | User role management | Read, Write | No | N/A | Admin dashboard only |
| Admin Function | System logs and audit trails | Read | No | N/A | Secure storage |
| Admin Function | Device provisioning | Execute | No | N/A | Factory or secure onboarding |
18031-1 is broken up into core requirements with sub requirements
All most all requirements require physical testing rather than checking documentation
The documentation follows a structured approach to guide lab technicians through compliance testing:
Each requirement includes detailed sub-requirements with specific testing criteria and expected outcomes.
6.5.2 [SCM-2]
Secure Communication Mechanism
Protect the integrity and authenticity of assets
Testing steps
Notes on what to look for
References for what is deemed secure
Note: RED often states "best practice" and leaves it up to the certifier to deem what is "best practice" The green text on the left image is a link to Cloudflare publication, of which I deemed to be valid for best practice if the product uses a cipher suite within "Modern".
18031-2 is broken up into core requirements with sub requirements
18031-1 with additions of LGM, DLM, UNM, GEC-7
Replacing RLM, NMM & TCM
Building upon 18031-1, this documentation extends compliance testing to personal data processing equipment:
Focuses on privacy-specific protections while maintaining all core cybersecurity requirements from 18031-1.
6.1.4 [ACM-4]
Access Control Mechanisms
Conformation that no form of third-party access is possible until consent from a parent
Not all requirements in 18031-2 are applicable
Testing steps walking the tester through how they can test to the standard and mark a PASS
Note: This equipment/device does not qualify under the definition of a 'toy' as such this equipment is not subject to the current requirement. But to the benefit of the certifier if this product were to be classified as a 'toy', the guide to the left would be valid and applicable.
When certifying members of the team must create manual documentation from templates, this process results in:
A completely Automated UL2900 Expert AI:
Qwen2.5 7B - 7B parameters for lightweight testing with structured data extraction & long context understanding capabilities.
Docker→Ollama→Open WebUI - Isolated locally to be secure with full control over the deployment environment.
4 Real Projects - Complete with project input data and expected output with document layout and format included.
Low-Rank Adaptation (LoRA) - Preserves model knowledge but adds specialized expertise through unsloth fine-tuning tool.
Ollama & Open WebUI - Convert the model to GGUF format for ollama and run locally for testing.
Testing Prompts and Data - Comprehensive evaluation of model output quality and consistency.
The training process involved multiple epochs where the model learned from actual UL documentation standards and then corrected errors through backpropagation. The 5 lines of text shown during training represent individual epochs - complete cycles through all training data.
Model quantization converted the trained model to a smaller, faster version for testing while maintaining accuracy. This technique reduces computational and memory requirements, allowing for faster inference and smaller model sizes suitable for local deployment.
The trial run helped create a roadmap for improvement to production level implementation:
Major Projects Completed
Week Internship Duration
18031 Sections Documented
AI Solution Prototyped
The documentation and AI solutions developed during this internship provide lasting value to UL Solutions:
I would like to thank the UL Solutions cybersecurity team for providing mentorship and guidance throughout this internship experience. Special thanks to my supervisors and colleagues who provided valuable feedback on documentation standards and supported the exploration of innovative AI solutions for laboratory operations.
This internship provided invaluable real-world experience in cybersecurity testing, regulatory compliance, and the practical application of artificial intelligence in enterprise environments and I would like to express my gratitude for the opportunity to contribute to such impactful projects.
All images, documentation, and content on this page are proprietary materials created for UL Solutions by Coleman Pagac. This information is primarily based on presentation slides that I have been given permission to use for personal purposes.
Important: All content on this page is not for public use and cannot be reproduced, distributed, or used without express written permission from Coleman Pagac. This portfolio presentation is intended solely for demonstration of professional work experience and technical capabilities.
For licensing inquiries or permission requests, please contact: copyright@colemanpagac.com