Cubicon is an IoT Infrastructure designed to support the intelligent interaction of unattended machines over wide, local, and personal area networks. The IoT Infrastructure supports the declaration, packaging, networking, storage, processing, and identification of two new kinds of software called CubeApps and InterApps. CubeApps are graphically expressed and intrinsically secure. InterApps overcome the pervasive interoperability challenge by contextualizing all 'share data.' CubeApps are ideal for resource-constrained machines (things, motes, electronic control units (ECUs), and gadgets, which will proliferate across the emerging Internet of Things (IoT).