Sign inSign up

bruienne/mdm-server

By bruienne

Updated over 11 years ago

Docker image of the Project IMAS MDM Server

Image
2

500K+

bruienne/mdm-server repository overview

Introduction

All code contained in this image is by Project iMAS, part of the MITRE corporation.

iMAS is a collaborative research project from the MITRE corporation. In summary: iMAS is an iOS secure application framework research project focused on reducing iOS application vulnerabilities and information loss.

Overview of mdm-server

Instructions and code for setting up a simple iOS Mobile Device Management (MDM) server. MDM allows for OS level control of multiple devices from a centralized location. A remote administrator can install/remove apps, install/revoke certificates, lock the device, change password requirements, etc.


Docker notes

This image contains the end result of following the server setup instructions found here: https://github.com/project-imas/mdm-server#server-setup

To get a properly functioning server you'll still need to perform the certificate setup instructions found here: https://github.com/project-imas/mdm-server#setup

To run the cert setup run the image interactively like this:

docker run -it bruienne/mdm-server sh

Then once all openssl steps have been performed, commit the running container to a new image:

docker commit <name of container> <your-repo:tag>

Run the resulting fully configured image (on a publicly accessible IP):

docker run -d -p 0.0.0.0:8080:8080 <your-repo:tag>

Hit https://:8080/ - rejoice!

Dockerfile is as follows:

# Project IMAS - MDM Server

MAINTAINER Pepijn Bruienne [email protected]
FROM gliderlabs/alpine:3.1

COPY requirements.txt /

RUN apk add --update python python-dev libffi libffi-dev py-pip openssl openssl-dev build-base swig git perl

RUN pip install --allow-unverified cffi --allow-unverified ipaddress --allow-unverified enum34 --allow-unverified pyasn1 --allow-unverified idna -r requirements.txt

RUN pip install APNSWrapper --no-install --download /tmp && \
    pip install --allow-unverified docutils docutils && \
    cd /tmp && \
    tar zxf APNSWrapper*.tar.gz && \
    cd APNSWrapper*/ && \
    sed -i 's/SSLv3/TLSv1/g' APNSWrapper/connection.py && \
    python setup.py install

RUN git clone https://github.com/project-imas/mdm-server.git /mdm-server && \
    cd /mdm-server && \
    git submodule init && \
    git submodule update

WORKDIR /mdm-server/server

CMD ["python", "server.py"]

Tag summary

Content type

Image

Digest

sha256:e49d3d9bb

Size

-

Last updated

over 11 years ago

docker pull bruienne/mdm-server